Documentation ¶
Overview ¶
Package v1alpha1 is a version of the API. +groupName=landscaper-service.gardener.cloud
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_AvailabilityCollection(_ *AvailabilityCollection)
- func SetDefaults_Instance(_ *Instance)
- func SetDefaults_LandscaperDeployment(_ *LandscaperDeployment)
- func SetDefaults_ServiceTargetConfig(obj *ServiceTargetConfig)
- func SetObjectDefaults_AvailabilityCollection(in *AvailabilityCollection)
- func SetObjectDefaults_AvailabilityCollectionList(in *AvailabilityCollectionList)
- func SetObjectDefaults_Instance(in *Instance)
- func SetObjectDefaults_InstanceList(in *InstanceList)
- func SetObjectDefaults_LandscaperDeployment(in *LandscaperDeployment)
- func SetObjectDefaults_LandscaperDeploymentList(in *LandscaperDeploymentList)
- func SetObjectDefaults_ServiceTargetConfig(in *ServiceTargetConfig)
- func SetObjectDefaults_ServiceTargetConfigList(in *ServiceTargetConfigList)
- type AutomaticReconcile
- type AvailabilityCollection
- type AvailabilityCollectionList
- type AvailabilityCollectionSpec
- type AvailabilityCollectionStatus
- type AvailabilityInstance
- type Controller
- type Controllers
- type DataPlane
- type DeployItemTimeouts
- type Deployer
- type DeployerConfig
- type Error
- type HPA
- type HighAvailabilityConfig
- type Instance
- type InstanceList
- type InstanceSpec
- type InstanceStatus
- type K8SClientLimits
- type K8SClientSettings
- type LabelSelector
- type Landscaper
- type LandscaperConfiguration
- type LandscaperDeployment
- func (in *LandscaperDeployment) DeepCopy() *LandscaperDeployment
- func (in *LandscaperDeployment) DeepCopyInto(out *LandscaperDeployment)
- func (in *LandscaperDeployment) DeepCopyObject() runtime.Object
- func (ld *LandscaperDeployment) IsExternalDataPlane() bool
- func (ld *LandscaperDeployment) IsInternalDataPlane() bool
- type LandscaperDeploymentList
- type LandscaperDeploymentSpec
- type LandscaperDeploymentStatus
- type LandscaperServiceComponent
- type NamespaceRegistration
- type NamespaceRegistrationList
- type NamespaceRegistrationSpec
- type NamespaceRegistrationStatus
- type OIDCConfig
- type ObjectReference
- func (in *ObjectReference) DeepCopy() *ObjectReference
- func (in *ObjectReference) DeepCopyInto(out *ObjectReference)
- func (r *ObjectReference) Equals(other *ObjectReference) bool
- func (r *ObjectReference) IsEmpty() bool
- func (r *ObjectReference) IsObject(o metav1.Object) bool
- func (r *ObjectReference) NamespacedName() types.NamespacedName
- type ResourceRequests
- type Resources
- type SchedulingRule
- type SecretReference
- type Selector
- type ServiceTargetConfig
- type ServiceTargetConfigList
- type ServiceTargetConfigSpec
- type ServiceTargetConfigStatus
- type Subject
- type SubjectList
- type SubjectListList
- type SubjectListSpec
- type SubjectListStatus
- type TargetScheduling
- type TargetSchedulingList
- type TargetSchedulingSpec
- type TenantSelector
Constants ¶
const ( // ServiceTargetConfigVisibleLabelName label defines whether the ServiceTargetConfig is visible for scheduling. // If set to "true", any Landscaper Service deployment can be scheduled on this seed. // If not set or set to "false", no new Landscaper Service deployments can be scheduled on this seed. ServiceTargetConfigVisibleLabelName = "config.landscaper-service.gardener.cloud/visible" // LandscaperServiceFinalizer is the finalizer used for landscaper-service objects. LandscaperServiceFinalizer = "finalizer.landscaper-service.gardener.cloud" ShootTenantIDLabel = "shoot.landscaper-service.gardener.cloud/tenantId" ShootInstanceNameLabel = "shoot.landscaper-service.gardener.cloud/instanceName" ShootInstanceNamespaceLabel = "shoot.landscaper-service.gardener.cloud/instanceNamespace" ShootInstanceIDLabel = "shoot.landscaper-service.gardener.cloud/instanceId" // LandscaperServiceOperationAnnotation is the operation annotation. LandscaperServiceOperationAnnotation = "landscaper-service.gardener.cloud/operation" // LandscaperServiceOperationIgnore can be set as the landscaper service operation annotation. // When set at landscaper deployments, the annotation will be inherited to the corresponding instance // and prevents its reconciliation until removed. LandscaperServiceOperationIgnore = "ignore" LandscaperServiceOnDeleteStrategyAnnotation = "landscaper-service.gardener.cloud/on-delete-strategy" LandscaperServiceOnDeleteStrategyDeleteAllInstallations = "delete-all-installations" LandscaperServiceOnDeleteStrategyDeleteAllInstallationsWithoutUninstall = "delete-all-installations-without-uninstall" )
const ( LandscaperDeploymentDataPlaneTypeExternal = "External" LandscaperDeploymentDataPlaneTypeInternal = "Internal" )
Variables ¶
var ( // SchemeBuilder is a new Schema Builder which registers our API. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultsFuncs) // AddToScheme is a reference to the Schema Builder's AddToScheme function. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: core.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func SetDefaults_AvailabilityCollection ¶
func SetDefaults_AvailabilityCollection(_ *AvailabilityCollection)
func SetDefaults_Instance ¶
func SetDefaults_Instance(_ *Instance)
SetDefaults_Instance sets the default values for Instance objects
func SetDefaults_LandscaperDeployment ¶
func SetDefaults_LandscaperDeployment(_ *LandscaperDeployment)
SetDefaults_LandscaperDeployment sets the default values for LandscaperDeployment objects
func SetDefaults_ServiceTargetConfig ¶
func SetDefaults_ServiceTargetConfig(obj *ServiceTargetConfig)
SetDefaults_ServiceTargetConfig sets the default values for ServiceTargetConfig objects
func SetObjectDefaults_AvailabilityCollection ¶
func SetObjectDefaults_AvailabilityCollection(in *AvailabilityCollection)
func SetObjectDefaults_AvailabilityCollectionList ¶
func SetObjectDefaults_AvailabilityCollectionList(in *AvailabilityCollectionList)
func SetObjectDefaults_Instance ¶
func SetObjectDefaults_Instance(in *Instance)
func SetObjectDefaults_InstanceList ¶
func SetObjectDefaults_InstanceList(in *InstanceList)
func SetObjectDefaults_LandscaperDeployment ¶
func SetObjectDefaults_LandscaperDeployment(in *LandscaperDeployment)
func SetObjectDefaults_LandscaperDeploymentList ¶
func SetObjectDefaults_LandscaperDeploymentList(in *LandscaperDeploymentList)
func SetObjectDefaults_ServiceTargetConfig ¶
func SetObjectDefaults_ServiceTargetConfig(in *ServiceTargetConfig)
func SetObjectDefaults_ServiceTargetConfigList ¶
func SetObjectDefaults_ServiceTargetConfigList(in *ServiceTargetConfigList)
Types ¶
type AutomaticReconcile ¶
type AutomaticReconcile struct { // Interval specifies the interval after which the instance is being automatically reconciled. //+kubebuilder:validation:Type=string //+kubebuilder:validation:Schemaless Interval lsv1alpha1.Duration `json:"interval"` }
AutomaticReconcile defines the automatic reconcile configuration.
func (*AutomaticReconcile) DeepCopy ¶
func (in *AutomaticReconcile) DeepCopy() *AutomaticReconcile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticReconcile.
func (*AutomaticReconcile) DeepCopyInto ¶
func (in *AutomaticReconcile) DeepCopyInto(out *AutomaticReconcile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AvailabilityCollection ¶
type AvailabilityCollection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec contains the specification for the AvailabilityCollection. Spec AvailabilityCollectionSpec `json:"spec"` // Status contains the status for the AvailabilityCollection. // +optional Status AvailabilityCollectionStatus `json:"status"` }
AvailabilityCollection is created/updated by the AvailabilityMonitoringRegistrationController. It contains a list of references to Instances that should be monitored for availability. +kubebuilder:resource:singular="availabilitycollection",path="availabilitycollections",shortName="avcol",scope="Namespaced" +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Last Run",type=date,JSONPath=`.status.lastRun` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*AvailabilityCollection) DeepCopy ¶
func (in *AvailabilityCollection) DeepCopy() *AvailabilityCollection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailabilityCollection.
func (*AvailabilityCollection) DeepCopyInto ¶
func (in *AvailabilityCollection) DeepCopyInto(out *AvailabilityCollection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AvailabilityCollection) DeepCopyObject ¶
func (in *AvailabilityCollection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AvailabilityCollectionList ¶
type AvailabilityCollectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AvailabilityCollection `json:"items"` }
AvailabilityCollectionList contains a list of AvailabilityCollection
func (*AvailabilityCollectionList) DeepCopy ¶
func (in *AvailabilityCollectionList) DeepCopy() *AvailabilityCollectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailabilityCollectionList.
func (*AvailabilityCollectionList) DeepCopyInto ¶
func (in *AvailabilityCollectionList) DeepCopyInto(out *AvailabilityCollectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AvailabilityCollectionList) DeepCopyObject ¶
func (in *AvailabilityCollectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AvailabilityCollectionSpec ¶
type AvailabilityCollectionSpec struct { // InstanceRefs specifies all instances to monitor InstanceRefs []ObjectReference `json:"instanceRefs"` }
AvailabilityCollectionSpec contains the spec for the AvailabilityCollection.
func (*AvailabilityCollectionSpec) DeepCopy ¶
func (in *AvailabilityCollectionSpec) DeepCopy() *AvailabilityCollectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailabilityCollectionSpec.
func (*AvailabilityCollectionSpec) DeepCopyInto ¶
func (in *AvailabilityCollectionSpec) DeepCopyInto(out *AvailabilityCollectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AvailabilityCollectionStatus ¶
type AvailabilityCollectionStatus struct { // metadata.generation observed by the HealthWatcher controller. // Used to distinguish between a necessary reconcile (scheduled or spec change) // and unnecessary reconcile (status change) ObservedGeneration int64 `json:"observedGeneration,omitempty"` // LastRun is the last time, the HealthWatcher collected all instance status. // +optional LastRun metav1.Time `json:"lastRun"` // LastReported is the last time, the AV Uploader uploaded all instance status. Prevents multi upload of the same status. // +optional LastReported metav1.Time `json:"lastReported"` // Instances collects the status for all instances specified in spec.instanceRefs Instances []AvailabilityInstance `json:"instances"` // Self collects the status the own landscaper Self AvailabilityInstance `json:"self"` }
AvailabilityCollectionStatus contains the status for the AvailabilityCollection.
func (*AvailabilityCollectionStatus) DeepCopy ¶
func (in *AvailabilityCollectionStatus) DeepCopy() *AvailabilityCollectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailabilityCollectionStatus.
func (*AvailabilityCollectionStatus) DeepCopyInto ¶
func (in *AvailabilityCollectionStatus) DeepCopyInto(out *AvailabilityCollectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AvailabilityInstance ¶
type AvailabilityInstance struct { ObjectReference `json:",inline"` // Status is the availability status of the instance. Status string `json:"status"` // FailedReason is the reason the status is in failed. FailedReason string `json:"failedReason"` // FailedSince contains the timestamp since the object is in failed status // +optional FailedSince *metav1.Time `json:"failedSince,omitempty"` }
AvailabilityInstance contains the availability status for one instance.
func (*AvailabilityInstance) DeepCopy ¶
func (in *AvailabilityInstance) DeepCopy() *AvailabilityInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailabilityInstance.
func (*AvailabilityInstance) DeepCopyInto ¶
func (in *AvailabilityInstance) DeepCopyInto(out *AvailabilityInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AvailabilityInstance) SetStatusAndFailedSince ¶
func (r *AvailabilityInstance) SetStatusAndFailedSince(status v1alpha1.LsHealthCheckStatus, failedReason string, initOrContinueFailed bool)
type Controller ¶
type Controller struct {
Workers int32 `json:"workers,omitempty"`
}
Controller specifies the config for a landscaper controller.
func (*Controller) DeepCopy ¶
func (in *Controller) DeepCopy() *Controller
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Controller.
func (*Controller) DeepCopyInto ¶
func (in *Controller) DeepCopyInto(out *Controller)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Controllers ¶
type Controllers struct { Installations *Controller `json:"installations,omitempty"` Executions *Controller `json:"executions,omitempty"` }
Controllers specifies the config for the "main" landscaper controllers, i.e. the installation and execution controller.
func (*Controllers) DeepCopy ¶
func (in *Controllers) DeepCopy() *Controllers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Controllers.
func (*Controllers) DeepCopyInto ¶
func (in *Controllers) DeepCopyInto(out *Controllers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPlane ¶
type DataPlane struct { // SecretRef references a secret containing the Kubernetes config // +optional SecretRef *SecretReference `json:"secretRef"` // Kubeconfig contains the content of the Kubernetes config // +optional Kubeconfig string `json:"kubeconfig"` }
DataPlane references an externally create data plane Kubernetes cluster
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 DeployItemTimeouts ¶
type DeployItemTimeouts struct { Pickup string `json:"pickup,omitempty"` ProgressingDefault string `json:"progressingDefault,omitempty"` }
DeployItemTimeouts configures the timeout controller.
func (*DeployItemTimeouts) DeepCopy ¶
func (in *DeployItemTimeouts) DeepCopy() *DeployItemTimeouts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployItemTimeouts.
func (*DeployItemTimeouts) DeepCopyInto ¶
func (in *DeployItemTimeouts) DeepCopyInto(out *DeployItemTimeouts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Deployer ¶
type Deployer struct { Controller *Controller `json:"controller,omitempty"` K8SClientSettings *K8SClientSettings `json:"k8sClientSettings,omitempty"` }
func (*Deployer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployer.
func (*Deployer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployerConfig ¶
type DeployerConfig struct { Deployer *Deployer `json:"deployer,omitempty"` Resources *Resources `json:"resources,omitempty"` HPA *HPA `json:"hpa,omitempty"` }
DeployerConfig configures a deployer.
func (*DeployerConfig) DeepCopy ¶
func (in *DeployerConfig) DeepCopy() *DeployerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployerConfig.
func (*DeployerConfig) DeepCopyInto ¶
func (in *DeployerConfig) DeepCopyInto(out *DeployerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Error ¶
type Error struct { // Operation describes the operator where the error occurred. Operation string `json:"operation"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Last time the condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime"` // The reason for the condition's last transition. Reason string `json:"reason"` // A human-readable message indicating details about the transition. Message string `json:"message"` }
Error holds information about an error that occurred.
func (*Error) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Error.
func (*Error) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HPA ¶
type HPA struct { MaxReplicas int32 `json:"maxReplicas,omitempty"` AverageMemoryUtilization int32 `json:"averageMemoryUtilization,omitempty"` AverageCpuUtilization int32 `json:"averageCpuUtilization,omitempty"` }
HPA configures the horizontal pod autoscaling of pods.
func (*HPA) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HPA.
func (*HPA) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HighAvailabilityConfig ¶
type HighAvailabilityConfig struct { // ControlPlaneFailureTolerance specifies the Kubernetes control plane failure tolerance mode. // Allowed values are: node, zone ControlPlaneFailureTolerance string `json:"controlPlaneFailureTolerance"` }
HighAvailabilityConfig specifies the HA configuration for the resource cluster (shoot cluster)
func (*HighAvailabilityConfig) DeepCopy ¶
func (in *HighAvailabilityConfig) DeepCopy() *HighAvailabilityConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HighAvailabilityConfig.
func (*HighAvailabilityConfig) DeepCopyInto ¶
func (in *HighAvailabilityConfig) DeepCopyInto(out *HighAvailabilityConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec contains the specification for the Instance. Spec InstanceSpec `json:"spec"` // Status contains the status for the Instance. // +optional Status InstanceStatus `json:"status"` }
The Instance is created for each LandscaperDeployment. The landscaper service controller selects a suitable/available ServiceTargetConfig and creates an Installation. +kubebuilder:resource:singular="instance",path="instances",shortName="instc",scope="Namespaced" +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ServiceTargetConfig",type=string,JSONPath=`.spec.serviceTargetConfigRef.name` +kubebuilder:printcolumn:name="Installation",type=string,JSONPath=`.status.installationRef.name` +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) IsExternalDataPlane ¶
func (*Instance) IsInternalDataPlane ¶
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
InstanceList contains a list of Instance
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstanceSpec ¶
type InstanceSpec struct { // TenantId is the unique identifier of the owning tenant. TenantId string `json:"tenantId"` // ID is the id of this instance ID string `json:"id"` // LandscaperConfiguration contains the configuration for the landscaper service deployment LandscaperConfiguration LandscaperConfiguration `json:"landscaperConfiguration"` // ServiceTargetConfigRef specifies the target cluster for which the installation is created. ServiceTargetConfigRef ObjectReference `json:"serviceTargetConfigRef"` // OIDCConfig describes the OIDC config of the customer resource cluster (shoot cluster) // +optional OIDCConfig *OIDCConfig `json:"oidcConfig,omitempty"` // AutomaticReconcile specifies the configuration on when this instance is being automatically reconciled. // +optional AutomaticReconcile *AutomaticReconcile `json:"automaticReconcile,omitempty"` // HighAvailabilityConfig specifies the HA configuration of the resource cluster (shoot cluster) // +optional HighAvailabilityConfig *HighAvailabilityConfig `json:"highAvailabilityConfig"` // DataPlane references an externally created and maintained Kubernetes cluster, // used as the data plane where Landscaper resources are stored. // When DataPlane is defined, the Landscaper Service controller will no longer // create its own Kubernetes cluster. // +optional DataPlane *DataPlane `json:"dataPlane,omitempty"` }
InstanceSpec contains the specification for an Instance.
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { // ObservedGeneration is the most recent generation observed for this Instance. // It corresponds to the Instance generation, which is updated on mutation by the landscaper service controller. // +optional ObservedGeneration int64 `json:"observedGeneration"` // LastError describes the last error that occurred. // +optional LastError *Error `json:"lastError,omitempty"` // LandscaperServiceComponent define the landscaper server component that is used for this instance. // +optional LandscaperServiceComponent *LandscaperServiceComponent `json:"landscaperServiceComponent,omitempty"` // ContextRef references the landscaper context for this Instance. // +optional ContextRef *ObjectReference `json:"contextRef,omitempty"` // TargetRef references the Target for this Instance. // +optional TargetRef *ObjectReference `json:"targetRef,omitempty"` // GardenerServiceAccountRef references the Target for the Gardener service account. // +optional GardenerServiceAccountRef *ObjectReference `json:"gardenerServiceAccountRef,omitempty"` // InstallationRef references the Installation for this Instance. // +optional InstallationRef *ObjectReference `json:"installationRef,omitempty"` // ClusterEndpointRef contains the URL at which the landscaper cluster is accessible. // +optional ClusterEndpoint string `json:"clusterEndpoint,omitempty"` // UserKubeconfig contains the user kubeconfig which can be used for accessing the landscaper cluster. // +optional UserKubeconfig string `json:"userKubeconfig,omitempty"` // AdminKubeconfig contains the admin kubeconfig which can be used for accessing the landscaper cluster. // +optional AdminKubeconfig string `json:"adminKubeconfig,omitempty"` // ShootName is the name of the corresponding shoot cluster. // +optional ShootName string `json:"shootName,omitempty"` // ShootNamespace is the namespace in which the shoot resource is being created. // +optional ShootNamespace string `json:"shootNamespace,omitempty"` // Reference to the external data plane cluster target. // +optional ExternalDataPlaneClusterRef *ObjectReference `json:"externalDataPlaneClusterRef,omitempty"` // Phase represents the phase of the corresponding Landscaper Instance Installation phase. // +optional Phase string `json:"phase,omitempty"` }
InstanceStatus contains the status for an Instance.
func (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type K8SClientLimits ¶
type K8SClientLimits struct { Burst int32 `json:"burst,omitempty"` QPS int32 `json:"qps,omitempty"` }
K8SClientLimits specifies the settings for a k8s client.
func (*K8SClientLimits) DeepCopy ¶
func (in *K8SClientLimits) DeepCopy() *K8SClientLimits
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8SClientLimits.
func (*K8SClientLimits) DeepCopyInto ¶
func (in *K8SClientLimits) DeepCopyInto(out *K8SClientLimits)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type K8SClientSettings ¶
type K8SClientSettings struct { HostClient *K8SClientLimits `json:"hostClient,omitempty"` ResourceClient *K8SClientLimits `json:"resourceClient,omitempty"` }
K8SClientSettings specifies the settings for the k8s clients which landscaper uses to access host and resource cluster.
func (*K8SClientSettings) DeepCopy ¶
func (in *K8SClientSettings) DeepCopy() *K8SClientSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8SClientSettings.
func (*K8SClientSettings) DeepCopyInto ¶
func (in *K8SClientSettings) DeepCopyInto(out *K8SClientSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabelSelector ¶
type LabelSelector struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` }
func (*LabelSelector) DeepCopy ¶
func (in *LabelSelector) DeepCopy() *LabelSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelector.
func (*LabelSelector) DeepCopyInto ¶
func (in *LabelSelector) DeepCopyInto(out *LabelSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Landscaper ¶
type Landscaper struct { Controllers *Controllers `json:"controllers,omitempty"` K8SClientSettings *K8SClientSettings `json:"k8sClientSettings,omitempty"` DeployItemTimeouts *DeployItemTimeouts `json:"deployItemTimeouts,omitempty"` UseOCMLib bool `json:"useOCMLib,omitempty"` }
func (*Landscaper) DeepCopy ¶
func (in *Landscaper) DeepCopy() *Landscaper
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Landscaper.
func (*Landscaper) DeepCopyInto ¶
func (in *Landscaper) DeepCopyInto(out *Landscaper)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LandscaperConfiguration ¶
type LandscaperConfiguration struct { // +optional Landscaper *Landscaper `json:"landscaper,omitempty"` // Resources configures the resources of the "central" landscaper pod, i.e. the pod responsible for crds creation, // deployer management, context controller. // +optional Resources *Resources `json:"resources,omitempty"` // ResourcesMain configures the resources of the "main" landscaper pods, i.e. the pods of installation and execution controller. // +optional ResourcesMain *Resources `json:"resourcesMain,omitempty"` // HPAMain configures the horizontal pod autoscaling of the "main" landscaper pods, i.e. the pods of installation and execution controller. // +optional HPAMain *HPA `json:"hpaMain,omitempty"` // Deployers is the list of deployers that are getting installed alongside with this Instance. Deployers []string `json:"deployers"` // DeployersConfig specifies the configuration for the landscaper standard deployers. // +optional DeployersConfig map[string]*DeployerConfig `json:"deployersConfig,omitempty"` }
LandscaperConfiguration contains the configuration for a landscaper service deployment.
func (*LandscaperConfiguration) DeepCopy ¶
func (in *LandscaperConfiguration) DeepCopy() *LandscaperConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LandscaperConfiguration.
func (*LandscaperConfiguration) DeepCopyInto ¶
func (in *LandscaperConfiguration) DeepCopyInto(out *LandscaperConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LandscaperDeployment ¶
type LandscaperDeployment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec contains the specification for the LandscaperDeployment Spec LandscaperDeploymentSpec `json:"spec"` // Status contains the status of the LandscaperDeployment. // +optional Status LandscaperDeploymentStatus `json:"status"` }
The LandscaperDeployment is created to define a deployment of the landscaper. +kubebuilder:resource:singular="landscaperdeployment",path="landscaperdeployments",shortName="lsdepl",scope="Namespaced" +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:printcolumn:name="DataPlaneType",type=string,JSONPath=`.status.dataPlaneType` +kubebuilder:printcolumn:name="Instance",type=string,JSONPath=`.status.instanceRef.name` +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*LandscaperDeployment) DeepCopy ¶
func (in *LandscaperDeployment) DeepCopy() *LandscaperDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LandscaperDeployment.
func (*LandscaperDeployment) DeepCopyInto ¶
func (in *LandscaperDeployment) DeepCopyInto(out *LandscaperDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LandscaperDeployment) DeepCopyObject ¶
func (in *LandscaperDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LandscaperDeployment) IsExternalDataPlane ¶
func (ld *LandscaperDeployment) IsExternalDataPlane() bool
func (*LandscaperDeployment) IsInternalDataPlane ¶
func (ld *LandscaperDeployment) IsInternalDataPlane() bool
type LandscaperDeploymentList ¶
type LandscaperDeploymentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LandscaperDeployment `json:"items"` }
LandscaperDeploymentList contains a list of LandscaperDeployment
func (*LandscaperDeploymentList) DeepCopy ¶
func (in *LandscaperDeploymentList) DeepCopy() *LandscaperDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LandscaperDeploymentList.
func (*LandscaperDeploymentList) DeepCopyInto ¶
func (in *LandscaperDeploymentList) DeepCopyInto(out *LandscaperDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LandscaperDeploymentList) DeepCopyObject ¶
func (in *LandscaperDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LandscaperDeploymentSpec ¶
type LandscaperDeploymentSpec struct { // TenantId is the unique identifier of the owning tenant. TenantId string `json:"tenantId"` // Purpose contains the purpose of this LandscaperDeployment. Purpose string `json:"purpose"` // LandscaperConfiguration contains the configuration for the landscaper service deployment LandscaperConfiguration LandscaperConfiguration `json:"landscaperConfiguration"` // OIDCConfig describes the OIDC config of the customer resource cluster (shoot cluster) // +optional OIDCConfig *OIDCConfig `json:"oidcConfig,omitempty"` // HighAvailabilityConfig specifies the HA configuration of the resource cluster (shoot cluster) // +optional HighAvailabilityConfig *HighAvailabilityConfig `json:"highAvailabilityConfig,omitempty"` // DataPlane references an externally created and maintained Kubernetes cluster, // used as the data plane where Landscaper resources are stored. // When DataPlane is defined, the Landscaper Service controller will no longer // create its own Kubernetes cluster. // +optional DataPlane *DataPlane `json:"dataPlane,omitempty"` }
LandscaperDeploymentSpec contains the specification for a LandscaperDeployment.
func (*LandscaperDeploymentSpec) DeepCopy ¶
func (in *LandscaperDeploymentSpec) DeepCopy() *LandscaperDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LandscaperDeploymentSpec.
func (*LandscaperDeploymentSpec) DeepCopyInto ¶
func (in *LandscaperDeploymentSpec) DeepCopyInto(out *LandscaperDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LandscaperDeploymentStatus ¶
type LandscaperDeploymentStatus struct { // ObservedGeneration is the most recent generation observed for this LandscaperDeployment. // It corresponds to the LandscaperDeployment generation, which is updated on mutation by the landscaper service controller. // +optional ObservedGeneration int64 `json:"observedGeneration"` // LastError describes the last error that occurred. // +optional LastError *Error `json:"lastError,omitempty"` // InstanceRef references the instance that is created for this LandscaperDeployment. // +optional InstanceRef *ObjectReference `json:"instanceRef"` // Phase represents the phase of the corresponding Landscaper Instance Installation phase. // +optional Phase string `json:"phase,omitempty"` // DataPlaneType shows whether this deployment has an internal or external data plane cluster. // +optional DataPlaneType string `json:"dataPlaneType,omitempty"` }
LandscaperDeploymentStatus contains the status of a LandscaperDeployment.
func (*LandscaperDeploymentStatus) DeepCopy ¶
func (in *LandscaperDeploymentStatus) DeepCopy() *LandscaperDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LandscaperDeploymentStatus.
func (*LandscaperDeploymentStatus) DeepCopyInto ¶
func (in *LandscaperDeploymentStatus) DeepCopyInto(out *LandscaperDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LandscaperServiceComponent ¶
type LandscaperServiceComponent struct { // Name defines the component name of the landscaper service component. Name string `json:"name"` // Version defines the version of the landscaper service component. Version string `json:"version"` }
LandscaperServiceComponent defines the landscaper service component that is being used.
func (*LandscaperServiceComponent) DeepCopy ¶
func (in *LandscaperServiceComponent) DeepCopy() *LandscaperServiceComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LandscaperServiceComponent.
func (*LandscaperServiceComponent) DeepCopyInto ¶
func (in *LandscaperServiceComponent) DeepCopyInto(out *LandscaperServiceComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceRegistration ¶
type NamespaceRegistration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec contains the specification for the NamespaceRegistration. Spec NamespaceRegistrationSpec `json:"spec"` // Status contains the status for the NamespaceRegistration. // +optional Status NamespaceRegistrationStatus `json:"status"` }
+kubebuilder:resource:singular="namespaceregistration",path="namespaceregistrations",shortName="nsreg",scope="Namespaced" +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase`
func (*NamespaceRegistration) DeepCopy ¶
func (in *NamespaceRegistration) DeepCopy() *NamespaceRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceRegistration.
func (*NamespaceRegistration) DeepCopyInto ¶
func (in *NamespaceRegistration) DeepCopyInto(out *NamespaceRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespaceRegistration) DeepCopyObject ¶
func (in *NamespaceRegistration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespaceRegistrationList ¶
type NamespaceRegistrationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NamespaceRegistration `json:"items"` }
NamespaceRegistrationList contains a list of NamespaceRegistration
func (*NamespaceRegistrationList) DeepCopy ¶
func (in *NamespaceRegistrationList) DeepCopy() *NamespaceRegistrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceRegistrationList.
func (*NamespaceRegistrationList) DeepCopyInto ¶
func (in *NamespaceRegistrationList) DeepCopyInto(out *NamespaceRegistrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespaceRegistrationList) DeepCopyObject ¶
func (in *NamespaceRegistrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespaceRegistrationSpec ¶
type NamespaceRegistrationSpec struct { }
func (*NamespaceRegistrationSpec) DeepCopy ¶
func (in *NamespaceRegistrationSpec) DeepCopy() *NamespaceRegistrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceRegistrationSpec.
func (*NamespaceRegistrationSpec) DeepCopyInto ¶
func (in *NamespaceRegistrationSpec) DeepCopyInto(out *NamespaceRegistrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceRegistrationStatus ¶
type NamespaceRegistrationStatus struct { Phase string `json:"phase"` // +optional LastError *Error `json:"lastError,omitempty"` }
func (*NamespaceRegistrationStatus) DeepCopy ¶
func (in *NamespaceRegistrationStatus) DeepCopy() *NamespaceRegistrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceRegistrationStatus.
func (*NamespaceRegistrationStatus) DeepCopyInto ¶
func (in *NamespaceRegistrationStatus) DeepCopyInto(out *NamespaceRegistrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OIDCConfig ¶
type OIDCConfig struct { ClientID string `json:"clientID,omitempty"` IssuerURL string `json:"issuerURL,omitempty"` UsernameClaim string `json:"usernameClaim,omitempty"` GroupsClaim string `json:"groupsClaim,omitempty"` }
OIDCConfig defines the OIDC configuration
func (*OIDCConfig) DeepCopy ¶
func (in *OIDCConfig) DeepCopy() *OIDCConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCConfig.
func (*OIDCConfig) DeepCopyInto ¶
func (in *OIDCConfig) DeepCopyInto(out *OIDCConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectReference ¶
type ObjectReference struct { // Name is the name of the kubernetes object. Name string `json:"name"` // Namespace is the namespace of kubernetes object. // +optional Namespace string `json:"namespace"` }
ObjectReference is the reference to a kubernetes object.
func (*ObjectReference) DeepCopy ¶
func (in *ObjectReference) DeepCopy() *ObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
func (*ObjectReference) DeepCopyInto ¶
func (in *ObjectReference) DeepCopyInto(out *ObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectReference) Equals ¶
func (r *ObjectReference) Equals(other *ObjectReference) bool
Equals test whether this object reference equals the given object reference.
func (*ObjectReference) IsEmpty ¶
func (r *ObjectReference) IsEmpty() bool
IsEmpty checks whether this reference has an empty name or empty namespace.
func (*ObjectReference) IsObject ¶
func (r *ObjectReference) IsObject(o metav1.Object) bool
IsObject tests whether this object reference references the given object.
func (*ObjectReference) NamespacedName ¶
func (r *ObjectReference) NamespacedName() types.NamespacedName
NamespacedName returns the namespaced name for the object reference.
type ResourceRequests ¶
type ResourceRequests struct { CPU string `json:"cpu,omitempty"` Memory string `json:"memory,omitempty"` }
func (*ResourceRequests) DeepCopy ¶
func (in *ResourceRequests) DeepCopy() *ResourceRequests
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequests.
func (*ResourceRequests) DeepCopyInto ¶
func (in *ResourceRequests) DeepCopyInto(out *ResourceRequests)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
type Resources struct {
Requests ResourceRequests `json:"requests,omitempty"`
}
Resources configures the resources of pods (requested cpu and memory)
func (*Resources) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingRule ¶
type SchedulingRule struct { // The Priority of this SchedulingRule. // SchedulingRules with a higher priority number will be preferred over SchedulingRules with a lower priority number. Priority int64 `json:"priority,omitempty"` ServiceTargetConfigs []ObjectReference `json:"serviceTargetConfigs,omitempty"` Selector []Selector `json:"selector,omitempty"` }
func (*SchedulingRule) DeepCopy ¶
func (in *SchedulingRule) DeepCopy() *SchedulingRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingRule.
func (*SchedulingRule) DeepCopyInto ¶
func (in *SchedulingRule) DeepCopyInto(out *SchedulingRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretReference ¶
type SecretReference struct { ObjectReference `json:",inline"` // Key is the name of the key in the secret that holds the data. // +optional Key string `json:"key"` }
SecretReference is a reference to data in a secret.
func (*SecretReference) DeepCopy ¶
func (in *SecretReference) DeepCopy() *SecretReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.
func (*SecretReference) DeepCopyInto ¶
func (in *SecretReference) DeepCopyInto(out *SecretReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Selector ¶
type Selector struct { // +optional MatchTenant *TenantSelector `json:"matchTenant,omitempty"` // +optional MatchLabel *LabelSelector `json:"matchLabel,omitempty"` // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless // +optional Or []Selector `json:"or,omitempty"` // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless // +optional And []Selector `json:"and,omitempty"` // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless // +optional Not *Selector `json:"not,omitempty"` }
func (*Selector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector.
func (*Selector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceTargetConfig ¶
type ServiceTargetConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec contains the specification for the ServiceTargetConfig Spec ServiceTargetConfigSpec `json:"spec"` // Status contains the status of the ServiceTargetConfig. // +optional Status ServiceTargetConfigStatus `json:"status"` }
The ServiceTargetConfig is created to define the configuration for a Kubernetes cluster, that can host Landscaper Service deployments. +kubebuilder:resource:singular="servicetargetconfig",path="servicetargetconfigs",shortName="servcfg",scope="Namespaced" +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Visible",type=string,JSONPath=`.metadata.labels.config\.landscaper-service\.gardener\.cloud/visible` +kubebuilder:printcolumn:name="Priority",type=number,JSONPath=`.spec.priority` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*ServiceTargetConfig) DeepCopy ¶
func (in *ServiceTargetConfig) DeepCopy() *ServiceTargetConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTargetConfig.
func (*ServiceTargetConfig) DeepCopyInto ¶
func (in *ServiceTargetConfig) DeepCopyInto(out *ServiceTargetConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceTargetConfig) DeepCopyObject ¶
func (in *ServiceTargetConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceTargetConfigList ¶
type ServiceTargetConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceTargetConfig `json:"items"` }
ServiceTargetConfigList contains a list of ServiceTargetConfig
func (*ServiceTargetConfigList) DeepCopy ¶
func (in *ServiceTargetConfigList) DeepCopy() *ServiceTargetConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTargetConfigList.
func (*ServiceTargetConfigList) DeepCopyInto ¶
func (in *ServiceTargetConfigList) DeepCopyInto(out *ServiceTargetConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceTargetConfigList) DeepCopyObject ¶
func (in *ServiceTargetConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceTargetConfigSpec ¶
type ServiceTargetConfigSpec struct { // The Priority of this ServiceTargetConfig. // SeedConfigs with a higher priority number will be preferred over lower numbers // when scheduling new landscaper service installations. Priority int64 `json:"priority"` // A restricted ServiceTargetConfig can only be selected according to scheduling rules. Restricted bool `json:"restricted,omitempty"` // SecretRef references the secret that contains the kubeconfig of the target cluster. SecretRef SecretReference `json:"secretRef"` // IngressDomain is the ingress domain of the corresponding target cluster. IngressDomain string `json:"ingressDomain"` }
ServiceTargetConfigSpec contains the specification for a ServiceTargetConfig.
func (*ServiceTargetConfigSpec) DeepCopy ¶
func (in *ServiceTargetConfigSpec) DeepCopy() *ServiceTargetConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTargetConfigSpec.
func (*ServiceTargetConfigSpec) DeepCopyInto ¶
func (in *ServiceTargetConfigSpec) DeepCopyInto(out *ServiceTargetConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceTargetConfigStatus ¶
type ServiceTargetConfigStatus struct { // ObservedGeneration is the most recent generation observed for this ServiceTargetConfig. // It corresponds to the ServiceTargetConfig generation, which is updated on mutation by the landscaper service controller. // +optional ObservedGeneration int64 `json:"observedGeneration"` // InstanceRefs is the list of references to instances that use this ServiceTargetConfig. // +optional InstanceRefs []ObjectReference `json:"instanceRefs,omitempty"` }
ServiceTargetConfigStatus contains the status of a ServiceTargetConfig.
func (*ServiceTargetConfigStatus) DeepCopy ¶
func (in *ServiceTargetConfigStatus) DeepCopy() *ServiceTargetConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTargetConfigStatus.
func (*ServiceTargetConfigStatus) DeepCopyInto ¶
func (in *ServiceTargetConfigStatus) DeepCopyInto(out *ServiceTargetConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subject ¶
type Subject struct { // Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". // If the Authorizer does not recognized the kind value, the Authorizer should report an error. Kind string `json:"kind"` // Name of the object being referenced. Name string `json:"name"` // Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty // the Authorizer should report an error. // +optional Namespace string `json:"namespace,omitempty"` }
Subject is a User, Group or ServiceAccount(with namespace). Similar to rbac.Subject struct but does not depend on it to prevent future k8s version from breaking this logic.
func (*Subject) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject.
func (*Subject) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubjectList ¶
type SubjectList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec contains the specification for the SubjectList. Spec SubjectListSpec `json:"spec"` // Status contains the status for the SubjectList. // +optional Status SubjectListStatus `json:"status"` }
+kubebuilder:resource:singular="subjectlist",path="subjectlists",shortName="sulist",scope="Namespaced" +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
func (*SubjectList) DeepCopy ¶
func (in *SubjectList) DeepCopy() *SubjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectList.
func (*SubjectList) DeepCopyInto ¶
func (in *SubjectList) DeepCopyInto(out *SubjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubjectList) DeepCopyObject ¶
func (in *SubjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubjectListList ¶
type SubjectListList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SubjectList `json:"items"` }
NamespaceRegistrationList contains a list of NamespaceRegistration
func (*SubjectListList) DeepCopy ¶
func (in *SubjectListList) DeepCopy() *SubjectListList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectListList.
func (*SubjectListList) DeepCopyInto ¶
func (in *SubjectListList) DeepCopyInto(out *SubjectListList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SubjectListList) DeepCopyObject ¶
func (in *SubjectListList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SubjectListSpec ¶
type SubjectListSpec struct { //Subject contains a reference to the object or user identities a role binding applies to. Subjects []Subject `json:"subjects"` //ViewerSubjects contains a reference to the object or user identities a role binding applies to. // + optional ViewerSubjects []Subject `json:"viewerSubjects,omitempty"` }
SubjectListSpec contains the specification for the SubjectList.
func (*SubjectListSpec) DeepCopy ¶
func (in *SubjectListSpec) DeepCopy() *SubjectListSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectListSpec.
func (*SubjectListSpec) DeepCopyInto ¶
func (in *SubjectListSpec) DeepCopyInto(out *SubjectListSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubjectListStatus ¶
type SubjectListStatus struct { Phase string `json:"phase"` ObservedGeneration int64 `json:"observedGeneration"` }
SubjectListStatus contains the status for the SubjectList.
func (*SubjectListStatus) DeepCopy ¶
func (in *SubjectListStatus) DeepCopy() *SubjectListStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectListStatus.
func (*SubjectListStatus) DeepCopyInto ¶
func (in *SubjectListStatus) DeepCopyInto(out *SubjectListStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetScheduling ¶
type TargetScheduling struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec contains the specification for the Scheduling Spec TargetSchedulingSpec `json:"spec"` }
TargetScheduling defines the rules according to which a LandscaperDeployment is assigned a ServiceTargetConfig. +kubebuilder:resource:singular="targetscheduling",path="targetschedulings",shortName="ts",scope="Namespaced" +kubebuilder:storageversion
func (*TargetScheduling) DeepCopy ¶
func (in *TargetScheduling) DeepCopy() *TargetScheduling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetScheduling.
func (*TargetScheduling) DeepCopyInto ¶
func (in *TargetScheduling) DeepCopyInto(out *TargetScheduling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetScheduling) DeepCopyObject ¶
func (in *TargetScheduling) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TargetSchedulingList ¶
type TargetSchedulingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TargetScheduling `json:"items"` }
TargetSchedulingList contains a list of Scheduling
func (*TargetSchedulingList) DeepCopy ¶
func (in *TargetSchedulingList) DeepCopy() *TargetSchedulingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSchedulingList.
func (*TargetSchedulingList) DeepCopyInto ¶
func (in *TargetSchedulingList) DeepCopyInto(out *TargetSchedulingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetSchedulingList) DeepCopyObject ¶
func (in *TargetSchedulingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TargetSchedulingSpec ¶
type TargetSchedulingSpec struct {
Rules []SchedulingRule `json:"rules,omitempty"`
}
func (*TargetSchedulingSpec) DeepCopy ¶
func (in *TargetSchedulingSpec) DeepCopy() *TargetSchedulingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSchedulingSpec.
func (*TargetSchedulingSpec) DeepCopyInto ¶
func (in *TargetSchedulingSpec) DeepCopyInto(out *TargetSchedulingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantSelector ¶
type TenantSelector struct {
ID string `json:"id,omitempty"`
}
func (*TenantSelector) DeepCopy ¶
func (in *TenantSelector) DeepCopy() *TenantSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantSelector.
func (*TenantSelector) DeepCopyInto ¶
func (in *TenantSelector) DeepCopyInto(out *TenantSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.