v1alpha1

package
v0.0.0-...-8de644a Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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}
)
View Source
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

View Source
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

View Source
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")
)
View Source
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

View Source
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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipClusterProviderSpec.

func (*AirshipClusterProviderSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipClusterProviderStatus.

func (*AirshipClusterProviderStatus) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipMachineProviderCondition.

func (*AirshipMachineProviderCondition) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipMachineProviderSpec.

func (*AirshipMachineProviderSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirshipMachineProviderStatus.

func (*AirshipMachineProviderStatus) DeepCopyInto

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

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

func (in *Armada) DeepCopy() *Armada

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Armada.

func (*Armada) DeepCopyInto

func (in *Armada) DeepCopyInto(out *Armada)

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

func (in *Bonding) DeepCopy() *Bonding

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bonding.

func (*Bonding) DeepCopyInto

func (in *Bonding) DeepCopyInto(out *Bonding)

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfigurationSpec.

func (*DeploymentConfigurationSpec) DeepCopyInto

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

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

type DeviceAliases struct {
	AdditionalProperties map[string]string `json:"-,omitempty"`
}

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

func (in *DhcpRelay) DeepCopy() *DhcpRelay

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DhcpRelay.

func (*DhcpRelay) DeepCopyInto

func (in *DhcpRelay) DeepCopyInto(out *DhcpRelay)

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

func (in *Dns) DeepCopy() *Dns

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dns.

func (*Dns) DeepCopyInto

func (in *Dns) DeepCopyInto(out *Dns)

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

func (in *Instance) DeepCopy() *Instance

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.

func (*Instance) DeepCopyInto

func (in *Instance) DeepCopyInto(out *Instance)

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

type KernelParams2 struct {
	AdditionalProperties map[string]string `json:"-,omitempty"`
}

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

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

type Labels struct {
	AdditionalProperties map[string]string `json:"-,omitempty"`
}

Labels

func (*Labels) DeepCopy

func (in *Labels) DeepCopy() *Labels

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Labels.

func (*Labels) DeepCopyInto

func (in *Labels) DeepCopyInto(out *Labels)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Labels2

type Labels2 struct {
	AdditionalProperties map[string]string `json:"-,omitempty"`
}

Labels

func (*Labels2) DeepCopy

func (in *Labels2) DeepCopy() *Labels2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Labels2.

func (*Labels2) DeepCopyInto

func (in *Labels2) DeepCopyInto(out *Labels2)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Labels3

type Labels3 struct {
	AdditionalProperties map[string]string `json:"-,omitempty"`
}

Labels

func (*Labels3) DeepCopy

func (in *Labels3) DeepCopy() *Labels3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Labels3.

func (*Labels3) DeepCopyInto

func (in *Labels3) DeepCopyInto(out *Labels3)

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

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

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

type Location struct {
	Clli string `json:"clli,omitempty"`
	Grid string `json:"grid,omitempty"`
}

Location

func (*Location) DeepCopy

func (in *Location) DeepCopy() *Location

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Location.

func (*Location) DeepCopyInto

func (in *Location) DeepCopyInto(out *Location)

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

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

func (in *Metadata) DeepCopy() *Metadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.

func (*Metadata) DeepCopyInto

func (in *Metadata) DeepCopyInto(out *Metadata)

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

func (in *Metadata2) DeepCopy() *Metadata2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata2.

func (*Metadata2) DeepCopyInto

func (in *Metadata2) DeepCopyInto(out *Metadata2)

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

func (in *Network) DeepCopy() *Network

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.

func (*Network) DeepCopyInto

func (in *Network) DeepCopyInto(out *Network)

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

type NodeLabels struct {
	AdditionalProperties map[string]string `json:"-,omitempty"`
}

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

func (in *Oob) DeepCopy() *Oob

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oob.

func (*Oob) DeepCopyInto

func (in *Oob) DeepCopyInto(out *Oob)

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

func (in *Oob2) DeepCopy() *Oob2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oob2.

func (*Oob2) DeepCopyInto

func (in *Oob2) DeepCopyInto(out *Oob2)

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

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

func (in *Platform) DeepCopy() *Platform

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Platform.

func (*Platform) DeepCopyInto

func (in *Platform) DeepCopyInto(out *Platform)

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

func (in *Platform2) DeepCopy() *Platform2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Platform2.

func (*Platform2) DeepCopyInto

func (in *Platform2) DeepCopyInto(out *Platform2)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PublicIPAddress

type PublicIPAddress struct {
	ID        string `json:"id"`
	IPAddress string `json:"ipAddress"`
}

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

type RackLabels struct {
	AdditionalProperties map[string]string `json:"-,omitempty"`
}

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

func (in *RackSpec) DeepCopy() *RackSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RackSpec.

func (*RackSpec) DeepCopyInto

func (in *RackSpec) DeepCopyInto(out *RackSpec)

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

func (in *Sriov) DeepCopy() *Sriov

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sriov.

func (*Sriov) DeepCopyInto

func (in *Sriov) DeepCopyInto(out *Sriov)

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

func (in *Storage) DeepCopy() *Storage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.

func (*Storage) DeepCopyInto

func (in *Storage) DeepCopyInto(out *Storage)

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

func (in *Storage2) DeepCopy() *Storage2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage2.

func (*Storage2) DeepCopyInto

func (in *Storage2) DeepCopyInto(out *Storage2)

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

func (in *Subnet) DeepCopy() *Subnet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

func (in Subnets) DeepCopy() Subnets

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnets.

func (Subnets) DeepCopyInto

func (in Subnets) DeepCopyInto(out *Subnets)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Subnets) ToMap

func (s Subnets) ToMap() map[string]*Subnet

TODO ToMap returns a map from id to subnet.

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

func (in *Trunking) DeepCopy() *Trunking

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trunking.

func (*Trunking) DeepCopyInto

func (in *Trunking) DeepCopyInto(out *Trunking)

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

func (in *Vnet) DeepCopy() *Vnet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vnet.

func (*Vnet) DeepCopyInto

func (in *Vnet) DeepCopyInto(out *Vnet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Vnet) String

func (v *Vnet) String() string

TODO: Do we need this? String returns a string representation of the Vnet.

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.

Jump to

Keyboard shortcuts

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