Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the airship v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubekit99/cluster-api-provider-airship/pkg/apis/airshipprovider +k8s:defaulter-gen=TypeMeta +groupName=airship.kubekit.cloud
Package v1alpha1 contains API Schema definitions for the airshipprovider v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubekit99/cluster-api-provider-airship/pkg/apis/airshipprovider +k8s:defaulter-gen=TypeMeta +groupName=airshipprovider.k8s.io
Index ¶
- Variables
- func EncodeClusterSpec(spec *AirshipClusterProviderSpec) (*runtime.RawExtension, error)
- func EncodeClusterStatus(status *AirshipClusterProviderStatus) (*runtime.RawExtension, error)
- func EncodeMachineSpec(spec *AirshipMachineProviderSpec) (*runtime.RawExtension, error)
- func EncodeMachineStatus(status *AirshipMachineProviderStatus) (*runtime.RawExtension, error)
- type AddressingItems
- type AirshipClusterProviderSpec
- type AirshipClusterProviderStatus
- type AirshipMachineProviderCondition
- type AirshipMachineProviderConditionType
- type AirshipMachineProviderSpec
- type AirshipMachineProviderStatus
- type AirshipResourceReference
- type Armada
- type AssetsItems
- type BaremetalSpec
- type Bonding
- type BootactionSpec
- type DeploymentConfigurationSpec
- type DeploymentStrategySpec
- type DeviceAliases
- type DhcpRelay
- type Dns
- type Filesystem
- type Filesystem2
- type FilterSetItems
- type GroupsItems
- type HardwareProfileSpec
- type HostProfileSpec
- type HugepagesItem
- type IngressRule
- type IngressRules
- type Instance
- type InstanceState
- type InterfacesItem
- type InterfacesItem2
- type KernelParams
- type KernelParams2
- type Kubernetes
- type KubernetesProvisioner
- type Labels
- type Labels2
- type Labels3
- type LoadBalancer
- type LoadBalancerHealthCheck
- type LoadBalancerListener
- type LoadBalancerProtocol
- type LoadBalancerScheme
- type Location
- type LogicalVolumesItems
- type LogicalVolumesItems2
- type MachineRole
- type Metadata
- type Metadata2
- type Network
- type NetworkLinkSpec
- type NetworkSpec
- type NodeFilter
- type NodeLabels
- type Oob
- type Oob2
- type PartitionsItems
- type PartitionsItems2
- type PhysicalDevicesItem
- type PhysicalDevicesItem2
- type PhysicalProvisioner
- type Platform
- type Platform2
- type PublicIPAddress
- type RackLabels
- type RackSpec
- type RangesItems
- type RegionSpec
- type Repositories
- type RouteTable
- type RoutesItems
- type SecurityGroup
- type SecurityGroupProtocol
- type SecurityGroupRole
- type SelectorsItems
- type Sriov
- type Storage
- type Storage2
- type Subnet
- type Subnets
- type SuccessCriteria
- type TagDefinitionsItems
- type TorSwitches
- type Trunking
- type Vnet
- type VolumeGroupsItem
- type VolumeGroupsItem2
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "airshipprovider.k8s.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( // LoadBalancerSchemeInternetFacing defines an internet-facing, publicly // accessible Airship LB scheme LoadBalancerSchemeInternetFacing = LoadBalancerScheme("Internet-facing") // LoadBalancerSchemeInternal defines an internal-only facing // load balancer internal to a LB. LoadBalancerSchemeInternal = LoadBalancerScheme("internal") )
TODO
var ( // LoadBalancerProtocolTCP defines the LB API string representing the TCP protocol LoadBalancerProtocolTCP = LoadBalancerProtocol("TCP") // LoadBalancerProtocolSSL defines the LB API string representing the TLS protocol LoadBalancerProtocolSSL = LoadBalancerProtocol("SSL") // LoadBalancerProtocolHTTP defines the LB API string representing the HTTP protocol at L7 LoadBalancerProtocolHTTP = LoadBalancerProtocol("HTTP") // LoadBalancerProtocolHTTPS defines the LB API string representing the HTTP protocol at L7 LoadBalancerProtocolHTTPS = LoadBalancerProtocol("HTTPS") )
TODO
var ( // SecurityGroupBastion defines an SSH bastion role SecurityGroupBastion = SecurityGroupRole("bastion") // SecurityGroupNode defines a Kubernetes workload node role SecurityGroupNode = SecurityGroupRole("node") // SecurityGroupControlPlane defines a Kubernetes control plane node role SecurityGroupControlPlane = SecurityGroupRole("controlplane") )
var ( // SecurityGroupProtocolAll is a wildcard for all IP protocols SecurityGroupProtocolAll = SecurityGroupProtocol("*") // SecurityGroupProtocolTCP represents the TCP protocol in ingress rules SecurityGroupProtocolTCP = SecurityGroupProtocol("tcp") // SecurityGroupProtocolUDP represents the UDP protocol in ingress rules SecurityGroupProtocolUDP = SecurityGroupProtocol("udp") )
TODO
var ( // InstanceStatePending is the string representing an instance in a pending state InstanceStatePending = InstanceState("pending") // InstanceStateRunning is the string representing an instance in a pending state InstanceStateRunning = InstanceState("running") // InstanceStateShuttingDown is the string representing an instance shutting down InstanceStateShuttingDown = InstanceState("shutting-down") // InstanceStateTerminated is the string representing an instance that has been terminated InstanceStateTerminated = InstanceState("terminated") // InstanceStateStopping is the string representing an instance // that is in the process of being stopped and can be restarted InstanceStateStopping = InstanceState("stopping") // InstanceStateStopped is the string representing an instance // that has been stopped and can be restarted InstanceStateStopped = InstanceState("stopped") )
TODO
Functions ¶
func EncodeClusterSpec ¶
func EncodeClusterSpec(spec *AirshipClusterProviderSpec) (*runtime.RawExtension, error)
EncodeClusterSpec marshals the cluster provider spec.
func EncodeClusterStatus ¶
func EncodeClusterStatus(status *AirshipClusterProviderStatus) (*runtime.RawExtension, error)
EncodeClusterStatus marshals the cluster status.
func EncodeMachineSpec ¶
func EncodeMachineSpec(spec *AirshipMachineProviderSpec) (*runtime.RawExtension, error)
EncodeMachineSpec marshals the machine provider spec.
func EncodeMachineStatus ¶
func EncodeMachineStatus(status *AirshipMachineProviderStatus) (*runtime.RawExtension, error)
EncodeMachineStatus marshals the machine status
Types ¶
type AddressingItems ¶
type AddressingItems struct { Address string `json:"address,omitempty"` Network string `json:"network,omitempty"` }
AddressingItems
func (*AddressingItems) DeepCopy ¶
func (in *AddressingItems) DeepCopy() *AddressingItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressingItems.
func (*AddressingItems) DeepCopyInto ¶
func (in *AddressingItems) DeepCopyInto(out *AddressingItems)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AirshipClusterProviderSpec ¶
type AirshipClusterProviderSpec struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` ResourceGroup string `json:"resourceGroup"` Location string `json:"location"` // Shiyard DeploymentConfiguration DeploymentConfiguration DeploymentConfigurationSpec `json:"deploymentConfiguration"` DeploymentStrategy DeploymentStrategySpec `json:"deploymentStrategy"` // Drydock Configuration // JEB: This is common configuration for the hardware. Force to add it to the cluster // for right now. HardwareProfiles []HardwareProfileSpec `json:"hardwareProfiles"` // JEB: This is network configuration. The generic cluster definition account s for // CNI/calico setup up, but does describe the underlying network. Networks []NetworkSpec `json:"networks"` // CACertificate is a PEM encoded CA Certificate for the control plane nodes. CACertificate []byte `json:"caCertificate,omitempty"` // CAPrivateKey is a PEM encoded PKCS1 CA PrivateKey for the control plane nodes. CAPrivateKey []byte `json:"caKey,omitempty"` }
AirshipClusterProviderSpec is the Schema for the airshipclusterproviderspecs API +k8s:openapi-gen=true
func ClusterConfigFromProviderSpec ¶
func ClusterConfigFromProviderSpec(providerConfig clusterv1.ProviderSpec) (*AirshipClusterProviderSpec, error)
ClusterConfigFromProviderSpec unmarshals a provider config into an Airship Cluster type
func (*AirshipClusterProviderSpec) DeepCopy ¶
func (in *AirshipClusterProviderSpec) DeepCopy() *AirshipClusterProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipClusterProviderSpec.
func (*AirshipClusterProviderSpec) DeepCopyInto ¶
func (in *AirshipClusterProviderSpec) DeepCopyInto(out *AirshipClusterProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AirshipClusterProviderSpec) DeepCopyObject ¶
func (in *AirshipClusterProviderSpec) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AirshipClusterProviderStatus ¶
type AirshipClusterProviderStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` }
AirshipClusterProviderStatus contains the status fields relevant to Airship in the cluster object. +k8s:openapi-gen=true
func ClusterStatusFromProviderStatus ¶
func ClusterStatusFromProviderStatus(extension *runtime.RawExtension) (*AirshipClusterProviderStatus, error)
ClusterStatusFromProviderStatus unmarshals a raw extension into an Airship Cluster type
func (*AirshipClusterProviderStatus) DeepCopy ¶
func (in *AirshipClusterProviderStatus) DeepCopy() *AirshipClusterProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipClusterProviderStatus.
func (*AirshipClusterProviderStatus) DeepCopyInto ¶
func (in *AirshipClusterProviderStatus) DeepCopyInto(out *AirshipClusterProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AirshipClusterProviderStatus) DeepCopyObject ¶
func (in *AirshipClusterProviderStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AirshipMachineProviderCondition ¶
type AirshipMachineProviderCondition struct { // Type is the type of the condition. Type AirshipMachineProviderConditionType `json:"type"` // Status is the status of the condition. Status corev1.ConditionStatus `json:"status"` // LastProbeTime is the last time we probed the condition. // +optional LastProbeTime metav1.Time `json:"lastProbeTime"` // LastTransitionTime is the last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Reason is a unique, one-word, CamelCase reason for the condition's last transition. // +optional Reason string `json:"reason"` // Message is a human-readable message indicating details about last transition. // +optional Message string `json:"message"` }
AirshipMachineProviderCondition is a condition in a AirshipMachineProviderStatus
func (*AirshipMachineProviderCondition) DeepCopy ¶
func (in *AirshipMachineProviderCondition) DeepCopy() *AirshipMachineProviderCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipMachineProviderCondition.
func (*AirshipMachineProviderCondition) DeepCopyInto ¶
func (in *AirshipMachineProviderCondition) DeepCopyInto(out *AirshipMachineProviderCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AirshipMachineProviderConditionType ¶
type AirshipMachineProviderConditionType string
AirshipMachineProviderConditionType is a valid value for AirshipMachineProviderCondition.Type
const ( // MachineCreated indicates whether the machine has been created or not. If not, // it should include a reason and message for the failure. MachineCreated AirshipMachineProviderConditionType = "MachineCreated" )
Valid conditions for an Airship machine instance
type AirshipMachineProviderSpec ¶
type AirshipMachineProviderSpec struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Roles []MachineRole `json:"roles,omitempty"` BaremetalSpec BaremetalSpec `json:"baremetalspec"` }
AirshipMachineProviderSpec is the Schema for the airshipmachineproviderspecs API +k8s:openapi-gen=true
func MachineConfigFromProviderSpec ¶
func MachineConfigFromProviderSpec(providerConfig clusterv1.ProviderSpec) (*AirshipMachineProviderSpec, error)
MachineConfigFromProviderSpec unmarshals a provider config into an Airship machine type
func (*AirshipMachineProviderSpec) DeepCopy ¶
func (in *AirshipMachineProviderSpec) DeepCopy() *AirshipMachineProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipMachineProviderSpec.
func (*AirshipMachineProviderSpec) DeepCopyInto ¶
func (in *AirshipMachineProviderSpec) DeepCopyInto(out *AirshipMachineProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AirshipMachineProviderSpec) DeepCopyObject ¶
func (in *AirshipMachineProviderSpec) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AirshipMachineProviderStatus ¶
type AirshipMachineProviderStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // JEB: Need to find on Drydock a state reflecting the node. // VMID is the instance ID of the machine created in Airship. // +optional // VMID *string `json:"vmId,omitempty"` // InstanceState is the state of the Airship instance for this machine. // +optional // InstanceState *string `json:"instanceState,omitempty"` // Conditions is a set of conditions associated with the Machine to indicate // errors or other status. // +optional Conditions []AirshipMachineProviderCondition `json:"conditions,omitempty"` }
AirshipMachineProviderStatus is the type that will be embedded in a Machine.Status.ProviderStatus field. It contains Airship-specific status information. +k8s:openapi-gen=true
func MachineStatusFromProviderStatus ¶
func MachineStatusFromProviderStatus(extension *runtime.RawExtension) (*AirshipMachineProviderStatus, error)
MachineStatusFromProviderStatus unmarshals a raw extension into an Airship machine type
func (*AirshipMachineProviderStatus) DeepCopy ¶
func (in *AirshipMachineProviderStatus) DeepCopy() *AirshipMachineProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipMachineProviderStatus.
func (*AirshipMachineProviderStatus) DeepCopyInto ¶
func (in *AirshipMachineProviderStatus) DeepCopyInto(out *AirshipMachineProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AirshipMachineProviderStatus) DeepCopyObject ¶
func (in *AirshipMachineProviderStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AirshipResourceReference ¶
type AirshipResourceReference struct { // ID of resource // +optional ID *string `json:"id,omitempty"` }
AirshipResourceReference is a reference to a specific Airship resource by ID
func (*AirshipResourceReference) DeepCopy ¶
func (in *AirshipResourceReference) DeepCopy() *AirshipResourceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipResourceReference.
func (*AirshipResourceReference) DeepCopyInto ¶
func (in *AirshipResourceReference) DeepCopyInto(out *AirshipResourceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Armada ¶
type Armada struct { GetReleasesTimeout int `json:"getReleasesTimeout,omitempty"` GetStatusTimeout int `json:"getStatusTimeout,omitempty"` Manifest string `json:"manifest"` PostApplyTimeout int `json:"postApplyTimeout,omitempty"` ValidateDesignTimeout int `json:"validateDesignTimeout,omitempty"` }
Armada
func (*Armada) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Armada.
func (*Armada) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AssetsItems ¶
type AssetsItems struct { Data string `json:"data,omitempty"` DataPipeline []string `json:"dataPipeline,omitempty"` Location string `json:"location,omitempty"` LocationPipeline []string `json:"locationPipeline,omitempty"` Path string `json:"path,omitempty"` Permissions string `json:"permissions,omitempty"` Type string `json:"type"` }
AssetsItems
func (*AssetsItems) DeepCopy ¶
func (in *AssetsItems) DeepCopy() *AssetsItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetsItems.
func (*AssetsItems) DeepCopyInto ¶
func (in *AssetsItems) DeepCopyInto(out *AssetsItems)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaremetalSpec ¶
type BaremetalSpec struct { Addressing []*AddressingItems `json:"addressing,omitempty"` HardwareProfile string `json:"hardwareProfile,omitempty"` HostProfile string `json:"hostProfile,omitempty"` Interfaces map[string]*InterfacesItem `json:"interfaces,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` Oob *Oob `json:"oob,omitempty"` Platform *Platform `json:"platform,omitempty"` PrimaryNetwork string `json:"primaryNetwork,omitempty"` Storage *Storage `json:"storage,omitempty"` }
Root
func (*BaremetalSpec) DeepCopy ¶
func (in *BaremetalSpec) DeepCopy() *BaremetalSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaremetalSpec.
func (*BaremetalSpec) DeepCopyInto ¶
func (in *BaremetalSpec) DeepCopyInto(out *BaremetalSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Bonding ¶
type Bonding struct { DownDelay float64 `json:"downDelay,omitempty"` Hash string `json:"hash,omitempty"` Mode string `json:"mode,omitempty"` MonRate float64 `json:"monRate,omitempty"` PeerRate string `json:"peerRate,omitempty"` UpDelay float64 `json:"upDelay,omitempty"` }
Bonding
func (*Bonding) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bonding.
func (*Bonding) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootactionSpec ¶
type BootactionSpec struct { Assets []*AssetsItems `json:"assets,omitempty"` NodeFilter *NodeFilter `json:"nodeFilter,omitempty"` Signaling bool `json:"signaling,omitempty"` }
Root
func (*BootactionSpec) DeepCopy ¶
func (in *BootactionSpec) DeepCopy() *BootactionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootactionSpec.
func (*BootactionSpec) DeepCopyInto ¶
func (in *BootactionSpec) DeepCopyInto(out *BootactionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentConfigurationSpec ¶
type DeploymentConfigurationSpec struct { Armada *Armada `json:"armada"` Kubernetes *Kubernetes `json:"kubernetes,omitempty"` KubernetesProvisioner *KubernetesProvisioner `json:"kubernetesProvisioner,omitempty"` PhysicalProvisioner *PhysicalProvisioner `json:"physicalProvisioner,omitempty"` }
Root
func (*DeploymentConfigurationSpec) DeepCopy ¶
func (in *DeploymentConfigurationSpec) DeepCopy() *DeploymentConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfigurationSpec.
func (*DeploymentConfigurationSpec) DeepCopyInto ¶
func (in *DeploymentConfigurationSpec) DeepCopyInto(out *DeploymentConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentStrategySpec ¶
type DeploymentStrategySpec struct {
Groups []*GroupsItems `json:"groups"`
}
Root
func (*DeploymentStrategySpec) DeepCopy ¶
func (in *DeploymentStrategySpec) DeepCopy() *DeploymentStrategySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategySpec.
func (*DeploymentStrategySpec) DeepCopyInto ¶
func (in *DeploymentStrategySpec) DeepCopyInto(out *DeploymentStrategySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceAliases ¶
DeviceAliases
func (*DeviceAliases) DeepCopy ¶
func (in *DeviceAliases) DeepCopy() *DeviceAliases
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceAliases.
func (*DeviceAliases) DeepCopyInto ¶
func (in *DeviceAliases) DeepCopyInto(out *DeviceAliases)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DhcpRelay ¶
type DhcpRelay struct { SelfIp string `json:"selfIp,omitempty"` UpstreamTarget string `json:"upstreamTarget,omitempty"` }
DhcpRelay
func (*DhcpRelay) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpRelay.
func (*DhcpRelay) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Dns ¶
type Dns struct { Domain string `json:"domain,omitempty"` Servers string `json:"servers,omitempty"` }
Dns
func (*Dns) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dns.
func (*Dns) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Filesystem ¶
type Filesystem struct { FsLabel string `json:"fsLabel,omitempty"` FsUuid string `json:"fsUuid,omitempty"` Fstype string `json:"fstype,omitempty"` MountOptions string `json:"mountOptions,omitempty"` Mountpoint string `json:"mountpoint,omitempty"` }
Filesystem
func (*Filesystem) DeepCopy ¶
func (in *Filesystem) DeepCopy() *Filesystem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filesystem.
func (*Filesystem) DeepCopyInto ¶
func (in *Filesystem) DeepCopyInto(out *Filesystem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Filesystem2 ¶
type Filesystem2 struct { FsLabel string `json:"fsLabel,omitempty"` FsUuid string `json:"fsUuid,omitempty"` Fstype string `json:"fstype,omitempty"` MountOptions string `json:"mountOptions,omitempty"` Mountpoint string `json:"mountpoint,omitempty"` }
Filesystem
func (*Filesystem2) DeepCopy ¶
func (in *Filesystem2) DeepCopy() *Filesystem2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filesystem2.
func (*Filesystem2) DeepCopyInto ¶
func (in *Filesystem2) DeepCopyInto(out *Filesystem2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FilterSetItems ¶
type FilterSetItems struct { FilterType string `json:"filterType,omitempty"` NodeLabels *NodeLabels `json:"nodeLabels,omitempty"` NodeNames []string `json:"nodeNames,omitempty"` NodeTags []string `json:"nodeTags,omitempty"` RackLabels *RackLabels `json:"rackLabels,omitempty"` RackNames []string `json:"rackNames,omitempty"` }
FilterSetItems
func (*FilterSetItems) DeepCopy ¶
func (in *FilterSetItems) DeepCopy() *FilterSetItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterSetItems.
func (*FilterSetItems) DeepCopyInto ¶
func (in *FilterSetItems) DeepCopyInto(out *FilterSetItems)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupsItems ¶
type GroupsItems struct { Critical bool `json:"critical"` DependsOn []string `json:"dependsOn"` Name string `json:"name"` Selectors []*SelectorsItems `json:"selectors"` SuccessCriteria *SuccessCriteria `json:"successCriteria,omitempty"` }
GroupsItems
func (*GroupsItems) DeepCopy ¶
func (in *GroupsItems) DeepCopy() *GroupsItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupsItems.
func (*GroupsItems) DeepCopyInto ¶
func (in *GroupsItems) DeepCopyInto(out *GroupsItems)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HardwareProfileSpec ¶
type HardwareProfileSpec struct { BiosVersion string `json:"biosVersion,omitempty"` BootMode string `json:"bootMode,omitempty"` BootstrapProtocol string `json:"bootstrapProtocol,omitempty"` CpuSets map[string]string `json:"cpuSets,omitempty"` DeviceAliases *DeviceAliases `json:"deviceAliases,omitempty"` Generation string `json:"generation,omitempty"` Hugepages map[string]*HugepagesItem `json:"hugepages,omitempty"` HwVersion string `json:"hwVersion,omitempty"` PxeInterface float64 `json:"pxeInterface,omitempty"` Vendor string `json:"vendor,omitempty"` }
Root
func (*HardwareProfileSpec) DeepCopy ¶
func (in *HardwareProfileSpec) DeepCopy() *HardwareProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareProfileSpec.
func (*HardwareProfileSpec) DeepCopyInto ¶
func (in *HardwareProfileSpec) DeepCopyInto(out *HardwareProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HostProfileSpec ¶
type HostProfileSpec struct { HardwareProfile string `json:"hardwareProfile,omitempty"` HostProfile string `json:"hostProfile,omitempty"` Interfaces map[string]*InterfacesItem2 `json:"interfaces,omitempty"` Metadata *Metadata2 `json:"metadata,omitempty"` Oob *Oob2 `json:"oob,omitempty"` Platform *Platform2 `json:"platform,omitempty"` PrimaryNetwork string `json:"primaryNetwork,omitempty"` Storage *Storage2 `json:"storage,omitempty"` }
Root
func (*HostProfileSpec) DeepCopy ¶
func (in *HostProfileSpec) DeepCopy() *HostProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostProfileSpec.
func (*HostProfileSpec) DeepCopyInto ¶
func (in *HostProfileSpec) DeepCopyInto(out *HostProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HugepagesItem ¶
type HugepagesItem struct { }
HugepagesItem
func (*HugepagesItem) DeepCopy ¶
func (in *HugepagesItem) DeepCopy() *HugepagesItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HugepagesItem.
func (*HugepagesItem) DeepCopyInto ¶
func (in *HugepagesItem) DeepCopyInto(out *HugepagesItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressRule ¶
type IngressRule struct { Description string `json:"description"` Protocol SecurityGroupProtocol `json:"protocol"` FromPort int64 `json:"fromPort"` ToPort int64 `json:"toPort"` // List of CIDR blocks to allow access from. Cannot be specified with SourceSecurityGroupID. CidrBlocks []string `json:"cidrBlocks"` // The security group id to allow access from. Cannot be specified with CidrBlocks. SourceSecurityGroupIDs []string `json:"sourceSecurityGroupIds"` }
TODO IngressRule defines an Airship ingress rule for security groups.
func (*IngressRule) DeepCopy ¶
func (in *IngressRule) DeepCopy() *IngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
func (*IngressRule) DeepCopyInto ¶
func (in *IngressRule) DeepCopyInto(out *IngressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressRule) String ¶
func (i *IngressRule) String() string
TODO String returns a string representation of the ingress rule.
type IngressRules ¶
type IngressRules []*IngressRule
TODO IngressRules is a slice of Airship ingress rules for security groups.
func (IngressRules) DeepCopy ¶
func (in IngressRules) DeepCopy() IngressRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRules.
func (IngressRules) DeepCopyInto ¶
func (in IngressRules) DeepCopyInto(out *IngressRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (IngressRules) Difference ¶
func (i IngressRules) Difference(o IngressRules) (out IngressRules)
TODO Difference returns the difference between this slice and the other slice.
type Instance ¶
type Instance struct { ID string `json:"id"` // The current state of the instance. State InstanceState `json:"instanceState,omitempty"` // The instance type. Type string `json:"type,omitempty"` // The ID of the subnet of the instance. SubnetID string `json:"subnetId,omitempty"` // The ID of the AMI used to launch the instance. ImageID string `json:"imageId,omitempty"` // The name of the SSH key pair. KeyName *string `json:"keyName,omitempty"` // SecurityGroupIDs are one or more security group IDs this instance belongs to. SecurityGroupIDs []string `json:"securityGroupIds,omitempty"` // UserData is the raw data script passed to the instance which is run upon bootstrap. // This field must not be base64 encoded and should only be used when running a new instance. UserData *string `json:"userData,omitempty"` // The name of the IAM instance profile associated with the instance, if applicable. IAMProfile string `json:"iamProfile,omitempty"` // The private IPv4 address assigned to the instance. PrivateIP *string `json:"privateIp,omitempty"` // The public IPv4 address assigned to the instance, if applicable. PublicIP *string `json:"publicIp,omitempty"` // Specifies whether enhanced networking with ENA is enabled. ENASupport *bool `json:"enaSupport,omitempty"` // Indicates whether the instance is optimized for Amazon EBS I/O. EBSOptimized *bool `json:"ebsOptimized,omitempty"` // The tags associated with the instance. Tags map[string]string `json:"tags,omitempty"` }
TODO Instance describes an Airship instance.
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceState ¶
type InstanceState string
TODO InstanceState describes the state of an Airship instance.
type InterfacesItem ¶
type InterfacesItem struct { DeviceLink string `json:"deviceLink,omitempty"` Networks []string `json:"networks,omitempty"` Slaves []string `json:"slaves,omitempty"` }
InterfacesItem
func (*InterfacesItem) DeepCopy ¶
func (in *InterfacesItem) DeepCopy() *InterfacesItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfacesItem.
func (*InterfacesItem) DeepCopyInto ¶
func (in *InterfacesItem) DeepCopyInto(out *InterfacesItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InterfacesItem2 ¶
type InterfacesItem2 struct { DeviceLink string `json:"deviceLink,omitempty"` Networks []string `json:"networks,omitempty"` Slaves []string `json:"slaves,omitempty"` Sriov *Sriov `json:"sriov,omitempty"` }
InterfacesItem
func (*InterfacesItem2) DeepCopy ¶
func (in *InterfacesItem2) DeepCopy() *InterfacesItem2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterfacesItem2.
func (*InterfacesItem2) DeepCopyInto ¶
func (in *InterfacesItem2) DeepCopyInto(out *InterfacesItem2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KernelParams ¶
type KernelParams struct { // AdditionalProperties map[string]interface{} `json:"-,omitempty"` AdditionalProperties map[string]string `json:"-,omitempty"` }
KernelParams
func (*KernelParams) DeepCopy ¶
func (in *KernelParams) DeepCopy() *KernelParams
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelParams.
func (*KernelParams) DeepCopyInto ¶
func (in *KernelParams) DeepCopyInto(out *KernelParams)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KernelParams2 ¶
KernelParams
func (*KernelParams2) DeepCopy ¶
func (in *KernelParams2) DeepCopy() *KernelParams2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelParams2.
func (*KernelParams2) DeepCopyInto ¶
func (in *KernelParams2) DeepCopyInto(out *KernelParams2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Kubernetes ¶
type Kubernetes struct { NodeStatusInterval int `json:"nodeStatusInterval,omitempty"` NodeStatusTimeout int `json:"nodeStatusTimeout,omitempty"` }
Kubernetes
func (*Kubernetes) DeepCopy ¶
func (in *Kubernetes) DeepCopy() *Kubernetes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes.
func (*Kubernetes) DeepCopyInto ¶
func (in *Kubernetes) DeepCopyInto(out *Kubernetes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesProvisioner ¶
type KubernetesProvisioner struct { ClearLabelsTimeout int `json:"clearLabelsTimeout,omitempty"` DrainGracePeriod int `json:"drainGracePeriod,omitempty"` DrainTimeout int `json:"drainTimeout,omitempty"` EtcdReadyTimeout int `json:"etcdReadyTimeout,omitempty"` RemoveEtcdTimeout int `json:"removeEtcdTimeout,omitempty"` }
KubernetesProvisioner
func (*KubernetesProvisioner) DeepCopy ¶
func (in *KubernetesProvisioner) DeepCopy() *KubernetesProvisioner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesProvisioner.
func (*KubernetesProvisioner) DeepCopyInto ¶
func (in *KubernetesProvisioner) DeepCopyInto(out *KubernetesProvisioner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Labels ¶
Labels
func (*Labels) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Labels.
func (*Labels) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Labels2 ¶
Labels
func (*Labels2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Labels2.
func (*Labels2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Labels3 ¶
Labels
func (*Labels3) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Labels3.
func (*Labels3) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancer ¶
type LoadBalancer struct { // The name of the load balancer. It must be unique within the set of load balancers // defined in the location. It also serves as identifier. Name string `json:"name,omitempty"` // DNSName is the dns name of the load balancer. DNSName string `json:"dnsName,omitempty"` // IPAddress is the IP address of the load balancer. IPAddress string `json:"ipAddress,omitempty"` // Scheme is the load balancer scheme, either internet-facing or private. Scheme LoadBalancerScheme `json:"scheme,omitempty"` // SubnetIDs is an array of subnets in the Vnet attached to the load balancer. SubnetIDs []string `json:"subnetIds,omitempty"` // SecurityGroupIDs is an array of security groups assigned to the load balancer. SecurityGroupIDs []string `json:"securityGroupIds,omitempty"` // Listeners is an array of elb listeners associated with the load balancer. There must be at least one. Listeners []*LoadBalancerListener `json:"listeners,omitempty"` // HealthCheck is the elb health check associated with the load balancer. HealthCheck *LoadBalancerHealthCheck `json:"healthChecks,omitempty"` // Tags is a map of tags associated with the load balancer. Tags map[string]string `json:"tags,omitempty"` }
TODO LoadBalancer defines an Airship load balancer.
func (*LoadBalancer) DeepCopy ¶
func (in *LoadBalancer) DeepCopy() *LoadBalancer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancer.
func (*LoadBalancer) DeepCopyInto ¶
func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerHealthCheck ¶
type LoadBalancerHealthCheck struct { Target string `json:"target"` Interval time.Duration `json:"interval"` Timeout time.Duration `json:"timeout"` HealthyThreshold int64 `json:"healthyThreshold"` UnhealthyThreshold int64 `json:"unhealthyThreshold"` }
TODO LoadBalancerHealthCheck defines an Airship load balancer health check.
func (*LoadBalancerHealthCheck) DeepCopy ¶
func (in *LoadBalancerHealthCheck) DeepCopy() *LoadBalancerHealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerHealthCheck.
func (*LoadBalancerHealthCheck) DeepCopyInto ¶
func (in *LoadBalancerHealthCheck) DeepCopyInto(out *LoadBalancerHealthCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerListener ¶
type LoadBalancerListener struct { Protocol LoadBalancerProtocol `json:"protocol"` Port int64 `json:"port"` InstanceProtocol LoadBalancerProtocol `json:"instanceProtocol"` InstancePort int64 `json:"instancePort"` }
TODO LoadBalancerListener defines an Airship load balancer listener.
func (*LoadBalancerListener) DeepCopy ¶
func (in *LoadBalancerListener) DeepCopy() *LoadBalancerListener
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerListener.
func (*LoadBalancerListener) DeepCopyInto ¶
func (in *LoadBalancerListener) DeepCopyInto(out *LoadBalancerListener)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerProtocol ¶
type LoadBalancerProtocol string
TODO LoadBalancerProtocol defines listener protocols for a load balancer.
type LoadBalancerScheme ¶
type LoadBalancerScheme string
TODO LoadBalancerScheme defines the scheme of a load balancer.
type Location ¶
Location
func (*Location) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Location.
func (*Location) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalVolumesItems ¶
type LogicalVolumesItems struct { Filesystem *Filesystem `json:"filesystem,omitempty"` LvUuid string `json:"lvUuid,omitempty"` Name string `json:"name,omitempty"` Size string `json:"size,omitempty"` }
LogicalVolumesItems
func (*LogicalVolumesItems) DeepCopy ¶
func (in *LogicalVolumesItems) DeepCopy() *LogicalVolumesItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalVolumesItems.
func (*LogicalVolumesItems) DeepCopyInto ¶
func (in *LogicalVolumesItems) DeepCopyInto(out *LogicalVolumesItems)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalVolumesItems2 ¶
type LogicalVolumesItems2 struct { Filesystem *Filesystem2 `json:"filesystem,omitempty"` LvUuid string `json:"lvUuid,omitempty"` Name string `json:"name,omitempty"` Size string `json:"size,omitempty"` }
LogicalVolumesItems
func (*LogicalVolumesItems2) DeepCopy ¶
func (in *LogicalVolumesItems2) DeepCopy() *LogicalVolumesItems2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalVolumesItems2.
func (*LogicalVolumesItems2) DeepCopyInto ¶
func (in *LogicalVolumesItems2) DeepCopyInto(out *LogicalVolumesItems2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineRole ¶
type MachineRole string
const ( Master MachineRole = "Master" Node MachineRole = "Node" )
type Metadata ¶
type Metadata struct { BootMac string `json:"bootMac,omitempty"` OwnerData map[string]string `json:"ownerData,omitempty"` Rack string `json:"rack,omitempty"` Tags []string `json:"tags,omitempty"` }
Metadata
func (*Metadata) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.
func (*Metadata) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Metadata2 ¶
type Metadata2 struct { BootMac string `json:"bootMac,omitempty"` OwnerData map[string]string `json:"ownerData,omitempty"` Rack string `json:"rack,omitempty"` Tags []string `json:"tags,omitempty"` }
Metadata
func (*Metadata2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata2.
func (*Metadata2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Network ¶
type Network struct { // Vnet defines the cluster vnet. Vnet Vnet `json:"vnet,omitempty"` // InternetGatewayID is the id of the internet gateway associated with the Vnet. InternetGatewayID *string `json:"internetGatewayId,omitempty"` // SecurityGroups is a map from the role/kind of the security group to its unique name, if any. SecurityGroups map[SecurityGroupRole]*SecurityGroup `json:"securityGroups,omitempty"` // Subnets includes all the subnets defined inside the Vnet. Subnets Subnets `json:"subnets,omitempty"` // APIServerLB is the Kubernetes API server load balancer. APIServerLB LoadBalancer `json:"apiServerLb,omitempty"` // APIServerIP is the Kubernetes API server public IP address. APIServerIP PublicIPAddress `json:"apiServerIp,omitempty"` }
TODO Network encapsulates Airship networking resources.
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 NetworkLinkSpec ¶
type NetworkLinkSpec struct { AllowedNetworks []string `json:"allowedNetworks,omitempty"` Bonding *Bonding `json:"bonding,omitempty"` Labels *Labels2 `json:"labels,omitempty"` Linkspeed string `json:"linkspeed,omitempty"` Mtu float64 `json:"mtu,omitempty"` Trunking *Trunking `json:"trunking,omitempty"` }
Root
func (*NetworkLinkSpec) DeepCopy ¶
func (in *NetworkLinkSpec) DeepCopy() *NetworkLinkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkLinkSpec.
func (*NetworkLinkSpec) DeepCopyInto ¶
func (in *NetworkLinkSpec) DeepCopyInto(out *NetworkLinkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkSpec ¶
type NetworkSpec struct { Cidr string `json:"cidr,omitempty"` DhcpRelay *DhcpRelay `json:"dhcpRelay,omitempty"` Dns *Dns `json:"dns,omitempty"` Labels *Labels `json:"labels,omitempty"` Mtu float64 `json:"mtu,omitempty"` Ranges []*RangesItems `json:"ranges,omitempty"` Routedomain string `json:"routedomain,omitempty"` Routes []*RoutesItems `json:"routes,omitempty"` Vlan string `json:"vlan,omitempty"` }
Root
func (*NetworkSpec) DeepCopy ¶
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶
func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeFilter ¶
type NodeFilter struct { FilterSet []*FilterSetItems `json:"filterSet,omitempty"` FilterSetType string `json:"filterSetType,omitempty"` }
NodeFilter
func (*NodeFilter) DeepCopy ¶
func (in *NodeFilter) DeepCopy() *NodeFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeFilter.
func (*NodeFilter) DeepCopyInto ¶
func (in *NodeFilter) DeepCopyInto(out *NodeFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeLabels ¶
NodeLabels
func (*NodeLabels) DeepCopy ¶
func (in *NodeLabels) DeepCopy() *NodeLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeLabels.
func (*NodeLabels) DeepCopyInto ¶
func (in *NodeLabels) DeepCopyInto(out *NodeLabels)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Oob ¶
type Oob struct { Account string `json:"account,omitempty"` // AdditionalProperties map[string]interface{} `json:"-,omitempty"` Credetial string `json:"credetial,omitempty"` Network string `json:"network,omitempty"` Type string `json:"type,omitempty"` }
Oob
func (*Oob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oob.
func (*Oob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Oob2 ¶
type Oob2 struct { Account string `json:"account,omitempty"` // AdditionalProperties map[string]interface{} `json:"-,omitempty"` Credetial string `json:"credetial,omitempty"` Network string `json:"network,omitempty"` Type string `json:"type,omitempty"` }
Oob
func (*Oob2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oob2.
func (*Oob2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartitionsItems ¶
type PartitionsItems struct { Bootable bool `json:"bootable,omitempty"` Filesystem *Filesystem `json:"filesystem,omitempty"` Labels map[string]string `json:"labels,omitempty"` Name string `json:"name,omitempty"` PartUuid string `json:"partUuid,omitempty"` Size string `json:"size,omitempty"` VolumeGroup string `json:"volumeGroup,omitempty"` }
PartitionsItems
func (*PartitionsItems) DeepCopy ¶
func (in *PartitionsItems) DeepCopy() *PartitionsItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionsItems.
func (*PartitionsItems) DeepCopyInto ¶
func (in *PartitionsItems) DeepCopyInto(out *PartitionsItems)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PartitionsItems2 ¶
type PartitionsItems2 struct { Bootable bool `json:"bootable,omitempty"` Filesystem *Filesystem2 `json:"filesystem,omitempty"` Labels map[string]string `json:"labels,omitempty"` Name string `json:"name,omitempty"` PartUuid string `json:"partUuid,omitempty"` Size string `json:"size,omitempty"` VolumeGroup string `json:"volumeGroup,omitempty"` }
PartitionsItems
func (*PartitionsItems2) DeepCopy ¶
func (in *PartitionsItems2) DeepCopy() *PartitionsItems2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartitionsItems2.
func (*PartitionsItems2) DeepCopyInto ¶
func (in *PartitionsItems2) DeepCopyInto(out *PartitionsItems2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PhysicalDevicesItem ¶
type PhysicalDevicesItem struct { Labels map[string]string `json:"labels,omitempty"` Partitions []*PartitionsItems `json:"partitions,omitempty"` VolumeGroup string `json:"volumeGroup,omitempty"` }
PhysicalDevicesItem
func (*PhysicalDevicesItem) DeepCopy ¶
func (in *PhysicalDevicesItem) DeepCopy() *PhysicalDevicesItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhysicalDevicesItem.
func (*PhysicalDevicesItem) DeepCopyInto ¶
func (in *PhysicalDevicesItem) DeepCopyInto(out *PhysicalDevicesItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PhysicalDevicesItem2 ¶
type PhysicalDevicesItem2 struct { Labels map[string]string `json:"labels,omitempty"` Partitions []*PartitionsItems2 `json:"partitions,omitempty"` VolumeGroup string `json:"volumeGroup,omitempty"` }
PhysicalDevicesItem
func (*PhysicalDevicesItem2) DeepCopy ¶
func (in *PhysicalDevicesItem2) DeepCopy() *PhysicalDevicesItem2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhysicalDevicesItem2.
func (*PhysicalDevicesItem2) DeepCopyInto ¶
func (in *PhysicalDevicesItem2) DeepCopyInto(out *PhysicalDevicesItem2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PhysicalProvisioner ¶
type PhysicalProvisioner struct { DeployInterval int `json:"deployInterval,omitempty"` DeployTimeout int `json:"deployTimeout,omitempty"` DeploymentStrategy string `json:"deploymentStrategy,omitempty"` DestroyInterval int `json:"destroyInterval,omitempty"` DestroyTimeout int `json:"destroyTimeout,omitempty"` JoinWait int `json:"joinWait,omitempty"` PrepareNodeInterval int `json:"prepareNodeInterval,omitempty"` PrepareNodeTimeout int `json:"prepareNodeTimeout,omitempty"` PrepareSiteInterval int `json:"prepareSiteInterval,omitempty"` PrepareSiteTimeout int `json:"prepareSiteTimeout,omitempty"` RelabelNodesInterval int `json:"relabelNodesInterval,omitempty"` RelabelNodesTimeout int `json:"relabelNodesTimeout,omitempty"` VerifyInterval int `json:"verifyInterval,omitempty"` VerifyTimeout int `json:"verifyTimeout,omitempty"` }
PhysicalProvisioner
func (*PhysicalProvisioner) DeepCopy ¶
func (in *PhysicalProvisioner) DeepCopy() *PhysicalProvisioner
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhysicalProvisioner.
func (*PhysicalProvisioner) DeepCopyInto ¶
func (in *PhysicalProvisioner) DeepCopyInto(out *PhysicalProvisioner)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Platform ¶
type Platform struct { Image string `json:"image,omitempty"` Kernel string `json:"kernel,omitempty"` KernelParams *KernelParams `json:"kernelParams,omitempty"` }
Platform
func (*Platform) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Platform.
func (*Platform) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Platform2 ¶
type Platform2 struct { Image string `json:"image,omitempty"` Kernel string `json:"kernel,omitempty"` KernelParams *KernelParams2 `json:"kernelParams,omitempty"` }
Platform
func (*Platform2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Platform2.
func (*Platform2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicIPAddress ¶
PublicIPAddress defines an Airship public IP address.
func (*PublicIPAddress) DeepCopy ¶
func (in *PublicIPAddress) DeepCopy() *PublicIPAddress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIPAddress.
func (*PublicIPAddress) DeepCopyInto ¶
func (in *PublicIPAddress) DeepCopyInto(out *PublicIPAddress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RackLabels ¶
RackLabels
func (*RackLabels) DeepCopy ¶
func (in *RackLabels) DeepCopy() *RackLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RackLabels.
func (*RackLabels) DeepCopyInto ¶
func (in *RackLabels) DeepCopyInto(out *RackLabels)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RackSpec ¶
type RackSpec struct { Labels *Labels3 `json:"labels,omitempty"` LocalNetworks []string `json:"localNetworks,omitempty"` Location *Location `json:"location,omitempty"` TorSwitches *TorSwitches `json:"torSwitches,omitempty"` }
Root
func (*RackSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RackSpec.
func (*RackSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RangesItems ¶
type RangesItems struct { End string `json:"end,omitempty"` Start string `json:"start,omitempty"` Type string `json:"type,omitempty"` }
RangesItems
func (*RangesItems) DeepCopy ¶
func (in *RangesItems) DeepCopy() *RangesItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangesItems.
func (*RangesItems) DeepCopyInto ¶
func (in *RangesItems) DeepCopyInto(out *RangesItems)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegionSpec ¶
type RegionSpec struct { AuthorizedKeys []string `json:"authorizedKeys,omitempty"` Repositories *Repositories `json:"repositories,omitempty"` TagDefinitions []*TagDefinitionsItems `json:"tagDefinitions,omitempty"` }
Root
func (*RegionSpec) DeepCopy ¶
func (in *RegionSpec) DeepCopy() *RegionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegionSpec.
func (*RegionSpec) DeepCopyInto ¶
func (in *RegionSpec) DeepCopyInto(out *RegionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repositories ¶
type Repositories struct {
RemoveUnlisted bool `json:"removeUnlisted,omitempty"`
}
Repositories
func (*Repositories) DeepCopy ¶
func (in *Repositories) DeepCopy() *Repositories
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repositories.
func (*Repositories) DeepCopyInto ¶
func (in *Repositories) DeepCopyInto(out *Repositories)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteTable ¶
type RouteTable struct {
ID string `json:"id"`
}
RouteTable defines an Airship routing table.
func (*RouteTable) DeepCopy ¶
func (in *RouteTable) DeepCopy() *RouteTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTable.
func (*RouteTable) DeepCopyInto ¶
func (in *RouteTable) DeepCopyInto(out *RouteTable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoutesItems ¶
type RoutesItems struct { Gateway string `json:"gateway,omitempty"` Metric float64 `json:"metric,omitempty"` Routedomain string `json:"routedomain,omitempty"` Subnet string `json:"subnet,omitempty"` }
RoutesItems
func (*RoutesItems) DeepCopy ¶
func (in *RoutesItems) DeepCopy() *RoutesItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoutesItems.
func (*RoutesItems) DeepCopyInto ¶
func (in *RoutesItems) DeepCopyInto(out *RoutesItems)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroup ¶
type SecurityGroup struct { ID string `json:"id"` Name string `json:"name"` IngressRules IngressRules `json:"ingressRule"` }
TODO SecurityGroup defines an Airship security group.
func (*SecurityGroup) DeepCopy ¶
func (in *SecurityGroup) DeepCopy() *SecurityGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup.
func (*SecurityGroup) DeepCopyInto ¶
func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupProtocol ¶
type SecurityGroupProtocol string
TODO SecurityGroupProtocol defines the protocol type for a security group rule.
type SecurityGroupRole ¶
type SecurityGroupRole string
SecurityGroupRole defines the unique role of a security group.
type SelectorsItems ¶
type SelectorsItems struct { NodeLabels []string `json:"nodeLabels,omitempty"` NodeNames []string `json:"nodeNames,omitempty"` NodeTags []string `json:"nodeTags,omitempty"` RackNames []string `json:"rackNames,omitempty"` }
SelectorsItems
func (*SelectorsItems) DeepCopy ¶
func (in *SelectorsItems) DeepCopy() *SelectorsItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectorsItems.
func (*SelectorsItems) DeepCopyInto ¶
func (in *SelectorsItems) DeepCopyInto(out *SelectorsItems)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Sriov ¶
type Sriov struct { Trustmode bool `json:"trustmode,omitempty"` VfCount float64 `json:"vfCount,omitempty"` }
Sriov
func (*Sriov) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sriov.
func (*Sriov) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Storage ¶
type Storage struct { PhysicalDevices map[string]*PhysicalDevicesItem `json:"physicalDevices,omitempty"` VolumeGroups map[string]*VolumeGroupsItem `json:"volumeGroups,omitempty"` }
Storage
func (*Storage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Storage2 ¶
type Storage2 struct { PhysicalDevices map[string]*PhysicalDevicesItem2 `json:"physicalDevices,omitempty"` VolumeGroups map[string]*VolumeGroupsItem2 `json:"volumeGroups,omitempty"` }
Storage
func (*Storage2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage2.
func (*Storage2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subnet ¶
type Subnet struct { ID string `json:"id"` VnetID string `json:"vnetId"` CidrBlock string `json:"cidrBlock"` NSGID string `json:"nsgId"` RouteTableID *string `json:"routeTableId"` }
Subnet defines an Airship subnet attached to a Vnet.
func (*Subnet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subnets ¶
type Subnets []*Subnet
TODO Subnets is a slice of Subnet.
func (Subnets) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnets.
func (Subnets) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SuccessCriteria ¶
type SuccessCriteria struct { MaximumFailedNodes int `json:"maximumFailedNodes,omitempty"` MinimumSuccessfulNodes int `json:"minimumSuccessfulNodes,omitempty"` PercentSuccessfulNodes int `json:"percentSuccessfulNodes,omitempty"` }
SuccessCriteria
func (*SuccessCriteria) DeepCopy ¶
func (in *SuccessCriteria) DeepCopy() *SuccessCriteria
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuccessCriteria.
func (*SuccessCriteria) DeepCopyInto ¶
func (in *SuccessCriteria) DeepCopyInto(out *SuccessCriteria)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagDefinitionsItems ¶
type TagDefinitionsItems struct { Definition string `json:"definition,omitempty"` DefinitionType string `json:"definitionType,omitempty"` Tag string `json:"tag,omitempty"` }
TagDefinitionsItems
func (*TagDefinitionsItems) DeepCopy ¶
func (in *TagDefinitionsItems) DeepCopy() *TagDefinitionsItems
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagDefinitionsItems.
func (*TagDefinitionsItems) DeepCopyInto ¶
func (in *TagDefinitionsItems) DeepCopyInto(out *TagDefinitionsItems)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TorSwitches ¶
type TorSwitches struct { MgmtIp string `json:"mgmtIp,omitempty"` SdnApiUri string `json:"sdnApiUri,omitempty"` }
TorSwitches
func (*TorSwitches) DeepCopy ¶
func (in *TorSwitches) DeepCopy() *TorSwitches
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TorSwitches.
func (*TorSwitches) DeepCopyInto ¶
func (in *TorSwitches) DeepCopyInto(out *TorSwitches)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Trunking ¶
type Trunking struct { DefaultNetwork string `json:"defaultNetwork,omitempty"` Mode string `json:"mode,omitempty"` }
Trunking
func (*Trunking) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trunking.
func (*Trunking) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Vnet ¶
type Vnet struct { ID string `json:"id"` CidrBlock string `json:"cidrBlock"` Name *string `json:"name,omitempty"` Tags map[string]*string `json:"tags"` }
Vnet defines an Airship Virtual Network.
func (*Vnet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vnet.
func (*Vnet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeGroupsItem ¶
type VolumeGroupsItem struct { LogicalVolumes []*LogicalVolumesItems `json:"logicalVolumes,omitempty"` VgUuid string `json:"vgUuid,omitempty"` }
VolumeGroupsItem
func (*VolumeGroupsItem) DeepCopy ¶
func (in *VolumeGroupsItem) DeepCopy() *VolumeGroupsItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupsItem.
func (*VolumeGroupsItem) DeepCopyInto ¶
func (in *VolumeGroupsItem) DeepCopyInto(out *VolumeGroupsItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeGroupsItem2 ¶
type VolumeGroupsItem2 struct { LogicalVolumes []*LogicalVolumesItems2 `json:"logicalVolumes,omitempty"` VgUuid string `json:"vgUuid,omitempty"` }
VolumeGroupsItem
func (*VolumeGroupsItem2) DeepCopy ¶
func (in *VolumeGroupsItem2) DeepCopy() *VolumeGroupsItem2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupsItem2.
func (*VolumeGroupsItem2) DeepCopyInto ¶
func (in *VolumeGroupsItem2) DeepCopyInto(out *VolumeGroupsItem2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- airshipclusterproviderconfig_types.go
- airshipclusterproviderstatus_types.go
- airshipmachineproviderconfig_types.go
- airshipmachineproviderstatus_types.go
- baremetalnode.go
- bootaction.go
- deploymentconfiguration.go
- deploymentstrategy.go
- doc.go
- hardwareprofile.go
- hostprofile.go
- network.go
- networklink.go
- rack.go
- region.go
- register.go
- types.go
- zz_generated.deepcopy.go