Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for airshipctl +kubebuilder:object:generate=true +groupName=airshipit.org
Package v1alpha1 generates the custom resource definition schema for NetworkCatalogues Ignore lint for the entire file is added because there is a long regex to support IPV4 and IPV6 format. This regex cannot be broken down. When nolint is added for the specific line it gets picked as description for that field by kubebuilder controller-gen.
Index ¶
- Constants
- Variables
- type ActionType
- type AirshipContainerSpec
- type AirshipctlFunctionFileMap
- type AirshipctlFunctionImageComponentMap
- type AirshipctlFunctionImageRepoMap
- type ApplyConfig
- type ApplyPruneOptions
- type ApplyWaitOptions
- type BaremetalHostSelector
- type BaremetalManager
- type BaremetalManagerSpec
- type BaremetalOperation
- type BaremetalOperationOptions
- type BootConfiguration
- type BootstrapContainer
- type CAPIImageProperties
- type CAPIImageSpec
- type ChartProperties
- type ChartSourceRef
- type ChartSpec
- type Cluster
- type ClusterMap
- type Clusterctl
- type ClusterctlOptions
- type Condition
- type EndPointSpec
- type EphemeralCluster
- type FileProperties
- type FileSpec
- type GenericContainer
- type GenericContainerSpec
- type GenericContainerType
- type GetKubeconfigOptions
- type Gvk
- type Host
- type HostNetworkingSpec
- type IPFormat
- type ImageComponentSpec
- type ImageMeta
- type ImageRepositorySpec
- type ImageSpec
- type ImageURL
- type ImageURLSpec
- type InitOptions
- type InventorySpec
- type IronicSpec
- type IsoConfiguration
- type IsoContainer
- type Isogen
- type KRMContainerSpec
- type KubeConfig
- type KubeconfigSource
- type KubeconfigSourceBundle
- type KubeconfigSourceClusterAPI
- type KubeconfigSourceFilesystem
- type KubeconfigSourceType
- type KubernetesApply
- type KubernetesResourceMap
- type KubernetesSpec
- type Link
- type ManifestMetadata
- type MoveOptions
- type NamespacedName
- type Network
- type NetworkCatalogue
- type NetworkCatalogueSpec
- type NetworkCatalogues
- type NtpSpec
- type Phase
- type PhaseConfig
- type PhasePlan
- type PhaseSpec
- type PhaseStep
- type Provider
- type RemoteDirectOptions
- type ReplSource
- type ReplTarget
- type Replacement
- type ReplacementTransformer
- type RepoProperties
- type RepositorySpec
- type ResID
- type Route
- type Selector
- type Service
- type StorageMount
- type Target
- type Templater
- type ValidationConfig
- type VersionsCatalogue
- type VersionsCatalogueSpec
- type VersionsCatalogues
Constants ¶
const ( // CoreProviderType is a type reserved for Cluster API core repository. CoreProviderType = "CoreProvider" // BootstrapProviderType is the type associated with codebases that provide // bootstrapping capabilities. BootstrapProviderType = "BootstrapProvider" // InfrastructureProviderType is the type associated with codebases that provide // infrastructure capabilities. InfrastructureProviderType = "InfrastructureProvider" // ControlPlaneProviderType is the type associated with codebases that provide // control-plane capabilities. ControlPlaneProviderType = "ControlPlaneProvider" )
const ( // GenericContainerAirshipDockerDriver is the driver name supported by airship container interface // we dont use strong type here for now, to avoid converting to string in the implementation GenericContainerAirshipDockerDriver = "docker" // GenericContainerTypeAirship specifies that airship type container will be used GenericContainerTypeAirship GenericContainerType = "airship" // GenericContainerTypeKrm specifies that kustomize krm function will be used GenericContainerTypeKrm GenericContainerType = "krm" // KubeConfigEnvKey uses as a key for kubeconfig env variable KubeConfigEnvKey = "KUBECONFIG" // KubeConfigPath is a path for mounted kubeconfig inside container KubeConfigPath = "/kubeconfig" // KubeConfigEnvKeyContext uses as a key for kubectl context env variable KubeConfigEnvKeyContext = "KCTL_CONTEXT" // KubeConfigEnv uses as a kubeconfig env variable KubeConfigEnv = KubeConfigEnvKey + "=" + KubeConfigPath // ValidatorPreventCleanup is an env variable that prevents validator to clean up its working directory after finish ValidatorPreventCleanup = "VALIDATOR_PREVENT_CLEANUP" )
Variables ¶
var ( // GroupVersion is group version used to register objects GroupVersion = schema.GroupVersion{Group: "airshipit.org", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme // Scheme contains mappings from Gvk to Go API Scheme *runtime.Scheme )
Functions ¶
This section is empty.
Types ¶
type ActionType ¶
type ActionType string
ActionType for clusterctl
const ( Init ActionType = "init" Move ActionType = "move" )
List of possible clusterctl actions
type AirshipContainerSpec ¶
type AirshipContainerSpec struct { // ContainerRuntime currently supported and default runtime is "docker" ContainerRuntime string `json:"containerRuntime,omitempty"` // Cmd to run inside the container, `["/my-command", "arg"]` Cmd []string `json:"cmd,omitempty"` // Privileged identifies if the container is to be run in a Privileged mode Privileged bool `json:"privileged,omitempty"` }
AirshipContainerSpec airship container settings
func (*AirshipContainerSpec) DeepCopy ¶
func (in *AirshipContainerSpec) DeepCopy() *AirshipContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipContainerSpec.
func (*AirshipContainerSpec) DeepCopyInto ¶
func (in *AirshipContainerSpec) DeepCopyInto(out *AirshipContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AirshipctlFunctionFileMap ¶
type AirshipctlFunctionFileMap map[string]FileProperties
AirshipctlFunctionFileMap The name of each key defined at this level should identify a single file. Each file object is required to have a "url" property defined, and may also define a "checksum" property.
func (AirshipctlFunctionFileMap) DeepCopy ¶
func (in AirshipctlFunctionFileMap) DeepCopy() AirshipctlFunctionFileMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipctlFunctionFileMap.
func (AirshipctlFunctionFileMap) DeepCopyInto ¶
func (in AirshipctlFunctionFileMap) DeepCopyInto(out *AirshipctlFunctionFileMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AirshipctlFunctionImageComponentMap ¶
type AirshipctlFunctionImageComponentMap map[string]ImageRepositorySpec
AirshipctlFunctionImageComponentMap The name of each key defined at this level should identify a single image. Each image object must have a "repository" property, and must have a property named "tag", "hash", "sha", or "digest".
func (AirshipctlFunctionImageComponentMap) DeepCopy ¶
func (in AirshipctlFunctionImageComponentMap) DeepCopy() AirshipctlFunctionImageComponentMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipctlFunctionImageComponentMap.
func (AirshipctlFunctionImageComponentMap) DeepCopyInto ¶
func (in AirshipctlFunctionImageComponentMap) DeepCopyInto(out *AirshipctlFunctionImageComponentMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AirshipctlFunctionImageRepoMap ¶
type AirshipctlFunctionImageRepoMap map[string]KubernetesResourceMap
AirshipctlFunctionImageRepoMap The name of each key defined here should refer to the Kubernetes resource document into which an image will be substituted, such as a Deployment or DaemonSet.
func (AirshipctlFunctionImageRepoMap) DeepCopy ¶
func (in AirshipctlFunctionImageRepoMap) DeepCopy() AirshipctlFunctionImageRepoMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipctlFunctionImageRepoMap.
func (AirshipctlFunctionImageRepoMap) DeepCopyInto ¶
func (in AirshipctlFunctionImageRepoMap) DeepCopyInto(out *AirshipctlFunctionImageRepoMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplyConfig ¶
type ApplyConfig struct { WaitOptions ApplyWaitOptions `json:"waitOptions,omitempty"` PruneOptions ApplyPruneOptions `json:"pruneOptions,omitempty"` Kubeconfig string `json:"kubeconfig,omitempty"` Context string `json:"context,omitempty"` DryRun bool `json:"druRun,omitempty"` Debug bool `json:"debug,omitempty"` PhaseName string `json:"phaseName,omitempty"` // InventoryPolicy defines if an inventory object can take over objects that belong to another // inventory object or don't belong to any inventory object. Possible values are: // "strict", "adopt" or "force-adopt" InventoryPolicy string `json:"inventoryPolicy,omitempty"` }
ApplyConfig provides instructions on how to apply resources to kubernetes cluster
func (*ApplyConfig) DeepCopy ¶
func (in *ApplyConfig) DeepCopy() *ApplyConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyConfig.
func (*ApplyConfig) DeepCopyInto ¶
func (in *ApplyConfig) DeepCopyInto(out *ApplyConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplyPruneOptions ¶
type ApplyPruneOptions struct {
Prune bool `json:"prune,omitempty"`
}
ApplyPruneOptions provides instructions how to prune for kubernetes resources
func (*ApplyPruneOptions) DeepCopy ¶
func (in *ApplyPruneOptions) DeepCopy() *ApplyPruneOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyPruneOptions.
func (*ApplyPruneOptions) DeepCopyInto ¶
func (in *ApplyPruneOptions) DeepCopyInto(out *ApplyPruneOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplyWaitOptions ¶
type ApplyWaitOptions struct { // Timeout in seconds Timeout int `json:"timeout,omitempty"` // PollInterval in seconds PollInterval int `json:"pollInterval,omitempty"` Conditions []Condition `json:"conditions,omitempty"` }
ApplyWaitOptions provides instructions how to wait for kubernetes resources
func (*ApplyWaitOptions) DeepCopy ¶
func (in *ApplyWaitOptions) DeepCopy() *ApplyWaitOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyWaitOptions.
func (*ApplyWaitOptions) DeepCopyInto ¶
func (in *ApplyWaitOptions) DeepCopyInto(out *ApplyWaitOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaremetalHostSelector ¶
type BaremetalHostSelector struct { LabelSelector string `json:"labelSelector"` Name string `json:"name"` Namespace string `json:"namespace"` }
BaremetalHostSelector allows to select a host by label selector, by name and namespace
func (*BaremetalHostSelector) DeepCopy ¶
func (in *BaremetalHostSelector) DeepCopy() *BaremetalHostSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaremetalHostSelector.
func (*BaremetalHostSelector) DeepCopyInto ¶
func (in *BaremetalHostSelector) DeepCopyInto(out *BaremetalHostSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaremetalManager ¶
type BaremetalManager struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BaremetalManagerSpec `json:"spec"` }
BaremetalManager allows execution of control operations against baremetal hosts
func DefaultBaremetalManager ¶
func DefaultBaremetalManager() *BaremetalManager
DefaultBaremetalManager returns BaremetalManager executor document with default values
func (*BaremetalManager) DeepCopy ¶
func (in *BaremetalManager) DeepCopy() *BaremetalManager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaremetalManager.
func (*BaremetalManager) DeepCopyInto ¶
func (in *BaremetalManager) DeepCopyInto(out *BaremetalManager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BaremetalManager) DeepCopyObject ¶
func (in *BaremetalManager) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BaremetalManagerSpec ¶
type BaremetalManagerSpec struct { Operation BaremetalOperation `json:"operation"` HostSelector BaremetalHostSelector `json:"hostSelector"` OperationOptions BaremetalOperationOptions `json:"operationOptions"` // Timeout in seconds Timeout int `json:"timeout"` }
BaremetalManagerSpec holds configuration for baremetal manager
func (*BaremetalManagerSpec) DeepCopy ¶
func (in *BaremetalManagerSpec) DeepCopy() *BaremetalManagerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaremetalManagerSpec.
func (*BaremetalManagerSpec) DeepCopyInto ¶
func (in *BaremetalManagerSpec) DeepCopyInto(out *BaremetalManagerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaremetalOperation ¶
type BaremetalOperation string
BaremetalOperation defines an operation to be performed against baremetal host
const ( // BaremetalOperationReboot reboot BaremetalOperationReboot BaremetalOperation = "reboot" // BaremetalOperationPowerOff power off BaremetalOperationPowerOff BaremetalOperation = "power-off" // BaremetalOperationPowerOn power on BaremetalOperationPowerOn BaremetalOperation = "power-on" // BaremetalOperationRemoteDirect boot iso with given url BaremetalOperationRemoteDirect BaremetalOperation = "remote-direct" // BaremetalOperationEjectVirtualMedia eject virtual media BaremetalOperationEjectVirtualMedia BaremetalOperation = "eject-virtual-media" )
type BaremetalOperationOptions ¶
type BaremetalOperationOptions struct {
RemoteDirect RemoteDirectOptions `json:"remoteDirect"`
}
BaremetalOperationOptions hold operation options
func (*BaremetalOperationOptions) DeepCopy ¶
func (in *BaremetalOperationOptions) DeepCopy() *BaremetalOperationOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaremetalOperationOptions.
func (*BaremetalOperationOptions) DeepCopyInto ¶
func (in *BaremetalOperationOptions) DeepCopyInto(out *BaremetalOperationOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootConfiguration ¶
type BootConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` BootstrapContainer BootstrapContainer `json:"bootstrapContainer"` EphemeralCluster EphemeralCluster `json:"ephemeralCluster"` }
BootConfiguration structure is inherited from apimachinery TypeMeta and ObjectMeta and is a top level configuration structure for the bootstrap container
func DefaultBootConfiguration ¶
func DefaultBootConfiguration() *BootConfiguration
DefaultBootConfiguration can be used to safely unmarshal BootConfiguration object without nil pointers
func (*BootConfiguration) DeepCopy ¶
func (in *BootConfiguration) DeepCopy() *BootConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootConfiguration.
func (*BootConfiguration) DeepCopyInto ¶
func (in *BootConfiguration) DeepCopyInto(out *BootConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BootConfiguration) DeepCopyObject ¶
func (in *BootConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BootstrapContainer ¶
type BootstrapContainer struct { ContainerRuntime string `json:"containerRuntime,omitempty"` Image string `json:"image,omitempty"` Volume string `json:"volume,omitempty"` Kubeconfig string `json:"saveKubeconfigFileName,omitempty"` }
BootstrapContainer structure contains the data for the bootstrap container
func (*BootstrapContainer) DeepCopy ¶
func (in *BootstrapContainer) DeepCopy() *BootstrapContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapContainer.
func (*BootstrapContainer) DeepCopyInto ¶
func (in *BootstrapContainer) DeepCopyInto(out *BootstrapContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPIImageProperties ¶
type CAPIImageProperties struct { Manager ImageURLSpec `json:"manager"` AuthProxy ImageURLSpec `json:"auth_proxy,omitempty"` IPAMManager ImageURLSpec `json:"ipam-manager,omitempty"` }
CAPIImageProperties defines the spec for CAPI images
func (*CAPIImageProperties) DeepCopy ¶
func (in *CAPIImageProperties) DeepCopy() *CAPIImageProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPIImageProperties.
func (*CAPIImageProperties) DeepCopyInto ¶
func (in *CAPIImageProperties) DeepCopyInto(out *CAPIImageProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPIImageSpec ¶
type CAPIImageSpec map[string]CAPIImageProperties
CAPIImageSpec defines the additional properties for CAPI Images
func (CAPIImageSpec) DeepCopy ¶
func (in CAPIImageSpec) DeepCopy() CAPIImageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPIImageSpec.
func (CAPIImageSpec) DeepCopyInto ¶
func (in CAPIImageSpec) DeepCopyInto(out *CAPIImageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartProperties ¶
type ChartProperties struct { Chart string `json:"chart"` Version string `json:"version"` SourceRef ChartSourceRef `json:"sourceRef,omitempty"` }
ChartProperties defines the properties of the chart like Chart and version
func (*ChartProperties) DeepCopy ¶
func (in *ChartProperties) DeepCopy() *ChartProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartProperties.
func (*ChartProperties) DeepCopyInto ¶
func (in *ChartProperties) DeepCopyInto(out *ChartProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartSourceRef ¶
ChartSourceRef defines the properties of the Chart SourceRef like Kind and Name
func (*ChartSourceRef) DeepCopy ¶
func (in *ChartSourceRef) DeepCopy() *ChartSourceRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartSourceRef.
func (*ChartSourceRef) DeepCopyInto ¶
func (in *ChartSourceRef) DeepCopyInto(out *ChartSourceRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartSpec ¶
type ChartSpec map[string]ChartProperties
ChartSpec defines the spec for charts
func (ChartSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartSpec.
func (ChartSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cluster ¶
type Cluster struct { // Parent is a key in ClusterMap.Map that identifies the name of the parent(management) cluster Parent string `json:"parent,omitempty"` // KubeconfigContext is the context in kubeconfig, default is equals to clusterMap key Sources []KubeconfigSource `json:"kubeconfigSources"` }
Cluster uniquely identifies a cluster and its parent cluster
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterMap ¶
type ClusterMap struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Keys in this map MUST correspond to context names in kubeconfigs provided Map map[string]*Cluster `json:"map,omitempty"` }
ClusterMap represents cluster defined for this manifest
func DefaultClusterMap ¶
func DefaultClusterMap() *ClusterMap
DefaultClusterMap can be used to safely unmarshal ClusterMap object without nil pointers
func (*ClusterMap) DeepCopy ¶
func (in *ClusterMap) DeepCopy() *ClusterMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMap.
func (*ClusterMap) DeepCopyInto ¶
func (in *ClusterMap) DeepCopyInto(out *ClusterMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterMap) DeepCopyObject ¶
func (in *ClusterMap) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Clusterctl ¶
type Clusterctl struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Providers []*Provider `json:"providers,omitempty"` Action ActionType `json:"action,omitempty"` InitOptions *InitOptions `json:"init-options,omitempty"` MoveOptions *MoveOptions `json:"move-options,omitempty"` // AdditionalComponentVariables are variables that will be available to clusterctl // when reading provider components AdditionalComponentVariables map[string]string `json:"additional-vars,omitempty"` ImageMetas map[string]ImageMeta `json:"images,omitempty"` }
Clusterctl provides information about clusterctl components
func DefaultClusterctl ¶
func DefaultClusterctl() *Clusterctl
DefaultClusterctl can be used to safely unmarshal Clusterctl object without nil pointers
func (*Clusterctl) DeepCopy ¶
func (in *Clusterctl) DeepCopy() *Clusterctl
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Clusterctl.
func (*Clusterctl) DeepCopyInto ¶
func (in *Clusterctl) DeepCopyInto(out *Clusterctl)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Clusterctl) DeepCopyObject ¶
func (in *Clusterctl) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterctlOptions ¶
type ClusterctlOptions struct { CmdOptions []string `json:"cmd-options,omitempty"` Config []byte `json:"config,omitempty"` Components map[string]string `json:"components,omitempty"` }
ClusterctlOptions holds all necessary data to run clusterctl inside of KRM
func (*ClusterctlOptions) DeepCopy ¶
func (in *ClusterctlOptions) DeepCopy() *ClusterctlOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterctlOptions.
func (*ClusterctlOptions) DeepCopyInto ¶
func (in *ClusterctlOptions) DeepCopyInto(out *ClusterctlOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { metav1.TypeMeta `json:",inline"` JSONPath string `json:"jsonPath,omitempty"` // Value is desired state to wait for, if no value specified - just existence of provided jsonPath will be checked Value string `json:"value,omitempty"` }
Condition is a jsonpath for particular TypeMeta which indicates what state to wait
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndPointSpec ¶
type EndPointSpec struct { Host IPFormat `json:"host,omitempty"` // +kubebuilder:validation:Maximum=65535 Port int `json:"port,omitempty"` }
EndPointSpec defines the properties of end points like IP and port
func (*EndPointSpec) DeepCopy ¶
func (in *EndPointSpec) DeepCopy() *EndPointSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndPointSpec.
func (*EndPointSpec) DeepCopyInto ¶
func (in *EndPointSpec) DeepCopyInto(out *EndPointSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EphemeralCluster ¶
type EphemeralCluster struct { BootstrapCommand string `json:"bootstrapCommand,omitempty"` ConfigFilename string `json:"configFilename,omitempty"` }
EphemeralCluster structure contains the data for the ephemeral cluster
func (*EphemeralCluster) DeepCopy ¶
func (in *EphemeralCluster) DeepCopy() *EphemeralCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralCluster.
func (*EphemeralCluster) DeepCopyInto ¶
func (in *EphemeralCluster) DeepCopyInto(out *EphemeralCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileProperties ¶
FileProperties The name of each key defined at this level should identify a single file. Each file object is required to have a "url" property defined, and may also define a "checksum" property.
func (*FileProperties) DeepCopy ¶
func (in *FileProperties) DeepCopy() *FileProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileProperties.
func (*FileProperties) DeepCopyInto ¶
func (in *FileProperties) DeepCopyInto(out *FileProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileSpec ¶
type FileSpec map[string]AirshipctlFunctionFileMap
FileSpec The name of each key defined here should refer to the airshipctl function in which the file will be used.
func (FileSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSpec.
func (FileSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericContainer ¶
type GenericContainer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Holds container configuration Spec GenericContainerSpec `json:"spec,omitempty"` // Config will be passed to stdin of the container together with other objects // more information on easy ways to consume the config can be found here // https://googlecontainertools.github.io/kpt/guides/producer/functions/golang/ Config string `json:"config,omitempty"` // Reference is a reference to a configuration object, that must reside in the same // bundle as this GenericContainer object, if specified, Config string will be // ignored and referenced object in ConfigRef will be used into the Config string // instead and passed further into the container stdin ConfigRef *v1.ObjectReference `json:"configRef,omitempty"` }
GenericContainer provides info about generic container
func DefaultGenericContainer ¶
func DefaultGenericContainer() *GenericContainer
DefaultGenericContainer can be used to safely unmarshal GenericContainer object without nil pointers
func (*GenericContainer) DeepCopy ¶
func (in *GenericContainer) DeepCopy() *GenericContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericContainer.
func (*GenericContainer) DeepCopyInto ¶
func (in *GenericContainer) DeepCopyInto(out *GenericContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GenericContainer) DeepCopyObject ¶
func (in *GenericContainer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GenericContainerSpec ¶
type GenericContainerSpec struct { // Supported types are "airship" and "krm" Type GenericContainerType `json:"type,omitempty"` // Airship container spec Airship AirshipContainerSpec `json:"airship,omitempty"` // KRM container function spec KRM KRMContainerSpec `json:"krm,omitempty"` // Executor will write output using kustomize sink if this parameter is specified. // Else it will write output to STDOUT. // This path relative to current site root. SinkOutputDir string `json:"sinkOutputDir,omitempty"` // HostNetwork defines network specific configuration HostNetwork bool `json:"hostNetwork,omitempty" yaml:"network,omitempty"` // Image is the container image to run Image string `json:"image,omitempty" yaml:"image,omitempty"` // EnvVars is a slice of env string that will be exposed to container // ["MY_VAR=my-value, "MY_VAR1=my-value1"] // if passed in format ["MY_ENV"] this env variable will be exported the container EnvVars []string `json:"envVars,omitempty"` // Mounts are the storage or directories to mount into the container StorageMounts []StorageMount `json:"mounts,omitempty" yaml:"mounts,omitempty"` // Timeout is the maximum amount of time (in seconds) for container execution // if not specified (0) no timeout will be set and container could run indefinitely Timeout uint64 `json:"timeout,omitempty"` }
GenericContainerSpec container configuration
func (*GenericContainerSpec) DeepCopy ¶
func (in *GenericContainerSpec) DeepCopy() *GenericContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericContainerSpec.
func (*GenericContainerSpec) DeepCopyInto ¶
func (in *GenericContainerSpec) DeepCopyInto(out *GenericContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericContainerType ¶
type GenericContainerType string
GenericContainerType specify type of the container, there are currently two types: airship - airship will run the container krm - kustomize krm function will run the container
type GetKubeconfigOptions ¶
type GetKubeconfigOptions struct { // Timeout is the maximum length of time to retrieve kubeconfig Timeout string // Namespace is the namespace in which secret is placed. ManagedClusterNamespace string // ManagedClusterName is the name of the managed cluster. ManagedClusterName string }
GetKubeconfigOptions carries all the options to retrieve kubeconfig from parent cluster
func (*GetKubeconfigOptions) DeepCopy ¶
func (in *GetKubeconfigOptions) DeepCopy() *GetKubeconfigOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetKubeconfigOptions.
func (*GetKubeconfigOptions) DeepCopyInto ¶
func (in *GetKubeconfigOptions) DeepCopyInto(out *GetKubeconfigOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Gvk ¶
type Gvk struct { Group string `json:"group,omitempty" yaml:"group,omitempty"` Version string `json:"version,omitempty" yaml:"version,omitempty"` Kind string `json:"kind,omitempty" yaml:"kind,omitempty"` }
Gvk identifies a Kubernetes API type. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
func (*Gvk) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gvk.
func (*Gvk) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Host ¶
type Host struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` NodeName string `json:"nodename"` NodeID string `json:"nodeid"` }
Host object to represent baremetal host
func DefaultHost ¶
func DefaultHost() *Host
DefaultHost can be used to safely unmarshal phase object without nil pointers
func (*Host) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Host.
func (*Host) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Host) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HostNetworkingSpec ¶
type HostNetworkingSpec struct { Links []Link `json:"links,omitempty"` Networks []Network `json:"networks,omitempty"` Services []Service `json:"services,omitempty"` }
HostNetworkingSpec defines the properties for host neworking like Links, Networks and Services
func (*HostNetworkingSpec) DeepCopy ¶
func (in *HostNetworkingSpec) DeepCopy() *HostNetworkingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostNetworkingSpec.
func (*HostNetworkingSpec) DeepCopyInto ¶
func (in *HostNetworkingSpec) DeepCopyInto(out *HostNetworkingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPFormat ¶
type IPFormat string
IPFormat Regex to support both IPV4 and IPV6 format +kubebuilder:validation:Pattern="((^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))$)|(^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$))"
type ImageComponentSpec ¶
type ImageComponentSpec map[string]AirshipctlFunctionImageComponentMap
ImageComponentSpec The name of each key defined at this level should refer to the airshipctl function to which a collection of images belongs, such as "baremetal-operator".
func (ImageComponentSpec) DeepCopy ¶
func (in ImageComponentSpec) DeepCopy() ImageComponentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageComponentSpec.
func (ImageComponentSpec) DeepCopyInto ¶
func (in ImageComponentSpec) DeepCopyInto(out *ImageComponentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageMeta ¶
type ImageMeta struct { Repository string `json:"repository,omitempty"` Tag string `json:"tag,omitempty"` }
ImageMeta is part of clusterctl config
func (*ImageMeta) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMeta.
func (*ImageMeta) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageRepositorySpec ¶
type ImageRepositorySpec struct { Repository string `json:"repository"` Hash string `json:"hash,omitempty"` Tag string `json:"tag,omitempty"` SHA string `json:"sha,omitempty"` Digest string `json:"digest,omitempty"` // Name is an optional property that is used to specify the name of // an image. Typically, this format is only needed for charts such as dex-aio, // which uses "repo", "name", and "tag" properties to declare images, rather // than the more commonly used "repository" and "tag". In such cases, "repository" // should contain only the name of the repository (e.g. "quay.io") and the "name" // property should contain the image name (e.g. "metal3-io/ironic"). Name string `json:"name,omitempty"` }
ImageRepositorySpec defines the spec for a repository that includes repository URL, Name and one of Hash/Tag/SHA/Digest.
func (*ImageRepositorySpec) DeepCopy ¶
func (in *ImageRepositorySpec) DeepCopy() *ImageRepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageRepositorySpec.
func (*ImageRepositorySpec) DeepCopyInto ¶
func (in *ImageRepositorySpec) DeepCopyInto(out *ImageRepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶
type ImageSpec map[string]AirshipctlFunctionImageRepoMap
ImageSpec The name of each key defined here should refer to the airshipctl function to which the collection of images belongs, such as "baremetal-operator".
func (ImageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (ImageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageURL ¶
type ImageURL struct {
Image string `json:"image"`
}
ImageURL defines the URL for an image
func (*ImageURL) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageURL.
func (*ImageURL) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageURLSpec ¶
ImageURLSpec defines the properties of Image URL like repository and tag
func (*ImageURLSpec) DeepCopy ¶
func (in *ImageURLSpec) DeepCopy() *ImageURLSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageURLSpec.
func (*ImageURLSpec) DeepCopyInto ¶
func (in *ImageURLSpec) DeepCopyInto(out *ImageURLSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitOptions ¶
type InitOptions struct { // CoreProvider version (e.g. cluster-api:v0.3.0) to add to the management cluster. If unspecified, the // cluster-api core provider's latest release is used. CoreProvider string `json:"core-provider,omitempty"` // BootstrapProviders and versions (comma separated, e.g. kubeadm:v0.3.0) to add to the management cluster. // If unspecified, the kubeadm bootstrap provider's latest release is used. BootstrapProviders string `json:"bootstrap-providers,omitempty"` // InfrastructureProviders and versions (comma separated, e.g. aws:v0.5.0,metal3:v0.4.0) // to add to the management cluster. InfrastructureProviders string `json:"infrastructure-providers,omitempty"` // ControlPlaneProviders and versions (comma separated, e.g. kubeadm:v0.3.0) to add to the management cluster. // If unspecified, the kubeadm control plane provider latest release is used. ControlPlaneProviders string `json:"control-plane-providers,omitempty"` }
InitOptions container with exposed clusterctl InitOptions
func (*InitOptions) DeepCopy ¶
func (in *InitOptions) DeepCopy() *InitOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitOptions.
func (*InitOptions) DeepCopyInto ¶
func (in *InitOptions) DeepCopyInto(out *InitOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InventorySpec ¶
type InventorySpec struct {
Path string `json:"path"`
}
InventorySpec contains the path to the host inventory
func (*InventorySpec) DeepCopy ¶
func (in *InventorySpec) DeepCopy() *InventorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InventorySpec.
func (*InventorySpec) DeepCopyInto ¶
func (in *InventorySpec) DeepCopyInto(out *InventorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IronicSpec ¶
type IronicSpec struct { ProvisioningInterface string `json:"provisioningInterface,omitempty"` ProvisioningIP IPFormat `json:"provisioningIp,omitempty"` DhcpRange string `json:"dhcpRange,omitempty"` IronicAutomatedClean string `json:"ironicAutomatedClean,omitempty"` HTTPPort string `json:"httpPort,omitempty"` IronicFastTrack string `json:"ironicFastTrack,omitempty"` DeployKernelURL string `json:"deployKernelUrl,omitempty"` DeployRamdiskURL string `json:"deployRamdiskUrl,omitempty"` IronicEndpoint string `json:"ironicEndpoint,omitempty"` IronicInspectorEndpoint string `json:"ironicInspectorEndpoint,omitempty"` }
IronicSpec defines the spec for Ironic
func (*IronicSpec) DeepCopy ¶
func (in *IronicSpec) DeepCopy() *IronicSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IronicSpec.
func (*IronicSpec) DeepCopyInto ¶
func (in *IronicSpec) DeepCopyInto(out *IronicSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IsoConfiguration ¶
type IsoConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` IsoContainer *IsoContainer `json:"container,omitempty"` Isogen *Isogen `json:"builder,omitempty"` }
IsoConfiguration structure is inherited from apimachinery TypeMeta and ObjectMeta and is a top level configuration structure for building image
func DefaultIsoConfiguration ¶
func DefaultIsoConfiguration() *IsoConfiguration
DefaultIsoConfiguration can be used to safely unmarshal IsoConfiguration object without nil pointers
func (*IsoConfiguration) DeepCopy ¶
func (in *IsoConfiguration) DeepCopy() *IsoConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IsoConfiguration.
func (*IsoConfiguration) DeepCopyInto ¶
func (in *IsoConfiguration) DeepCopyInto(out *IsoConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IsoConfiguration) DeepCopyObject ¶
func (in *IsoConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IsoContainer ¶
type IsoContainer struct { // Container volume directory binding. Volume string `json:"volume,omitempty"` // ISO generator container image URL Image string `json:"image,omitempty"` // Container Runtime Interface driver ContainerRuntime string `json:"containerRuntime,omitempty"` }
IsoContainer structure contains parameters related to Docker runtime, used for building image
func (*IsoContainer) DeepCopy ¶
func (in *IsoContainer) DeepCopy() *IsoContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IsoContainer.
func (*IsoContainer) DeepCopyInto ¶
func (in *IsoContainer) DeepCopyInto(out *IsoContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Isogen ¶
type Isogen struct { // Cloud Init user data will be retrieved from the doc matching this object UserDataSelector Selector `json:"userDataSelector,omitempty"` // Cloud init user data will be retrieved from this document key UserDataKey string `json:"userDataKey,omitempty"` // Cloud Init network config will be retrieved from the doc matching this object NetworkConfigSelector Selector `json:"networkConfigSelector,omitempty"` // Cloud init network config will be retrieved from this document key NetworkConfigKey string `json:"networkConfigKey,omitempty"` // File name to use for the output image that will be written to the container volume root OutputFileName string `json:"outputFileName,omitempty"` }
Isogen structure defines document selection criteria for cloud-init metadata
func (*Isogen) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Isogen.
func (*Isogen) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KRMContainerSpec ¶
type KRMContainerSpec struct{}
KRMContainerSpec defines a spec for running a function as a container empty for now since it has no extra fields from AirshipContainerSpec
func (*KRMContainerSpec) DeepCopy ¶
func (in *KRMContainerSpec) DeepCopy() *KRMContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KRMContainerSpec.
func (*KRMContainerSpec) DeepCopyInto ¶
func (in *KRMContainerSpec) DeepCopyInto(out *KRMContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeConfig ¶
type KubeConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Config clientcmdapi.Config `json:"config,omitempty"` }
KubeConfig object for k8s client
func (*KubeConfig) DeepCopy ¶
func (in *KubeConfig) DeepCopy() *KubeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeConfig.
func (*KubeConfig) DeepCopyInto ¶
func (in *KubeConfig) DeepCopyInto(out *KubeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubeConfig) DeepCopyObject ¶
func (in *KubeConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubeconfigSource ¶
type KubeconfigSource struct { Type KubeconfigSourceType `json:"type"` FileSystem KubeconfigSourceFilesystem `json:"filesystem,omitempty"` Bundle KubeconfigSourceBundle `json:"bundle,omitempty"` ClusterAPI KubeconfigSourceClusterAPI `json:"clusterAPI,omitempty"` }
KubeconfigSource describes source of the kubeconfig
func (*KubeconfigSource) DeepCopy ¶
func (in *KubeconfigSource) DeepCopy() *KubeconfigSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeconfigSource.
func (*KubeconfigSource) DeepCopyInto ¶
func (in *KubeconfigSource) DeepCopyInto(out *KubeconfigSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeconfigSourceBundle ¶
type KubeconfigSourceBundle struct {
Context string `json:"contextName,omitempty"`
}
KubeconfigSourceBundle get kubeconfig from bundle
func (*KubeconfigSourceBundle) DeepCopy ¶
func (in *KubeconfigSourceBundle) DeepCopy() *KubeconfigSourceBundle
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeconfigSourceBundle.
func (*KubeconfigSourceBundle) DeepCopyInto ¶
func (in *KubeconfigSourceBundle) DeepCopyInto(out *KubeconfigSourceBundle)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeconfigSourceClusterAPI ¶
type KubeconfigSourceClusterAPI struct { NamespacedName `json:"clusterNamespacedName,omitempty"` Timeout string `json:"timeout,omitempty"` }
KubeconfigSourceClusterAPI get kubeconfig from clusterAPI parent cluster
func (*KubeconfigSourceClusterAPI) DeepCopy ¶
func (in *KubeconfigSourceClusterAPI) DeepCopy() *KubeconfigSourceClusterAPI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeconfigSourceClusterAPI.
func (*KubeconfigSourceClusterAPI) DeepCopyInto ¶
func (in *KubeconfigSourceClusterAPI) DeepCopyInto(out *KubeconfigSourceClusterAPI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeconfigSourceFilesystem ¶
type KubeconfigSourceFilesystem struct { Path string `json:"path,omitempty"` Context string `json:"contextName,omitempty"` }
KubeconfigSourceFilesystem get kubeconfig from filesystem path
func (*KubeconfigSourceFilesystem) DeepCopy ¶
func (in *KubeconfigSourceFilesystem) DeepCopy() *KubeconfigSourceFilesystem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeconfigSourceFilesystem.
func (*KubeconfigSourceFilesystem) DeepCopyInto ¶
func (in *KubeconfigSourceFilesystem) DeepCopyInto(out *KubeconfigSourceFilesystem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeconfigSourceType ¶
type KubeconfigSourceType string
KubeconfigSourceType type of source
const ( // KubeconfigSourceTypeFilesystem is used when you want kubeconfig to be taken from local filesystem KubeconfigSourceTypeFilesystem KubeconfigSourceType = "filesystem" // KubeconfigSourceTypeBundle use config document bundle to get kubeconfig KubeconfigSourceTypeBundle KubeconfigSourceType = "bundle" // KubeconfigSourceTypeClusterAPI use ClusterAPI to get kubeconfig, parent cluster must be specified KubeconfigSourceTypeClusterAPI KubeconfigSourceType = "clusterAPI" )
type KubernetesApply ¶
type KubernetesApply struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Config ApplyConfig `json:"config,omitempty"` }
KubernetesApply provides instructions on how to apply resources to kubernetes cluster
func (*KubernetesApply) DeepCopy ¶
func (in *KubernetesApply) DeepCopy() *KubernetesApply
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesApply.
func (*KubernetesApply) DeepCopyInto ¶
func (in *KubernetesApply) DeepCopyInto(out *KubernetesApply)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubernetesApply) DeepCopyObject ¶
func (in *KubernetesApply) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubernetesResourceMap ¶
KubernetesResourceMap The name of each key defined at this level should identify a single image. Each image object is required to have an "image" property which specifies the full URL for the image (i.e. repository/image:tag) as a single string.
func (KubernetesResourceMap) DeepCopy ¶
func (in KubernetesResourceMap) DeepCopy() KubernetesResourceMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesResourceMap.
func (KubernetesResourceMap) DeepCopyInto ¶
func (in KubernetesResourceMap) DeepCopyInto(out *KubernetesResourceMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesSpec ¶
type KubernetesSpec struct { // +kubebuilder:validation:Format=cidr ServiceCidr string `json:"serviceCidr,omitempty"` // +kubebuilder:validation:Format=cidr PodCidr string `json:"podCidr,omitempty"` ControlPlaneEndpoint EndPointSpec `json:"controlPlaneEndpoint,omitempty"` ApiserverCertSANs string `json:"apiserverCertSANs,omitempty"` }
KubernetesSpec defines the spec for kubernetes
func (*KubernetesSpec) DeepCopy ¶
func (in *KubernetesSpec) DeepCopy() *KubernetesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesSpec.
func (*KubernetesSpec) DeepCopyInto ¶
func (in *KubernetesSpec) DeepCopyInto(out *KubernetesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Link ¶
type Link struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` MTU string `json:"mtu,omitempty"` BondLinks []string `json:"bond_links,omitempty"` BondMode string `json:"bond_mode,omitempty"` BondMiimon int `json:"bond_miimon,omitempty"` BondXmitHashPolicy string `json:"bond_xmit_hash_policy,omitempty"` VlanLink string `json:"vlan_link,omitempty"` VlanID int `json:"vlan_id,omitempty"` VlanMacAddress string `json:"vlan_mac_address,omitempty"` }
Link defines the properties of the network link
func (*Link) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link.
func (*Link) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManifestMetadata ¶
type ManifestMetadata struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Phase PhaseSpec `json:"phase,omitempty"` Inventory InventorySpec `json:"inventory,omitempty"` }
ManifestMetadata defines site specific metadata like inventory and phase path
func DefaultManifestMetadata ¶
func DefaultManifestMetadata() *ManifestMetadata
DefaultManifestMetadata can be used to safely unmarshal phase object without nil pointers
func (*ManifestMetadata) DeepCopy ¶
func (in *ManifestMetadata) DeepCopy() *ManifestMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestMetadata.
func (*ManifestMetadata) DeepCopyInto ¶
func (in *ManifestMetadata) DeepCopyInto(out *ManifestMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManifestMetadata) DeepCopyObject ¶
func (in *ManifestMetadata) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MoveOptions ¶
type MoveOptions struct { // Namespace where the objects describing the workload cluster exists. If unspecified, the current // namespace will be used. Namespace string `json:"namespace,omitempty"` }
MoveOptions carries the options supported by move.
func (*MoveOptions) DeepCopy ¶
func (in *MoveOptions) DeepCopy() *MoveOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MoveOptions.
func (*MoveOptions) DeepCopyInto ¶
func (in *MoveOptions) DeepCopyInto(out *MoveOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedName ¶
type NamespacedName struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` }
NamespacedName is a name combined with namespace to uniquely identify objects
func (*NamespacedName) DeepCopy ¶
func (in *NamespacedName) DeepCopy() *NamespacedName
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedName.
func (*NamespacedName) DeepCopyInto ¶
func (in *NamespacedName) DeepCopyInto(out *NamespacedName)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Network ¶
type Network struct { ID string `json:"id,omitempty"` Type string `json:"type,omitempty"` Link string `json:"link,omitempty"` NetMask IPFormat `json:"netmask,omitempty"` Routes []Route `json:"routes,omitempty"` }
Network defines the network attributes like ID, Type, Link, Netmask and Routes
func (*Network) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkCatalogue ¶
type NetworkCatalogue struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkCatalogueSpec `json:"spec,omitempty"` }
NetworkCatalogue is the Schema for the network catalogs API
func (*NetworkCatalogue) DeepCopy ¶
func (in *NetworkCatalogue) DeepCopy() *NetworkCatalogue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkCatalogue.
func (*NetworkCatalogue) DeepCopyInto ¶
func (in *NetworkCatalogue) DeepCopyInto(out *NetworkCatalogue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkCatalogue) DeepCopyObject ¶
func (in *NetworkCatalogue) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkCatalogueSpec ¶
type NetworkCatalogueSpec struct { CommonHostNetworking HostNetworkingSpec `json:"commonHostNetworking,omitempty"` Kubernetes KubernetesSpec `json:"kubernetes,omitempty"` Ironic IronicSpec `json:"ironic,omitempty"` Ntp NtpSpec `json:"ntp,omitempty"` }
NetworkCatalogueSpec defines the default networking catalogs hosted in airshipctl
func (*NetworkCatalogueSpec) DeepCopy ¶
func (in *NetworkCatalogueSpec) DeepCopy() *NetworkCatalogueSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkCatalogueSpec.
func (*NetworkCatalogueSpec) DeepCopyInto ¶
func (in *NetworkCatalogueSpec) DeepCopyInto(out *NetworkCatalogueSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkCatalogues ¶
type NetworkCatalogues struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkCatalogue `json:"items"` }
NetworkCatalogues contains a list of network catalogs
func (*NetworkCatalogues) DeepCopy ¶
func (in *NetworkCatalogues) DeepCopy() *NetworkCatalogues
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkCatalogues.
func (*NetworkCatalogues) DeepCopyInto ¶
func (in *NetworkCatalogues) DeepCopyInto(out *NetworkCatalogues)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkCatalogues) DeepCopyObject ¶
func (in *NetworkCatalogues) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NtpSpec ¶
type NtpSpec struct { Enabled bool `json:"enabled,omitempty"` Servers []string `json:"servers,omitempty"` }
NtpSpec defines the spec for NTP servers
func (*NtpSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NtpSpec.
func (*NtpSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Phase ¶
type Phase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Config PhaseConfig `json:"config,omitempty"` }
Phase object to control deployment steps
func DefaultPhase ¶
func DefaultPhase() *Phase
DefaultPhase can be used to safely unmarshal phase object without nil pointers
func (*Phase) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Phase.
func (*Phase) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Phase) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PhaseConfig ¶
type PhaseConfig struct { ExecutorRef *corev1.ObjectReference `json:"executorRef"` SiteWideKubeconfig bool `json:"siteWideKubeconfig,omitempty"` ValidationCfg ValidationConfig `json:"validation"` DocumentEntryPoint string `json:"documentEntryPoint"` }
PhaseConfig represents configuration for a particular phase. It contains a reference to phase runner object which should contain runner configuration and validation configuration
func (*PhaseConfig) DeepCopy ¶
func (in *PhaseConfig) DeepCopy() *PhaseConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhaseConfig.
func (*PhaseConfig) DeepCopyInto ¶
func (in *PhaseConfig) DeepCopyInto(out *PhaseConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PhasePlan ¶
type PhasePlan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Description string `json:"description,omitempty"` Phases []PhaseStep `json:"phases,omitempty"` ValidationCfg ValidationConfig `json:"validation"` }
PhasePlan object represents phase execution sequence
func (*PhasePlan) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhasePlan.
func (*PhasePlan) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PhasePlan) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PhaseSpec ¶
type PhaseSpec struct { Path string `json:"path"` DocumentEntryPointPrefix string `json:"documentEntryPointPrefix"` }
PhaseSpec represents configuration for a particular phase. It contains a reference to the site specific manifest path and doument entry prefix
func (*PhaseSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhaseSpec.
func (*PhaseSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PhaseStep ¶
type PhaseStep struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` }
PhaseStep represents phase (or step) within a phase plan
func (*PhaseStep) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhaseStep.
func (*PhaseStep) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Provider ¶
type Provider struct { Name string `json:"name,"` Type string `json:"type,"` // URL can contain remote URL of upstream Provider or relative to target path of the manifest URL string `json:"url,omitempty"` }
Provider is part of clusterctl config
func (*Provider) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provider.
func (*Provider) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteDirectOptions ¶
type RemoteDirectOptions struct {
ISOURL string `json:"isoURL"`
}
RemoteDirectOptions holds configuration for remote direct operation
func (*RemoteDirectOptions) DeepCopy ¶
func (in *RemoteDirectOptions) DeepCopy() *RemoteDirectOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteDirectOptions.
func (*RemoteDirectOptions) DeepCopyInto ¶
func (in *RemoteDirectOptions) DeepCopyInto(out *RemoteDirectOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplSource ¶
type ReplSource struct { ObjRef *Target `json:"objref,omitempty" yaml:"objref,omitempty"` FieldRef string `json:"fieldref,omitempty" yaml:"fiedldref,omitempty"` Value *string `json:"value,omitempty" yaml:"value,omitempty"` }
ReplSource defines where a substitution is from It can from two different kinds of sources
- from a field of one resource
- from a string
func (*ReplSource) DeepCopy ¶
func (in *ReplSource) DeepCopy() *ReplSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplSource.
func (*ReplSource) DeepCopyInto ¶
func (in *ReplSource) DeepCopyInto(out *ReplSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplTarget ¶
type ReplTarget struct { ObjRef *Selector `json:"objref,omitempty" yaml:"objref,omitempty"` FieldRefs []string `json:"fieldrefs,omitempty" yaml:"fieldrefs,omitempty"` }
ReplTarget defines where a substitution is to.
func (*ReplTarget) DeepCopy ¶
func (in *ReplTarget) DeepCopy() *ReplTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplTarget.
func (*ReplTarget) DeepCopyInto ¶
func (in *ReplTarget) DeepCopyInto(out *ReplTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Replacement ¶
type Replacement struct { Source *ReplSource `json:"source" yaml:"source"` Target *ReplTarget `json:"target" yaml:"target"` Targets []*ReplTarget `json:"targets" yaml:"targets"` }
Replacement defines how to perform a substitution where it is from and where it is to.
func (*Replacement) DeepCopy ¶
func (in *Replacement) DeepCopy() *Replacement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Replacement.
func (*Replacement) DeepCopyInto ¶
func (in *Replacement) DeepCopyInto(out *Replacement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplacementTransformer ¶
type ReplacementTransformer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Replacements list of source and target field to do a replacement Replacements []Replacement `json:"replacements,omitempty" yaml:"replacements,omitempty"` }
ReplacementTransformer plugin configuration for airship document model
func (*ReplacementTransformer) DeepCopy ¶
func (in *ReplacementTransformer) DeepCopy() *ReplacementTransformer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplacementTransformer.
func (*ReplacementTransformer) DeepCopyInto ¶
func (in *ReplacementTransformer) DeepCopyInto(out *ReplacementTransformer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReplacementTransformer) DeepCopyObject ¶
func (in *ReplacementTransformer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RepoProperties ¶
type RepoProperties struct {
URL string `json:"url"`
}
RepoProperties The name of each key defined at this level should identify a Helm repository. Each helm_repository object is required to have a "url" key that specifies the location of the repository.
func (*RepoProperties) DeepCopy ¶
func (in *RepoProperties) DeepCopy() *RepoProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoProperties.
func (*RepoProperties) DeepCopyInto ¶
func (in *RepoProperties) DeepCopyInto(out *RepoProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositorySpec ¶
type RepositorySpec map[string]RepoProperties
RepositorySpec defines the additional properties for repository
func (RepositorySpec) DeepCopy ¶
func (in RepositorySpec) DeepCopy() RepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositorySpec.
func (RepositorySpec) DeepCopyInto ¶
func (in RepositorySpec) DeepCopyInto(out *RepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResID ¶
type ResID struct { // Gvk of the resource. Gvk `json:",inline,omitempty" yaml:",inline,omitempty"` // Name of the resource. Name string `json:"name,omitempty" yaml:"name,omitempty"` // Namespace the resource belongs to, if it can belong to a namespace. Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` }
ResID is an identifier of a k8s resource object.
func (*ResID) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResID.
func (*ResID) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route ¶
type Route struct { Network IPFormat `json:"network,omitempty"` NetMask IPFormat `json:"netmask,omitempty"` Gateway IPFormat `json:"gateway,omitempty"` }
Route defines the spec for network route
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Selector ¶
type Selector struct { // ResID refers to a GVKN/Ns of a resource. ResID `json:",inline,omitempty" yaml:",inline,omitempty"` // AnnotationSelector is a string that follows the label selection expression // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api // It matches with the resource annotations. AnnotationSelector string `json:"annotationSelector,omitempty" yaml:"annotationSelector,omitempty"` // LabelSelector is a string that follows the label selection expression // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api // It matches with the resource labels. LabelSelector string `json:"labelSelector,omitempty" yaml:"labelSelector,omitempty"` }
Selector specifies a set of resources. Any resource that matches intersection of all conditions is included in this set.
func (*Selector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.
func (*Selector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Service ¶
type Service struct { Address IPFormat `json:"address,omitempty"` Type string `json:"type,omitempty"` }
Service defines the spec for service
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageMount ¶
type StorageMount struct { // Type of mount e.g. bind mount, local volume, etc. MountType string `json:"type,omitempty" yaml:"type,omitempty"` // Source for the storage to be mounted. // For named volumes, this is the name of the volume. // For anonymous volumes, this field is omitted (empty string). // For bind mounts, this is the path to the file or directory on the host. // If provided path is relative, it will be expanded to absolute one by following patterns: // - if starts with '~/' or contains only '~' : $HOME + Src // - in other cases : TargetPath + Src Src string `json:"src,omitempty" yaml:"src,omitempty"` // The path where the file or directory is mounted in the container. DstPath string `json:"dst,omitempty" yaml:"dst,omitempty"` // Mount in ReadWrite mode if it's explicitly configured // See https://docs.docker.com/storage/bind-mounts/#use-a-read-only-bind-mount ReadWriteMode bool `json:"rw,omitempty" yaml:"rw,omitempty"` }
StorageMount represents a container's mounted storage option(s) copy from https://github.com/kubernetes-sigs/kustomize to avoid imports in this package
func (*StorageMount) DeepCopy ¶
func (in *StorageMount) DeepCopy() *StorageMount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageMount.
func (*StorageMount) DeepCopyInto ¶
func (in *StorageMount) DeepCopyInto(out *StorageMount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Target ¶
type Target struct { APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"` Gvk `json:",inline,omitempty" yaml:",inline,omitempty"` Name string `json:"name" yaml:"name"` Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` }
Target refers to a kubernetes object by Group, Version, Kind and Name gvk.Gvk contains Group, Version and Kind APIVersion is added to keep the backward compatibility of using ObjectReference for Var.ObjRef
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Templater ¶
type Templater struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Values contains map with object parameters to render Values *v1.JSON `json:"values,omitempty"` // Template field is used to specify actual go-template which is going // to be used to render the object defined in Spec field Template string `json:"template,omitempty"` }
Templater plugin configuration for airship document model
func (*Templater) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Templater.
func (*Templater) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Templater) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ValidationConfig ¶
type ValidationConfig struct { // Strict disallows additional properties not in schema if set Strict *bool `json:"strict,omitempty"` // IgnoreMissingSchemas skips validation for resource // definitions without a schema. IgnoreMissingSchemas *bool `json:"ignoreMissingSchemas,omitempty"` // KubernetesVersion is the version of Kubernetes to validate // against (default "1.18.6"). KubernetesVersion string `json:"kubernetesVersion,omitempty"` // SchemaLocation is the base URL from which to search for schemas. // It can be either a remote location or a local directory SchemaLocation string `json:"schemaLocation,omitempty"` // KindsToSkip defines Kinds which will be skipped during validation KindsToSkip []string `json:"kindsToSkip,omitempty"` // CRDList defines list of kustomize entrypoints located in "TARGET_PATH" where to find additional CRD CRDList []string `json:"crdList,omitempty"` }
ValidationConfig represents configuration needed for static validation
func (*ValidationConfig) DeepCopy ¶
func (in *ValidationConfig) DeepCopy() *ValidationConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationConfig.
func (*ValidationConfig) DeepCopyInto ¶
func (in *ValidationConfig) DeepCopyInto(out *ValidationConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VersionsCatalogue ¶
type VersionsCatalogue struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VersionsCatalogueSpec `json:"spec,omitempty"` }
VersionsCatalogue is the Schema for the versions catalogs API
func (*VersionsCatalogue) DeepCopy ¶
func (in *VersionsCatalogue) DeepCopy() *VersionsCatalogue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionsCatalogue.
func (*VersionsCatalogue) DeepCopyInto ¶
func (in *VersionsCatalogue) DeepCopyInto(out *VersionsCatalogue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VersionsCatalogue) DeepCopyObject ¶
func (in *VersionsCatalogue) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VersionsCatalogueSpec ¶
type VersionsCatalogueSpec struct { // helm_repositories defines Helm repositories required by HelmReleases. HelmRepositories RepositorySpec `json:"helm_repositories,omitempty"` // charts defines collections of Helm charts. i // The name of each key in this section should identify a specific chart, and each // chart object must have "chart" and "version" properties defined. Charts ChartSpec `json:"charts,omitempty"` // files defines collections of files required by airshipctl functions. Files FileSpec `json:"files,omitempty"` // capi_images defines collections of images used by cluster API. // The name of each key in this section should correspond to the airshipctl // function in which the images will be used, such as "capm3". Each capi_image // object must have a "manager" object, which must have "repository" and "tag" // properties defined. capi_images may also include an optional "ipam-manager" // or "auth_proxy" object, which must also have "repository" and "tag" // properties defined. CAPIImages CAPIImageSpec `json:"capi_images,omitempty"` // images defines collections of images that are declared as complete // URLs rather than as a collection of discrete parts, such as "repository" and // "tag" or "sha". This section of the catalog is organized by // airshipctl function -> Deployments in function -> images in Deployment. Images ImageSpec `json:"images,omitempty"` // image_components defines images that are declared using the Helm-style // format that breaks image URLs into discrete parts, such as "repository" and "tag". // Images in this section of the catalog are grouped by airshipctl function -> // images in function. ImageComponents ImageComponentSpec `json:"image_components,omitempty"` // Allows for the specification of the kubernetes version being used. Kubernetes string `json:"kubernetes,omitempty"` // Allows for the specification of the image repositories ImageRepositories AirshipctlFunctionImageComponentMap `json:"image_repositories,omitempty"` }
VersionsCatalogueSpec defines the default versions catalog for functions hosted in the airshipctl project
func (*VersionsCatalogueSpec) DeepCopy ¶
func (in *VersionsCatalogueSpec) DeepCopy() *VersionsCatalogueSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionsCatalogueSpec.
func (*VersionsCatalogueSpec) DeepCopyInto ¶
func (in *VersionsCatalogueSpec) DeepCopyInto(out *VersionsCatalogueSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VersionsCatalogues ¶
type VersionsCatalogues struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VersionsCatalogue `json:"items"` }
VersionsCatalogues contains a list of versions catalog
func (*VersionsCatalogues) DeepCopy ¶
func (in *VersionsCatalogues) DeepCopy() *VersionsCatalogues
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionsCatalogues.
func (*VersionsCatalogues) DeepCopyInto ¶
func (in *VersionsCatalogues) DeepCopyInto(out *VersionsCatalogues)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VersionsCatalogues) DeepCopyObject ¶
func (in *VersionsCatalogues) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Source Files ¶
- baremetal_manager.go
- bootconfiguration_types.go
- cluster_map_types.go
- clusterctl_types.go
- genericcontainer_types.go
- groupversion_info.go
- host_types.go
- isoconfiguration.go
- kubeconfig_types.go
- kubernetes_apply_types.go
- metadata_types.go
- networkcatalogue_types.go
- phase_types.go
- phaseplan_types.go
- replacement_plugin_types.go
- templater_plugin_types.go
- versionscatalogue_types.go
- zz_generated.deepcopy.go