Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=samsung.cnct.com
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type CloudProviderCredentials
- type CloudProviderInfo
- type CloudProviderName
- type ClusterInfo
- type FabricInfo
- type KrakenCluster
- type KrakenClusterList
- type KrakenClusterSpec
- type KrakenClusterState
- type KrakenClusterStatus
- type NodeProperties
- type ProvisionerInfo
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: samplecontroller.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CloudProviderCredentials ¶
type CloudProviderCredentials struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Accesskey string `json:"accesskey,omitempty"` Secretname string `json:"secretname,omitempty"` }
func (*CloudProviderCredentials) DeepCopy ¶
func (in *CloudProviderCredentials) DeepCopy() *CloudProviderCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProviderCredentials.
func (*CloudProviderCredentials) DeepCopyInto ¶
func (in *CloudProviderCredentials) DeepCopyInto(out *CloudProviderCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudProviderInfo ¶
type CloudProviderInfo struct { Name CloudProviderName `json:"name"` Credentials CloudProviderCredentials `json:"credentials,omitempty"` Region string `json:"region,omitempty"` }
func (*CloudProviderInfo) DeepCopy ¶
func (in *CloudProviderInfo) DeepCopy() *CloudProviderInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProviderInfo.
func (*CloudProviderInfo) DeepCopyInto ¶
func (in *CloudProviderInfo) DeepCopyInto(out *CloudProviderInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudProviderName ¶
type CloudProviderName string
const ( AwsProvider CloudProviderName = "aws" MaasProvider CloudProviderName = "maas" AzureProvider CloudProviderName = "azure" )
type ClusterInfo ¶
type ClusterInfo struct { ClusterName string `json:"clusterName"` Fabric FabricInfo `json:"fabric"` NodePools []NodeProperties `json:"nodePools"` }
func (*ClusterInfo) DeepCopy ¶
func (in *ClusterInfo) DeepCopy() *ClusterInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInfo.
func (*ClusterInfo) DeepCopyInto ¶
func (in *ClusterInfo) DeepCopyInto(out *ClusterInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FabricInfo ¶
type FabricInfo struct {
Name string `json:"name"`
}
func (*FabricInfo) DeepCopy ¶
func (in *FabricInfo) DeepCopy() *FabricInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricInfo.
func (*FabricInfo) DeepCopyInto ¶
func (in *FabricInfo) DeepCopyInto(out *FabricInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KrakenCluster ¶
type KrakenCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KrakenClusterSpec `json:"spec"` Status KrakenClusterStatus `json:"status"` }
KrakenCluster describes a krakencluster.
func (*KrakenCluster) DeepCopy ¶
func (in *KrakenCluster) DeepCopy() *KrakenCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KrakenCluster.
func (*KrakenCluster) DeepCopyInto ¶
func (in *KrakenCluster) DeepCopyInto(out *KrakenCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KrakenCluster) DeepCopyObject ¶
func (in *KrakenCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KrakenClusterList ¶
type KrakenClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []KrakenCluster `json:"items"` }
KrakenClusterList is a list of KrakenCluster resources
func (*KrakenClusterList) DeepCopy ¶
func (in *KrakenClusterList) DeepCopy() *KrakenClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KrakenClusterList.
func (*KrakenClusterList) DeepCopyInto ¶
func (in *KrakenClusterList) DeepCopyInto(out *KrakenClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KrakenClusterList) DeepCopyObject ¶
func (in *KrakenClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KrakenClusterSpec ¶
type KrakenClusterSpec struct { CustomerID string `json:"customerID"` CloudProvider CloudProviderInfo `json:"cloudProvider"` Provisioner ProvisionerInfo `json:"provisioner"` Cluster ClusterInfo `json:"cluster"` }
KrakenClusterSpec is the spec for a KrakenCluster resource
func (*KrakenClusterSpec) DeepCopy ¶
func (in *KrakenClusterSpec) DeepCopy() *KrakenClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KrakenClusterSpec.
func (*KrakenClusterSpec) DeepCopyInto ¶
func (in *KrakenClusterSpec) DeepCopyInto(out *KrakenClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KrakenClusterState ¶
type KrakenClusterState string
const ( Unknown KrakenClusterState = "" Creating KrakenClusterState = "Creating" Created KrakenClusterState = "Created" Deleting KrakenClusterState = "Deleting" Deleted KrakenClusterState = "Deleted" )
type KrakenClusterStatus ¶
type KrakenClusterStatus struct { Status string `json:"status"` State KrakenClusterState `json:"state"` Kubeconfig string `json:"kubeconfig"` }
func (*KrakenClusterStatus) DeepCopy ¶
func (in *KrakenClusterStatus) DeepCopy() *KrakenClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KrakenClusterStatus.
func (*KrakenClusterStatus) DeepCopyInto ¶
func (in *KrakenClusterStatus) DeepCopyInto(out *KrakenClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeProperties ¶
type NodeProperties struct { Name string `json:"name"` Size uint32 `json:"size"` Os string `json:"os"` MachineType string `json:"machineType"` PublicIPs bool `json:"publicIPs,omitempty"` }
func (*NodeProperties) DeepCopy ¶
func (in *NodeProperties) DeepCopy() *NodeProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeProperties.
func (*NodeProperties) DeepCopyInto ¶
func (in *NodeProperties) DeepCopyInto(out *NodeProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProvisionerInfo ¶
type ProvisionerInfo struct { Name string `json:"name"` Bundle string `json:"bundle,omitempty"` MaasEndpoint string `json:"maasEndpoint,omitempty"` }
func (*ProvisionerInfo) DeepCopy ¶
func (in *ProvisionerInfo) DeepCopy() *ProvisionerInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerInfo.
func (*ProvisionerInfo) DeepCopyInto ¶
func (in *ProvisionerInfo) DeepCopyInto(out *ProvisionerInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.