rhcos

package
v1.4.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 25 Imported by: 76

Documentation

Overview

Package rhcos contains assets for RHCOS.

Package rhcos contains assets for RHCOS.

Package rhcos contains assets for RHCOS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapImage

type BootstrapImage string

BootstrapImage is location of the RHCOS image for the Bootstrap node This stores the location of the image based on the platform. eg. on AWS this contains ami-id, on Livirt this can be the URI for QEMU image etc. Note that for most platforms this is the same as rhcos.Image

func (*BootstrapImage) Dependencies

func (i *BootstrapImage) Dependencies() []asset.Asset

Dependencies returns no dependencies.

func (*BootstrapImage) Generate

func (i *BootstrapImage) Generate(p asset.Parents) error

Generate the RHCOS Bootstrap image location.

func (*BootstrapImage) Name

func (i *BootstrapImage) Name() string

Name returns the human-friendly name of the asset.

type Image

type Image string

Image is location of RHCOS image. This stores the location of the image based on the platform. eg. on AWS this contains ami-id, on Livirt this can be the URI for QEMU image etc.

func (*Image) Dependencies

func (i *Image) Dependencies() []asset.Asset

Dependencies returns dependencies used by the RHCOS asset.

func (*Image) Generate

func (i *Image) Generate(p asset.Parents) error

Generate the RHCOS image location.

func (*Image) Name

func (i *Image) Name() string

Name returns the human-friendly name of the asset.

type Release

type Release string

Release is a string which denotes the rhcos release, eg: 412.86.202208101040-0. Currently we need this only for Azure to set the image version in the gallery. In the future we could extend to other platforms as necessary.

func (*Release) Dependencies

func (r *Release) Dependencies() []asset.Asset

Dependencies returns dependencies used by the RHCOS asset.

func (*Release) Generate

func (r *Release) Generate(p asset.Parents) error

Generate the Release string.

func (*Release) GetAzureReleaseVersion

func (r *Release) GetAzureReleaseVersion() string

GetAzureReleaseVersion - generates a modified string for Azure image gallery images. Image gallery image versions cannot have a "-" in the name and must be between 0-2147483647, so we have to truncate the hour and minutes of the date.

func (*Release) Name

func (r *Release) Name() string

Name returns the human-friendly name of the asset.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL