cli/registry/client: remove unused PutManifestOptions
This type was added in 02719bdbb5fb47389e47575bb006509da86df344, but was never used; git rev-parse --verify HEAD 02719bdbb5fb47389e47575bb006509da86df344 git grep 'PutManifestOptions' cli/registry/client/client.go:// PutManifestOptions is the data sent to push a manifest cli/registry/client/client.go:type PutManifestOptions struct { This patch removes it, because it's not used. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
43a2fcf5d7
commit
293bbb44a0
@ -37,12 +37,6 @@ func NewRegistryClient(resolver AuthConfigResolver, userAgent string, insecure b
|
||||
// AuthConfigResolver returns Auth Configuration for an index
|
||||
type AuthConfigResolver func(ctx context.Context, index *registrytypes.IndexInfo) registrytypes.AuthConfig
|
||||
|
||||
// PutManifestOptions is the data sent to push a manifest
|
||||
type PutManifestOptions struct {
|
||||
MediaType string
|
||||
Payload []byte
|
||||
}
|
||||
|
||||
type client struct {
|
||||
authConfigResolver AuthConfigResolver
|
||||
insecureRegistry bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user