Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the baaz.dev v1 API group +kubebuilder:object:generate=true +groupName=baaz.dev
Index ¶
- Constants
- Variables
- type AWSAuthSecretRef
- type AppSpec
- type ApplicationPhase
- type ApplicationSpec
- type ApplicationStatus
- type ApplicationType
- type Applications
- type ApplicationsList
- type AwsAuth
- type AwsCloudInfraConfig
- type AwsCloudInfraConfigStatus
- type ChartSpec
- type CloudAuth
- type CloudInfraConfig
- type CloudInfraStatus
- type CloudType
- type Customer
- type DataPlane
- type DataPlaneCondition
- type DataPlaneConditionType
- type DataPlanePhase
- type DataPlaneSpec
- type DataPlaneStatus
- type DataPlanes
- type DataPlanesList
- type EKSConfig
- type EksConfig
- type EksStatus
- type HTTPApplication
- type HTTPTenant
- type HTTPTenantApplication
- type HTTPTenantSizes
- type IsolationConfig
- type KubernetesConfig
- type MachineConfig
- type MachineSpec
- type MachineType
- type NetworkConfig
- type NetworkRules
- type NetworkSecurity
- type NodegroupStatus
- type SaaSTypes
- type StrictSchedulingStatus
- type TenantApplicationConfig
- type TenantDeploymentType
- type TenantPhase
- type TenantSizes
- type Tenants
- type TenantsInfra
- type TenantsInfraList
- type TenantsInfraSpec
- type TenantsInfraStatus
- type TenantsList
- type TenantsSpec
- type TenantsStatus
Constants ¶
const ( PrivateModeNSLabelKey = "private_mode" PrivateObjectLabelKey = "private_object" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "baaz.dev", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AWSAuthSecretRef ¶
type AWSAuthSecretRef struct { SecretName string `json:"secretName"` AccessKeyName string `json:"accessKeyName"` SecretKeyName string `json:"secretKeyName"` }
func (*AWSAuthSecretRef) DeepCopy ¶
func (in *AWSAuthSecretRef) DeepCopy() *AWSAuthSecretRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAuthSecretRef.
func (*AWSAuthSecretRef) DeepCopyInto ¶
func (in *AWSAuthSecretRef) DeepCopyInto(out *AWSAuthSecretRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppSpec ¶
type AppSpec struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` Spec ChartSpec `json:"spec"` }
func (*AppSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec.
func (*AppSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationPhase ¶
type ApplicationPhase string
const ( PendingA ApplicationPhase = "Pending" UninstallingA ApplicationPhase = "Uninstalling" Uninstalled ApplicationPhase = "Uninstalled" DeployedA ApplicationPhase = "Deployed" InstallingA ApplicationPhase = "Installing" FailedA ApplicationPhase = "Failed" )
type ApplicationSpec ¶
type ApplicationSpec struct { Dataplane string `json:"dataplane"` Tenant string `json:"tenant"` Applications []AppSpec `json:"applications"` }
ApplicationSpec defines the desired state of Application
func (*ApplicationSpec) DeepCopy ¶
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationStatus ¶
type ApplicationStatus struct { Phase ApplicationPhase `json:"phase,omitempty"` ApplicationCurrentSpec ApplicationSpec `json:"applicationCurrentSpec,omitempty"` AppStatus map[string]ApplicationPhase `json:"appStatus,omitempty"` }
func (*ApplicationStatus) DeepCopy ¶
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationType ¶
type ApplicationType string
type Applications ¶
type Applications struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApplicationSpec `json:"spec,omitempty"` Status ApplicationStatus `json:"status,omitempty"` }
Application is the Schema for the applications API
func (*Applications) DeepCopy ¶
func (in *Applications) DeepCopy() *Applications
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Applications.
func (*Applications) DeepCopyInto ¶
func (in *Applications) DeepCopyInto(out *Applications)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Applications) DeepCopyObject ¶
func (in *Applications) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationsList ¶
type ApplicationsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Applications `json:"items"` }
ApplicationList contains a list of Application
func (*ApplicationsList) DeepCopy ¶
func (in *ApplicationsList) DeepCopy() *ApplicationsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationsList.
func (*ApplicationsList) DeepCopyInto ¶
func (in *ApplicationsList) DeepCopyInto(out *ApplicationsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationsList) DeepCopyObject ¶
func (in *ApplicationsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AwsAuth ¶
type AwsAuth struct { AwsAccessKey string `json:"aws_access_key"` AwsSecretKey string `json:"aws_secret_key"` }
func (*AwsAuth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsAuth.
func (*AwsAuth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AwsCloudInfraConfig ¶
type AwsCloudInfraConfig struct { // AuthSecretRef holds the secret info which contains aws secret key & access key info // Secret must be in the same namespace as dataplane AuthSecretRef AWSAuthSecretRef `json:"authSecretRef"` ProvisionNetwork bool `json:"provisionNetwork,omitempty"` // if ProvisionNetwork is set as True, users can set VpcCidr otherwise controller will generate a random cidr VpcCidr string `json:"vpcCidr,omitempty"` Eks EksConfig `json:"eks,omitempty"` }
func (*AwsCloudInfraConfig) DeepCopy ¶
func (in *AwsCloudInfraConfig) DeepCopy() *AwsCloudInfraConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsCloudInfraConfig.
func (*AwsCloudInfraConfig) DeepCopyInto ¶
func (in *AwsCloudInfraConfig) DeepCopyInto(out *AwsCloudInfraConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AwsCloudInfraConfigStatus ¶
type AwsCloudInfraConfigStatus struct { Vpc string `json:"vpc,omitempty"` SubnetIds []string `json:"subnetIds,omitempty"` SecurityGroupIds []string `json:"securityGroupIds,omitempty"` NATGatewayId string `json:"natGatewayId,omitempty"` NATAttachedWithRT bool `json:"natAttchedWithRT,omitempty"` SGInboundRuleAdded bool `json:"sgInboundRuleAdded,omitempty"` InternetGatewayId string `json:"internetGatewayId,omitempty"` PublicRTId string `json:"publicRTId,omitempty"` LBArns []string `json:"lbArns,omitempty"` EksStatus EksStatus `json:"eksStatus,omitempty"` Roles map[string]bool `json:"roles,omitempty"` }
func (*AwsCloudInfraConfigStatus) DeepCopy ¶
func (in *AwsCloudInfraConfigStatus) DeepCopy() *AwsCloudInfraConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsCloudInfraConfigStatus.
func (*AwsCloudInfraConfigStatus) DeepCopyInto ¶
func (in *AwsCloudInfraConfigStatus) DeepCopyInto(out *AwsCloudInfraConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartSpec ¶
type ChartSpec struct { ChartName string `json:"chartName"` RepoName string `json:"repoName"` RepoUrl string `json:"repoUrl"` Version string `json:"version"` Values []string `json:"values,omitempty"` }
func (*ChartSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartSpec.
func (*ChartSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudAuth ¶
type CloudAuth struct {
AwsAuth AwsAuth `json:"aws_auth"`
}
func (*CloudAuth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudAuth.
func (*CloudAuth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudInfraConfig ¶
type CloudInfraConfig struct { // CloudType CloudType CloudType `json:"cloudType"` Region string `json:"region"` AwsCloudInfraConfig `json:",inline,omitempty"` }
func (*CloudInfraConfig) DeepCopy ¶
func (in *CloudInfraConfig) DeepCopy() *CloudInfraConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudInfraConfig.
func (*CloudInfraConfig) DeepCopyInto ¶
func (in *CloudInfraConfig) DeepCopyInto(out *CloudInfraConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudInfraStatus ¶
type CloudInfraStatus struct { Type string `json:"type,omitempty"` AwsCloudInfraConfigStatus `json:",inline,omitempty"` }
func (*CloudInfraStatus) DeepCopy ¶
func (in *CloudInfraStatus) DeepCopy() *CloudInfraStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudInfraStatus.
func (*CloudInfraStatus) DeepCopyInto ¶
func (in *CloudInfraStatus) DeepCopyInto(out *CloudInfraStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Customer ¶
type Customer struct { SaaSType SaaSTypes `json:"saas_type"` CloudType CloudType `json:"cloud_type"` Labels map[string]string `json:"labels"` }
func (*Customer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Customer.
func (*Customer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPlane ¶
type DataPlane struct { CustomerName string `json:"customer_name,omitempty"` CloudType CloudType `json:"cloud_type"` CloudRegion string `json:"cloud_region"` CloudAuth CloudAuth `json:"cloud_auth"` ProvisionNetwork bool `json:"provision_network"` VpcCidr string `json:"vpc_cidr"` KubeConfig KubernetesConfig `json:"kubernetes_config"` ApplicationConfig []HTTPApplication `json:"application_config,omitempty"` }
func (*DataPlane) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlane.
func (*DataPlane) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPlaneCondition ¶
type DataPlaneCondition struct { // Type of deployment condition. Type DataPlaneConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=DeploymentConditionType"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,6,opt,name=lastUpdateTime"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,7,opt,name=lastTransitionTime"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"` // A human readable message indicating details about the transition. Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"` }
DataPlaneCondition describes the state of a deployment at a certain point.
func (*DataPlaneCondition) DeepCopy ¶
func (in *DataPlaneCondition) DeepCopy() *DataPlaneCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlaneCondition.
func (*DataPlaneCondition) DeepCopyInto ¶
func (in *DataPlaneCondition) DeepCopyInto(out *DataPlaneCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPlaneConditionType ¶
type DataPlaneConditionType string
const ( ControlPlaneCreateInitiated DataPlaneConditionType = "ControlPlaneCreateInitiated" ControlPlaneCreated DataPlaneConditionType = "ControlPlaneCreated" NodeGroupCreateInitiated DataPlaneConditionType = "NodeGroupCreateInitiated" NodeGroupCreated DataPlaneConditionType = "NodeGroupCreated" VersionUpgradeInitiated DataPlaneConditionType = "VersionUpgradeInitiated" VersionUpgradeSuccessful DataPlaneConditionType = "VersionUpgradeSuccessful" )
type DataPlanePhase ¶
type DataPlanePhase string
const ( PendingD DataPlanePhase = "Pending" CreatingD DataPlanePhase = "Creating" ActiveD DataPlanePhase = "Active" FailedD DataPlanePhase = "Failed" UpdatingD DataPlanePhase = "Updating" TerminatingD DataPlanePhase = "Terminating" )
type DataPlaneSpec ¶
type DataPlaneSpec struct { // Cloud can be any pubic name ie aws, gcp, azure. CloudInfra CloudInfraConfig `json:"cloudInfra"` Applications []AppSpec `json:"applications"` }
DataPlaneSpec defines the desired state of DataPlane
func (*DataPlaneSpec) DeepCopy ¶
func (in *DataPlaneSpec) DeepCopy() *DataPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlaneSpec.
func (*DataPlaneSpec) DeepCopyInto ¶
func (in *DataPlaneSpec) DeepCopyInto(out *DataPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPlaneStatus ¶
type DataPlaneStatus struct { Phase DataPlanePhase `json:"phase,omitempty"` CloudInfraStatus CloudInfraStatus `json:"cloudInfraStatus,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` Conditions []DataPlaneCondition `json:"conditions,omitempty"` Version string `json:"version,omitempty"` // NodegroupStatus will contain a map of node group name & status // Example: // nodegroupStatus: // druid-ng1: CREATING // druid-ng2: ACTIVE // druid-ng3: DELETING NodegroupStatus map[string]string `json:"nodegroupStatus,omitempty"` // AddonStatus holds a map of addon name & their current status // Example: // addonStatus: // aws-ebs-csi-driver: CREATING // coredns: READY AddonStatus map[string]string `json:"addonStatus,omitempty"` // AppStatus holds a map of app helm chart name and thier current status // Example: // appStatus: // nginx: Deployed // druid: Installing AppStatus map[string]ApplicationPhase `json:"appStatus,omitempty"` ClusterAutoScalerStatus ApplicationPhase `json:"clusterAutoScalerStatus,omitempty"` ClusterAutoScalerPolicyArn string `json:"clusterAutoScalerPolicyArn,omitempty"` }
DataPlaneStatus defines the observed state of DataPlane
func (*DataPlaneStatus) DeepCopy ¶
func (in *DataPlaneStatus) DeepCopy() *DataPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlaneStatus.
func (*DataPlaneStatus) DeepCopyInto ¶
func (in *DataPlaneStatus) DeepCopyInto(out *DataPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPlanes ¶
type DataPlanes struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DataPlaneSpec `json:"spec,omitempty"` Status DataPlaneStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" DataPlane is the Schema for the DataPlanes API
func (*DataPlanes) AddCondition ¶
func (e *DataPlanes) AddCondition(newCon DataPlaneCondition) []DataPlaneCondition
func (*DataPlanes) DeepCopy ¶
func (in *DataPlanes) DeepCopy() *DataPlanes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlanes.
func (*DataPlanes) DeepCopyInto ¶
func (in *DataPlanes) DeepCopyInto(out *DataPlanes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataPlanes) DeepCopyObject ¶
func (in *DataPlanes) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataPlanesList ¶
type DataPlanesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DataPlanes `json:"items"` }
+kubebuilder:object:root=true DataPlaneList contains a list of DataPlane
func (*DataPlanesList) DeepCopy ¶
func (in *DataPlanesList) DeepCopy() *DataPlanesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPlanesList.
func (*DataPlanesList) DeepCopyInto ¶
func (in *DataPlanesList) DeepCopyInto(out *DataPlanesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataPlanesList) DeepCopyObject ¶
func (in *DataPlanesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EKSConfig ¶
type EKSConfig struct { Name string `json:"name"` SubnetIds []string `json:"subnet_ids"` SecurityGroupIds []string `json:"security_group_ids"` Version string `json:"version"` }
func (*EKSConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfig.
func (*EKSConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EksConfig ¶
type EksConfig struct { Name string `json:"name,omitempty"` SubnetIds []string `json:"subnetIds,omitempty"` SecurityGroupIds []string `json:"securityGroupIds,omitempty"` Version string `json:"version,omitempty"` }
func (*EksConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EksConfig.
func (*EksConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EksStatus ¶
type EksStatus struct { ClusterId string `json:"clusterId,omitempty"` OIDCProviderArn string `json:"OIDCProviderArn,omitempty"` }
func (*EksStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EksStatus.
func (*EksStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPApplication ¶
type HTTPApplication struct { ApplicationName string `json:"name"` TenantName string `json:"tenant_name,omitempty"` Namespace string `json:"namespace,omitempty"` ChartName string `json:"chart_name"` RepoName string `json:"repo_name"` RepoURL string `json:"repo_url"` Version string `json:"version"` Values []string `json:"values,omitempty"` }
func (*HTTPApplication) DeepCopy ¶
func (in *HTTPApplication) DeepCopy() *HTTPApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPApplication.
func (*HTTPApplication) DeepCopyInto ¶
func (in *HTTPApplication) DeepCopyInto(out *HTTPApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPTenant ¶
type HTTPTenant struct { Application HTTPTenantApplication `json:"application"` NetworkSecurity NetworkSecurity `json:"network_security,omitempty"` }
func (*HTTPTenant) DeepCopy ¶
func (in *HTTPTenant) DeepCopy() *HTTPTenant
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPTenant.
func (*HTTPTenant) DeepCopyInto ¶
func (in *HTTPTenant) DeepCopyInto(out *HTTPTenant)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPTenantApplication ¶
func (*HTTPTenantApplication) DeepCopy ¶
func (in *HTTPTenantApplication) DeepCopy() *HTTPTenantApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPTenantApplication.
func (*HTTPTenantApplication) DeepCopyInto ¶
func (in *HTTPTenantApplication) DeepCopyInto(out *HTTPTenantApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPTenantSizes ¶
type HTTPTenantSizes struct {
MachineSpec []MachineSpec `json:"machine_pool"`
}
func (*HTTPTenantSizes) DeepCopy ¶
func (in *HTTPTenantSizes) DeepCopy() *HTTPTenantSizes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPTenantSizes.
func (*HTTPTenantSizes) DeepCopyInto ¶
func (in *HTTPTenantSizes) DeepCopyInto(out *HTTPTenantSizes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IsolationConfig ¶
type IsolationConfig struct { Machine MachineConfig `json:"machine,omitempty"` Network NetworkConfig `json:"network,omitempty"` }
func (*IsolationConfig) DeepCopy ¶
func (in *IsolationConfig) DeepCopy() *IsolationConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IsolationConfig.
func (*IsolationConfig) DeepCopyInto ¶
func (in *IsolationConfig) DeepCopyInto(out *IsolationConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesConfig ¶
type KubernetesConfig struct {
EKS EKSConfig `json:"eks"`
}
func (*KubernetesConfig) DeepCopy ¶
func (in *KubernetesConfig) DeepCopy() *KubernetesConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesConfig.
func (*KubernetesConfig) DeepCopyInto ¶
func (in *KubernetesConfig) DeepCopyInto(out *KubernetesConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineConfig ¶
type MachineConfig struct {
Enabled bool `json:"enabled,omitempty"`
}
func (*MachineConfig) DeepCopy ¶
func (in *MachineConfig) DeepCopy() *MachineConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineConfig.
func (*MachineConfig) DeepCopyInto ¶
func (in *MachineConfig) DeepCopyInto(out *MachineConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpec ¶
type MachineSpec struct { Name string `json:"name"` NodeLabels map[string]string `json:"labels"` Size string `json:"size"` // +kubebuilder:validation:Minimum:=0 Min int32 `json:"min"` // +kubebuilder:validation:Minimum:=0 Max int32 `json:"max"` // +kubebuilder:validation:Enum:=enable;disable // +kubebuilder:default=enable StrictScheduling StrictSchedulingStatus `json:"strictScheduling"` // +kubebuilder:validation:Enum:=low-priority;default-priority // +kubebuilder:default=default-priority Type MachineType `json:"type"` }
func (*MachineSpec) DeepCopy ¶
func (in *MachineSpec) DeepCopy() *MachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec.
func (*MachineSpec) DeepCopyInto ¶
func (in *MachineSpec) DeepCopyInto(out *MachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineType ¶
type MachineType string
const MachineTypeDefaultPriority MachineType = "default-priority"
const MachineTypeLowPriority MachineType = "low-priority"
type NetworkConfig ¶
type NetworkConfig struct { Enabled bool `json:"enabled,omitempty"` AllowedNamespaces []string `json:"allowedNamespaces,omitempty"` }
func (*NetworkConfig) DeepCopy ¶
func (in *NetworkConfig) DeepCopy() *NetworkConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfig.
func (*NetworkConfig) DeepCopyInto ¶
func (in *NetworkConfig) DeepCopyInto(out *NetworkConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkRules ¶
type NetworkRules string
const ( Allow NetworkRules = "Allow" Deny NetworkRules = "Deny" )
type NetworkSecurity ¶
type NetworkSecurity struct { InterNamespaceTraffic NetworkRules `json:"inter_namespace_traffic"` AllowedNamespaces []string `json:"allowed_namespaces"` }
func (*NetworkSecurity) DeepCopy ¶
func (in *NetworkSecurity) DeepCopy() *NetworkSecurity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSecurity.
func (*NetworkSecurity) DeepCopyInto ¶
func (in *NetworkSecurity) DeepCopyInto(out *NetworkSecurity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodegroupStatus ¶
type NodegroupStatus struct { Status string `json:"status,omitempty"` Subnet string `json:"subnet,omitempty"` }
func (*NodegroupStatus) DeepCopy ¶
func (in *NodegroupStatus) DeepCopy() *NodegroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodegroupStatus.
func (*NodegroupStatus) DeepCopyInto ¶
func (in *NodegroupStatus) DeepCopyInto(out *NodegroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StrictSchedulingStatus ¶
type StrictSchedulingStatus string
const StrictSchedulingStatusDisable StrictSchedulingStatus = "disable"
const StrictSchedulingStatusEnable StrictSchedulingStatus = "enable"
type TenantApplicationConfig ¶
type TenantApplicationConfig struct { AppType ApplicationType `json:"appType"` Size string `json:"appSize"` }
func (*TenantApplicationConfig) DeepCopy ¶
func (in *TenantApplicationConfig) DeepCopy() *TenantApplicationConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantApplicationConfig.
func (*TenantApplicationConfig) DeepCopyInto ¶
func (in *TenantApplicationConfig) DeepCopyInto(out *TenantApplicationConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantDeploymentType ¶
type TenantDeploymentType string
const ( Siloed TenantDeploymentType = "siloed" Pool TenantDeploymentType = "pool" )
type TenantPhase ¶
type TenantPhase string
const ( PendingT TenantPhase = "Pending" CreatingT TenantPhase = "Creating" ActiveT TenantPhase = "Active" FailedT TenantPhase = "Failed" UpdatingT TenantPhase = "Updating" TerminatingT TenantPhase = "Terminating" )
type TenantSizes ¶
type TenantSizes struct {
MachineSpec []MachineSpec `json:"machinePool"`
}
func (*TenantSizes) DeepCopy ¶
func (in *TenantSizes) DeepCopy() *TenantSizes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantSizes.
func (*TenantSizes) DeepCopyInto ¶
func (in *TenantSizes) DeepCopyInto(out *TenantSizes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tenants ¶
type Tenants struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TenantsSpec `json:"spec,omitempty"` Status TenantsStatus `json:"status,omitempty"` }
Tenants is the Schema for the tenants API
func (*Tenants) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tenants.
func (*Tenants) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tenants) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantsInfra ¶
type TenantsInfra struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TenantsInfraSpec `json:"spec,omitempty"` Status TenantsInfraStatus `json:"status,omitempty"` }
TenantsInfra is the Schema for the tenants API
func (*TenantsInfra) DeepCopy ¶
func (in *TenantsInfra) DeepCopy() *TenantsInfra
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantsInfra.
func (*TenantsInfra) DeepCopyInto ¶
func (in *TenantsInfra) DeepCopyInto(out *TenantsInfra)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantsInfra) DeepCopyObject ¶
func (in *TenantsInfra) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantsInfraList ¶
type TenantsInfraList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TenantsInfra `json:"items"` }
TenantsInfraList contains a list of Tenants
func (*TenantsInfraList) DeepCopy ¶
func (in *TenantsInfraList) DeepCopy() *TenantsInfraList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantsInfraList.
func (*TenantsInfraList) DeepCopyInto ¶
func (in *TenantsInfraList) DeepCopyInto(out *TenantsInfraList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantsInfraList) DeepCopyObject ¶
func (in *TenantsInfraList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantsInfraSpec ¶
type TenantsInfraSpec struct { Dataplane string `json:"dataplane"` TenantSizes map[string]TenantSizes `json:"tenantSizes"` }
func (*TenantsInfraSpec) DeepCopy ¶
func (in *TenantsInfraSpec) DeepCopy() *TenantsInfraSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantsInfraSpec.
func (*TenantsInfraSpec) DeepCopyInto ¶
func (in *TenantsInfraSpec) DeepCopyInto(out *TenantsInfraSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantsInfraStatus ¶
type TenantsInfraStatus struct { Phase TenantPhase `json:"phase,omitempty"` NodegroupStatus map[string]NodegroupStatus `json:"machinePoolStatus,omitempty"` }
TenantsStatus defines the observed state of Tenants
func (*TenantsInfraStatus) DeepCopy ¶
func (in *TenantsInfraStatus) DeepCopy() *TenantsInfraStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantsInfraStatus.
func (*TenantsInfraStatus) DeepCopyInto ¶
func (in *TenantsInfraStatus) DeepCopyInto(out *TenantsInfraStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantsList ¶
type TenantsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Tenants `json:"items"` }
TenantsList contains a list of Tenants
func (*TenantsList) DeepCopy ¶
func (in *TenantsList) DeepCopy() *TenantsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantsList.
func (*TenantsList) DeepCopyInto ¶
func (in *TenantsList) DeepCopyInto(out *TenantsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantsList) DeepCopyObject ¶
func (in *TenantsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantsSpec ¶
type TenantsSpec struct { // Environment ref DataplaneName string `json:"dataplaneName"` // Tenant Config consists of AppType TenantConfig []TenantApplicationConfig `json:"config"` // Isolation Isolation IsolationConfig `json:"isolation,omitempty"` }
TenantsSpec defines the desired state of Tenants
func (*TenantsSpec) DeepCopy ¶
func (in *TenantsSpec) DeepCopy() *TenantsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantsSpec.
func (*TenantsSpec) DeepCopyInto ¶
func (in *TenantsSpec) DeepCopyInto(out *TenantsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantsStatus ¶
type TenantsStatus struct { Phase TenantPhase `json:"phase,omitempty"` NodegroupStatus map[string]string `json:"machinePoolStatus,omitempty"` }
TenantsStatus defines the observed state of Tenants
func (*TenantsStatus) DeepCopy ¶
func (in *TenantsStatus) DeepCopy() *TenantsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantsStatus.
func (*TenantsStatus) DeepCopyInto ¶
func (in *TenantsStatus) DeepCopyInto(out *TenantsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.