Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogResult ¶
type CatalogResult struct { Repositories []string `json:"repositories"` Details []*ImageTagResult `json:"details"` }
type Client ¶
type Client interface { Ping(ctx context.Context) error ListImages(ctx context.Context, input *api.ContainerRegistryListImagesInput) (jsonutils.JSONObject, error) ListImageTags(ctx context.Context, image string) (jsonutils.JSONObject, error) AnalysisImageTarMetadata(tarPath string) (*ImageMetadata, error) PushImage(ctx context.Context, input *ImageMetadata, tarPath string) error }
type DockerAuthConfig ¶
type DockerAuthConfig struct { Username string Password string // IdentityToken can be used as a refresh_token in place of username and // password to obtain the bearer/access token in oauth2 flow. If identity // token is set, password should not be set. // Ref: https://docs.docker.com/registry/spec/auth/oauth/ IdentityToken string }
DockerAuthConfig contains authorization information for connecting to a registry. the value of Username and Password can be empty for accessing the registry anonymously
type ImageMetadata ¶
type ImageTagResult ¶
Click to show internal directories.
Click to hide internal directories.