Documentation ¶
Index ¶
- type Reference
- func (r Reference) GetContentTrustURL() (string, error)
- func (r Reference) GetDigest() string
- func (r Reference) GetHostname() string
- func (r Reference) GetPort() string
- func (r Reference) GetRegistryURL() string
- func (r Reference) GetTag() string
- func (r Reference) HasIBMRepo() bool
- func (r Reference) NameWithTag() string
- func (r Reference) NameWithoutTag() string
- func (r Reference) RepoName() string
- func (r Reference) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reference ¶
type Reference struct {
// contains filtered or unexported fields
}
Reference .
func NewReference ¶
NewReference parses the image name and returns an error if the name is invalid.
func (Reference) GetContentTrustURL ¶
GetContentTrustURL returns the Content Trust URL.
func (Reference) GetHostname ¶
GetHostname returns the repository hostname of an image
func (Reference) GetRegistryURL ¶
GetRegistryURL returns the Registry URL.
func (Reference) HasIBMRepo ¶
HasIBMRepo returns true if the image has an IBM repository, otherwise false.
func (Reference) NameWithTag ¶
NameWithTag returns the image name with the tag.
func (Reference) NameWithoutTag ¶
NameWithoutTag returns the image name without the tag.
Click to show internal directories.
Click to hide internal directories.