ibi

package
v0.0.0-...-d0642ff Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageClusterInstallBuilder

type ImageClusterInstallBuilder struct {
	Definition *ibiv1alpha1.ImageClusterInstall
	Object     *ibiv1alpha1.ImageClusterInstall
	// contains filtered or unexported fields
}

ImageClusterInstallBuilder provides struct for the imageclusterinstall object containing connection to the cluster and the imageclusterinstall definitions.

func NewImageClusterInstallBuilder

func NewImageClusterInstallBuilder(
	apiClient *clients.Settings, name, nsname, imageset string) *ImageClusterInstallBuilder

NewImageClusterInstallBuilder creates a new instance of ImageClusterInstallBuilder.

func PullImageClusterInstall

func PullImageClusterInstall(apiClient *clients.Settings, name, nsname string) (*ImageClusterInstallBuilder, error)

PullImageClusterInstall retrieves an existing imageclusterinstall from the cluster.

func (*ImageClusterInstallBuilder) Create

Create generates an imageclusterinstall on the cluster.

func (*ImageClusterInstallBuilder) Delete

func (builder *ImageClusterInstallBuilder) Delete() error

Delete removes an imageclusterinstall from the cluster.

func (*ImageClusterInstallBuilder) Exists

func (builder *ImageClusterInstallBuilder) Exists() bool

Exists checks if the defined imageclusterinstall has already been created.

func (*ImageClusterInstallBuilder) Get

Get fetches the defined imageclusterinstall from the cluster.

func (*ImageClusterInstallBuilder) GetCompletedCondition

func (builder *ImageClusterInstallBuilder) GetCompletedCondition() (*hivev1.ClusterInstallCondition, error)

GetCompletedCondition returns Completed condition from imageclusterinstall.

func (*ImageClusterInstallBuilder) GetFailedCondition

func (builder *ImageClusterInstallBuilder) GetFailedCondition() (*hivev1.ClusterInstallCondition, error)

GetFailedCondition returns Failed condition from imageclusterinstall.

func (*ImageClusterInstallBuilder) GetRequirementsMetCondition

func (builder *ImageClusterInstallBuilder) GetRequirementsMetCondition() (*hivev1.ClusterInstallCondition, error)

GetRequirementsMetCondition returns RequirementsMet condition from imageclusterinstall.

func (*ImageClusterInstallBuilder) GetStoppedCondition

func (builder *ImageClusterInstallBuilder) GetStoppedCondition() (*hivev1.ClusterInstallCondition, error)

GetStoppedCondition returns Stopped condition from imageclusterinstall.

func (*ImageClusterInstallBuilder) Update

Update modifies an existing imageclusterinstall on the cluster.

func (*ImageClusterInstallBuilder) WithCABundle

func (builder *ImageClusterInstallBuilder) WithCABundle(caBundleConfigMapName string) *ImageClusterInstallBuilder

WithCABundle sets a CA bundle via configmap name.

func (*ImageClusterInstallBuilder) WithClusterDeployment

func (builder *ImageClusterInstallBuilder) WithClusterDeployment(
	clusterDeploymentName string) *ImageClusterInstallBuilder

WithClusterDeployment links imageclusterinstall to an existing cluster deployment.

func (*ImageClusterInstallBuilder) WithExtraManifests

func (builder *ImageClusterInstallBuilder) WithExtraManifests(extraManifestsName string) *ImageClusterInstallBuilder

WithExtraManifests includes manifests via configmap name.

func (*ImageClusterInstallBuilder) WithHostname

func (builder *ImageClusterInstallBuilder) WithHostname(hostname string) *ImageClusterInstallBuilder

WithHostname sets hostname of installed node.

func (*ImageClusterInstallBuilder) WithMachineNetwork

func (builder *ImageClusterInstallBuilder) WithMachineNetwork(network string) *ImageClusterInstallBuilder

WithMachineNetwork specifies the machine network where nodes will be installed.

func (*ImageClusterInstallBuilder) WithSSHKey

func (builder *ImageClusterInstallBuilder) WithSSHKey(sshKey string) *ImageClusterInstallBuilder

WithSSHKey adds specified ssh key to authorized_keys of installed nodes.

Jump to

Keyboard shortcuts

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