cli/registry/client: remove unused PutManifestOptions
This type was added in02719bdbb5, but was never used; git rev-parse --verify HEAD02719bdbb5git 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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user