MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / CASClientUseCase

Struct CASClientUseCase

app/controlplane/pkg/biz/casclient.go:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36var casClientTracer = otelx.Tracer("chainloop-controlplane", "biz/casclient")
37
38type CASClientUseCase struct {
39 // to generate temporary credentials
40 credsProvider *CASCredentialsUseCase
41 // configuration to generate the client
42 casServerConf *conf.Bootstrap_CASServer
43 // factory to generate the client
44 casClientFactory CASClientFactory
45 logger *log.Helper
46}
47
48type CASUploader interface {
49 Upload(ctx context.Context, backendType, secretID string, orgID uuid.UUID, content io.Reader, filename, digest string) error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected