manifests

package
v0.0.0-...-d945efd Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PullSecretName = "appliance-pull-secret" //nolint:gosec // not a secret despite the word

)

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentPullSecret

type AgentPullSecret struct {
	File   *asset.File
	Config *corev1.Secret
}

AgentPullSecret generates the pull-secret file used by the agent installer.

func (*AgentPullSecret) Dependencies

func (*AgentPullSecret) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*AgentPullSecret) Files

func (a *AgentPullSecret) Files() []*asset.File

Files returns the files generated by the asset.

func (*AgentPullSecret) Generate

func (a *AgentPullSecret) Generate(_ context.Context, dependencies asset.Parents) error

Generate generates the AgentPullSecret manifest.

func (*AgentPullSecret) Load

func (a *AgentPullSecret) Load(f asset.FileFetcher) (bool, error)

Load returns the asset from disk.

func (*AgentPullSecret) Name

func (*AgentPullSecret) Name() string

Name returns a human friendly name for the asset.

type ClusterImageSet

type ClusterImageSet struct {
	File   *asset.File
	Config *hivev1.ClusterImageSet
}

ClusterImageSet generates the cluster-image-set.yaml file.

func (*ClusterImageSet) Dependencies

func (*ClusterImageSet) Dependencies() []asset.Asset

Dependencies returns all the dependencies directly needed to generate the asset.

func (*ClusterImageSet) Generate

func (a *ClusterImageSet) Generate(_ context.Context, dependencies asset.Parents) error

Generate generates the ClusterImageSet manifest.

func (*ClusterImageSet) Name

func (*ClusterImageSet) Name() string

Name returns a human friendly name for the asset.

type InfraEnv

type InfraEnv struct {
	File   *asset.File
	Config *aiv1beta1.InfraEnv
}

InfraEnv generates the infraenv.yaml file.

func (*InfraEnv) Dependencies

func (*InfraEnv) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed to generate the asset.

func (*InfraEnv) Files

func (i *InfraEnv) Files() []*asset.File

Files returns the files generated by the asset.

func (*InfraEnv) Generate

func (i *InfraEnv) Generate(_ context.Context, dependencies asset.Parents) error

Generate generates the InfraEnv manifest.

func (*InfraEnv) Load

func (i *InfraEnv) Load(f asset.FileFetcher) (bool, error)

Load returns infraenv asset from the disk.

func (*InfraEnv) Name

func (*InfraEnv) Name() string

Name returns a human friendly name for the asset.

type UnconfiguredManifests

type UnconfiguredManifests struct {
	FileList []*asset.File
}

UnconfiguredManifests generates the required manifests for the unconfigured ignition.

func (*UnconfiguredManifests) Dependencies

func (m *UnconfiguredManifests) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed the asset.

func (*UnconfiguredManifests) Files

func (m *UnconfiguredManifests) Files() []*asset.File

Files returns the files generated by the asset.

func (*UnconfiguredManifests) Generate

func (m *UnconfiguredManifests) Generate(_ context.Context, dependencies asset.Parents) error

Generate generates the respective manifest files.

func (*UnconfiguredManifests) Load

Load currently does nothing

func (*UnconfiguredManifests) Name

func (m *UnconfiguredManifests) Name() string

Name returns a human friendly name.

Jump to

Keyboard shortcuts

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