Documentation
¶
Index ¶
- type Container
- type Image
- func (image *Image) CreateURL() string
- func (image *Image) GetURL() string
- func (image *Image) HubProjectName() string
- func (image *Image) HubScanName() string
- func (image *Image) HubVersionName() string
- func (image *Image) HumanReadableName() string
- func (image *Image) ShaName() string
- func (image *Image) TarFilePath() string
- func (image *Image) URLEncodedName() string
- type Pod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
func NewContainer ¶
type Image ¶
type Image struct {
// Name combines Host, User, and Project
// DockerImage is the kubernetes .Image string, which may or may not include the registry, user, tag, and sha
// DockerImage should probably only be used as a human-readable string, not for storing or organizing
// data, because it is so nebulous and ambiguous.
Name string
Sha string
DockerImage string
}
func (*Image) CreateURL ¶
CreateURL returns the URL used for hitting the docker daemon's create endpoint
func (*Image) HubProjectName ¶
func (*Image) HubScanName ¶
HubScanName has to be unique; otherwise, multiple code locations could be mapped to the same scan, which would be confusing
func (*Image) HubVersionName ¶
func (*Image) HumanReadableName ¶
Name returns a nice, easy to read string
func (*Image) TarFilePath ¶
func (*Image) URLEncodedName ¶
Click to show internal directories.
Click to hide internal directories.