MCPcopy Create free account
hub / github.com/conforma/cli / WithClient

Function WithClient

internal/utils/oci/client.go:88–90  ·  view source on GitHub ↗
(ctx context.Context, client Client)

Source from the content-addressed store, hash-verified

86}
87
88func WithClient(ctx context.Context, client Client) context.Context {
89 return context.WithValue(ctx, clientContextKey, client)
90}
91
92// NewClient constructs a new application_snapshot_image with the default client.
93func NewClient(ctx context.Context, opts ...remote.Option) Client {

Callers 15

WithTestImageConfigFunction · 0.92
Test_DetermineInputSpecFunction · 0.92
TestExpandImageIndexFunction · 0.92
TestOCIBlobFunction · 0.92
TestOCIParsedBlobFunction · 0.92
TestOCIBlobFilesFunction · 0.92
TestOCIDescriptorErrorsFunction · 0.92
TestOCIImageManifestFunction · 0.92

Calls

no outgoing calls

Tested by 15

Test_DetermineInputSpecFunction · 0.74
TestExpandImageIndexFunction · 0.74
TestOCIBlobFunction · 0.74
TestOCIParsedBlobFunction · 0.74
TestOCIBlobFilesFunction · 0.74
TestOCIDescriptorErrorsFunction · 0.74
TestOCIImageManifestFunction · 0.74
TestOCIImageFilesFunction · 0.74