Documentation
¶
Index ¶
- Constants
- func GetImageKey(nodeImage *images.NodeImage) string
- func GetImageProvider(release string) (string, error)
- func GetNodeImage(imageName, providerName, releaseName string) *images.NodeImage
- func GetNodeImageFromRelease(release *releases.Release, flatcarChannel string) (*images.NodeImage, error)
- type Client
- func (i *Client) AddReleaseToNodeImageStatus(ctx context.Context, image string) error
- func (i *Client) CreateImage(ctx context.Context, image *images.NodeImage) error
- func (i *Client) DeleteImage(ctx context.Context, image string, retentionPeriod time.Duration) error
- func (i *Client) RemoveReleaseFromNodeImageStatus(ctx context.Context, image string) error
- type Config
Constants ¶
View Source
const (
LastUsedAnnotation = "image-distribution-operator.giantswarm.io/last-used"
)
Variables ¶
This section is empty.
Functions ¶
func GetImageKey ¶
func GetImageProvider ¶ added in v0.5.0
GetImageProvider extracts the provider name from a release name (e.g., "vsphere-1.2.3" -> "vsphere")
func GetNodeImage ¶
Types ¶
type Client ¶
Client holds the client and the namespace for node image objects
func (*Client) AddReleaseToNodeImageStatus ¶
func (*Client) CreateImage ¶
func (*Client) DeleteImage ¶
Click to show internal directories.
Click to hide internal directories.