Documentation ¶
Index ¶
- Variables
- type DockerClient
- func (d *DockerClient) Connect() error
- func (d *DockerClient) GetAuthToken() (string, error)
- func (d *DockerClient) GetManifestV2(imageIdentifiers *ImageIdentifiers) (*schema2.DeserializedManifest, error)
- func (d *DockerClient) GetPassword() string
- func (d *DockerClient) GetRegistry() string
- func (d *DockerClient) GetUsername() string
- type ImageIdentifiers
Constants ¶
This section is empty.
Variables ¶
View Source
var RegexpDoubleSlash = regexp.MustCompile("/{2,}")
View Source
var RegexpProtocol = regexp.MustCompile("^(http[s]?://)")
Functions ¶
This section is empty.
Types ¶
type DockerClient ¶
type DockerClient struct {
// contains filtered or unexported fields
}
func (*DockerClient) Connect ¶
func (d *DockerClient) Connect() error
func (*DockerClient) GetAuthToken ¶
func (d *DockerClient) GetAuthToken() (string, error)
func (*DockerClient) GetManifestV2 ¶
func (d *DockerClient) GetManifestV2(imageIdentifiers *ImageIdentifiers) (*schema2.DeserializedManifest, error)
func (*DockerClient) GetPassword ¶
func (d *DockerClient) GetPassword() string
func (*DockerClient) GetRegistry ¶
func (d *DockerClient) GetRegistry() string
func (*DockerClient) GetUsername ¶
func (d *DockerClient) GetUsername() string
type ImageIdentifiers ¶
func ParseImageIdentifiers ¶
func ParseImageIdentifiers(dockerImagePath string, registryDomain string) (*ImageIdentifiers, error)
Click to show internal directories.
Click to hide internal directories.