Documentation ¶
Index ¶
- type ImageInfo
- func (info ImageInfo) AgentVersion() version.Number
- func (info ImageInfo) MarshalJSON() ([]byte, error)
- func (info ImageInfo) MarshalYAML() (interface{}, error)
- func (info ImageInfo) String() string
- func (info *ImageInfo) UnmarshalJSON(data []byte) (err error)
- func (info *ImageInfo) UnmarshalYAML(unmarshal func(interface{}) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageInfo ¶
type ImageInfo struct {
// contains filtered or unexported fields
}
ImageInfo defines image versions information.
func NewImageInfo ¶
func NewImageInfo(ver version.Number) ImageInfo
NewImageInfo creates an imageInfo.
func (ImageInfo) AgentVersion ¶
func (info ImageInfo) AgentVersion() version.Number
AgentVersion returns the image version.
func (ImageInfo) MarshalJSON ¶
MarshalJSON implements json.Marshaler.
func (ImageInfo) MarshalYAML ¶
MarshalYAML implements yaml.v2.Marshaller interface.
func (*ImageInfo) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
func (*ImageInfo) UnmarshalYAML ¶
UnmarshalYAML implements the yaml.Unmarshaller interface.
Click to show internal directories.
Click to hide internal directories.