Documentation
¶
Index ¶
- type Image
- func (i *Image) GetRegistry(url string) string
- func (i *Image) GetRepository(url string) string
- func (i *Image) GetRequiredPlatforms() []string
- func (i *Image) GetSource() string
- func (i *Image) GetSourceRegistry() string
- func (i *Image) GetSourceRepository() string
- func (i *Image) GetTags(options ...remote.Option) ([]string, error)
- func (i *Image) GetTargets() []string
- type Repository
- type RepositoryAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
Source string `json:"source" yaml:"source"`
Tags []string `json:"tags" yaml:"tags"`
Targets []string `json:"targets" yaml:"targets"`
RequiredPlatforms []string `json:"requiredPlatforms" yaml:"requiredPlatforms"`
MutableTags []string `json:"mutableTags" yaml:"mutableTags"`
Auths map[string]remote.Option `json:"-" yaml:"-"`
}
func (*Image) GetRegistry ¶
func (*Image) GetRepository ¶
func (*Image) GetRequiredPlatforms ¶
func (*Image) GetSourceRegistry ¶
func (*Image) GetSourceRepository ¶
func (*Image) GetTargets ¶
type Repository ¶
type Repository struct {
Name string `json:"name" yaml:"name"`
URL string `json:"url" yaml:"url"`
Auth RepositoryAuth `json:"auth" yaml:"auth"`
}
Click to show internal directories.
Click to hide internal directories.