Documentation
¶
Overview ¶
+groupName=clusters.verrazzano.io
Package v1alpha1 contains API Schema definitions for the clusters v1alpha1 API group +kubebuilder:object:generate=true +groupName=clusters.verrazzano.io
Index ¶
- Constants
- Variables
- type ApplicationConfigurationTemplate
- type Cluster
- type ClusterLevelStatus
- type ComponentTemplate
- type Condition
- type ConditionType
- type ConfigMapTemplate
- type EmbeddedObjectMeta
- type MultiClusterApplicationConfiguration
- func (in *MultiClusterApplicationConfiguration) DeepCopy() *MultiClusterApplicationConfiguration
- func (in *MultiClusterApplicationConfiguration) DeepCopyInto(out *MultiClusterApplicationConfiguration)
- func (in *MultiClusterApplicationConfiguration) DeepCopyObject() runtime.Object
- func (in *MultiClusterApplicationConfiguration) GetPlacement() Placement
- func (in *MultiClusterApplicationConfiguration) GetStatus() MultiClusterResourceStatus
- type MultiClusterApplicationConfigurationList
- func (in *MultiClusterApplicationConfigurationList) DeepCopy() *MultiClusterApplicationConfigurationList
- func (in *MultiClusterApplicationConfigurationList) DeepCopyInto(out *MultiClusterApplicationConfigurationList)
- func (in *MultiClusterApplicationConfigurationList) DeepCopyObject() runtime.Object
- type MultiClusterApplicationConfigurationSpec
- type MultiClusterComponent
- func (in *MultiClusterComponent) DeepCopy() *MultiClusterComponent
- func (in *MultiClusterComponent) DeepCopyInto(out *MultiClusterComponent)
- func (in *MultiClusterComponent) DeepCopyObject() runtime.Object
- func (in *MultiClusterComponent) GetPlacement() Placement
- func (in *MultiClusterComponent) GetStatus() MultiClusterResourceStatus
- type MultiClusterComponentList
- type MultiClusterComponentSpec
- type MultiClusterConfigMap
- func (in *MultiClusterConfigMap) DeepCopy() *MultiClusterConfigMap
- func (in *MultiClusterConfigMap) DeepCopyInto(out *MultiClusterConfigMap)
- func (in *MultiClusterConfigMap) DeepCopyObject() runtime.Object
- func (in *MultiClusterConfigMap) GetPlacement() Placement
- func (in *MultiClusterConfigMap) GetStatus() MultiClusterResourceStatus
- type MultiClusterConfigMapList
- type MultiClusterConfigMapSpec
- type MultiClusterResourceStatus
- type MultiClusterSecret
- func (in *MultiClusterSecret) DeepCopy() *MultiClusterSecret
- func (in *MultiClusterSecret) DeepCopyInto(out *MultiClusterSecret)
- func (in *MultiClusterSecret) DeepCopyObject() runtime.Object
- func (in *MultiClusterSecret) GetPlacement() Placement
- func (in *MultiClusterSecret) GetStatus() MultiClusterResourceStatus
- type MultiClusterSecretList
- type MultiClusterSecretSpec
- type NamespaceTemplate
- type NetworkPolicyTemplate
- type Placement
- type ProjectTemplate
- type SecretTemplate
- type SecuritySpec
- type StateType
- type VerrazzanoProject
- func (in *VerrazzanoProject) DeepCopy() *VerrazzanoProject
- func (in *VerrazzanoProject) DeepCopyInto(out *VerrazzanoProject)
- func (in *VerrazzanoProject) DeepCopyObject() runtime.Object
- func (in *VerrazzanoProject) GetPlacement() Placement
- func (in *VerrazzanoProject) GetStatus() MultiClusterResourceStatus
- type VerrazzanoProjectList
- type VerrazzanoProjectSpec
Constants ¶
const MultiClusterAppConfigKind = "MultiClusterApplicationConfiguration"
const MultiClusterAppConfigResource = "multiclusterapplicationconfigurations"
const MultiClusterComponentKind = "MultiClusterComponent"
const MultiClusterComponentResource = "multiclustercomponents"
const MultiClusterConfigMapKind = "MultiClusterConfigMap"
const MultiClusterConfigMapResource = "multiclusterconfigmaps"
const MultiClusterSecretKind = "MultiClusterSecret"
const MultiClusterSecretResource = "multiclustersecrets"
const VerrazzanoProjectKind = "VerrazzanoProject"
const VerrazzanoProjectResource = "verrazzanoprojects"
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "clusters.verrazzano.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ApplicationConfigurationTemplate ¶
type ApplicationConfigurationTemplate struct { // +optional Metadata EmbeddedObjectMeta `json:"metadata,omitempty"` Spec v1alpha2.ApplicationConfigurationSpec `json:"spec,omitempty"` }
ApplicationConfigurationTemplate has the metadata and spec of the underlying OAM ApplicationConfiguration
func (*ApplicationConfigurationTemplate) DeepCopy ¶
func (in *ApplicationConfigurationTemplate) DeepCopy() *ApplicationConfigurationTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationConfigurationTemplate.
func (*ApplicationConfigurationTemplate) DeepCopyInto ¶
func (in *ApplicationConfigurationTemplate) DeepCopyInto(out *ApplicationConfigurationTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cluster ¶
type Cluster struct { // the name of the cluster Name string `json:"name"` }
Cluster where multi cluster resources are placed
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterLevelStatus ¶
type ClusterLevelStatus struct { // Name of the cluster Name string `json:"name"` // State of the resource in this cluster State StateType `json:"state"` // Message with details about the status in this cluster Message string `json:"message,omitempty"` // LastUpdateTime of the resource state in this cluster LastUpdateTime string `json:"lastUpdateTime"` }
ClusterLevelStatus describes the status of the multi cluster resource in a specific cluster
func (*ClusterLevelStatus) DeepCopy ¶
func (in *ClusterLevelStatus) DeepCopy() *ClusterLevelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterLevelStatus.
func (*ClusterLevelStatus) DeepCopyInto ¶
func (in *ClusterLevelStatus) DeepCopyInto(out *ClusterLevelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentTemplate ¶
type ComponentTemplate struct { // +optional Metadata EmbeddedObjectMeta `json:"metadata,omitempty"` Spec v1alpha2.ComponentSpec `json:"spec,omitempty"` }
ComponentTemplate has the metadata and spec of the underlying OAM component
func (*ComponentTemplate) DeepCopy ¶
func (in *ComponentTemplate) DeepCopy() *ComponentTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentTemplate.
func (*ComponentTemplate) DeepCopyInto ¶
func (in *ComponentTemplate) DeepCopyInto(out *ComponentTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { // Type of condition. Type ConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status corev1.ConditionStatus `json:"status"` // Last time the condition transitioned from one status to another. // +optional LastTransitionTime string `json:"lastTransitionTime,omitempty"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty"` }
Condition describes current state of a multi cluster resource.
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionType ¶
type ConditionType string
ConditionType identifies the condition of the multi-cluster resource which can be checked with kubectl wait
const ( // DeployPending means deployment to specified cluster is in progress. DeployPending ConditionType = "DeployPending" // DeployComplete means deployment to specified cluster completed successfully DeployComplete ConditionType = "DeployComplete" // DeployFailed means the deployment to specified cluster has failed. DeployFailed ConditionType = "DeployFailed" )
type ConfigMapTemplate ¶
type ConfigMapTemplate struct { // +optional Metadata EmbeddedObjectMeta `json:"metadata,omitempty"` // Immutable corresponds to the Immutable field of K8S corev1.ConfigMap Immutable *bool `json:"immutable,omitempty"` // Data corresponds to the Data field of K8S corev1.ConfigMap Data map[string]string `json:"data,omitempty"` // BinaryData corresponds to the BinaryData field of K8S corev1.ConfigMap BinaryData map[string][]byte `json:"binaryData,omitempty"` }
ConfigMapTemplate has the metadata and spec of the underlying ConfigMap Note that K8S does not define a "ConfigMapSpec" data type, so fields in ConfigMap are copied here
func (*ConfigMapTemplate) DeepCopy ¶
func (in *ConfigMapTemplate) DeepCopy() *ConfigMapTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapTemplate.
func (*ConfigMapTemplate) DeepCopyInto ¶
func (in *ConfigMapTemplate) DeepCopyInto(out *ConfigMapTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmbeddedObjectMeta ¶ added in v0.15.0
type EmbeddedObjectMeta struct { // Name must be unique within a namespace. // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // Namespace defines the space within each name must be unique. // +optional Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"` // Map of string keys and values that can be used to organize and categorize // (scope and select) objects. // +optional Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,11,rep,name=labels"` // Annotations is an unstructured key value map stored with a resource that may be // set by external tools to store and retrieve arbitrary metadata. // +optional Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,12,rep,name=annotations"` }
func (*EmbeddedObjectMeta) DeepCopy ¶ added in v0.15.0
func (in *EmbeddedObjectMeta) DeepCopy() *EmbeddedObjectMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedObjectMeta.
func (*EmbeddedObjectMeta) DeepCopyInto ¶ added in v0.15.0
func (in *EmbeddedObjectMeta) DeepCopyInto(out *EmbeddedObjectMeta)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiClusterApplicationConfiguration ¶
type MultiClusterApplicationConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MultiClusterApplicationConfigurationSpec `json:"spec,omitempty"` Status MultiClusterResourceStatus `json:"status,omitempty"` }
MultiClusterApplicationConfiguration is the Schema for the multiclusterapplicationconfigurations API
func (*MultiClusterApplicationConfiguration) DeepCopy ¶
func (in *MultiClusterApplicationConfiguration) DeepCopy() *MultiClusterApplicationConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterApplicationConfiguration.
func (*MultiClusterApplicationConfiguration) DeepCopyInto ¶
func (in *MultiClusterApplicationConfiguration) DeepCopyInto(out *MultiClusterApplicationConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiClusterApplicationConfiguration) DeepCopyObject ¶
func (in *MultiClusterApplicationConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MultiClusterApplicationConfiguration) GetPlacement ¶ added in v0.15.0
func (in *MultiClusterApplicationConfiguration) GetPlacement() Placement
GetPlacement returns the Placement of this resource
func (*MultiClusterApplicationConfiguration) GetStatus ¶
func (in *MultiClusterApplicationConfiguration) GetStatus() MultiClusterResourceStatus
GetStatus returns the MultiClusterResourceStatus of this resource
type MultiClusterApplicationConfigurationList ¶
type MultiClusterApplicationConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MultiClusterApplicationConfiguration `json:"items"` }
MultiClusterApplicationConfigurationList contains a list of MultiClusterApplicationConfiguration
func (*MultiClusterApplicationConfigurationList) DeepCopy ¶
func (in *MultiClusterApplicationConfigurationList) DeepCopy() *MultiClusterApplicationConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterApplicationConfigurationList.
func (*MultiClusterApplicationConfigurationList) DeepCopyInto ¶
func (in *MultiClusterApplicationConfigurationList) DeepCopyInto(out *MultiClusterApplicationConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiClusterApplicationConfigurationList) DeepCopyObject ¶
func (in *MultiClusterApplicationConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiClusterApplicationConfigurationSpec ¶
type MultiClusterApplicationConfigurationSpec struct { // The embedded OAM ApplicationConfiguration Template ApplicationConfigurationTemplate `json:"template"` // Clusters in which the application is to be placed Placement Placement `json:"placement"` // List of secrets used by the application Secrets []string `json:"secrets,omitempty"` }
MultiClusterApplicationConfigurationSpec defines the desired state of MultiClusterApplicationConfiguration
func (*MultiClusterApplicationConfigurationSpec) DeepCopy ¶
func (in *MultiClusterApplicationConfigurationSpec) DeepCopy() *MultiClusterApplicationConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterApplicationConfigurationSpec.
func (*MultiClusterApplicationConfigurationSpec) DeepCopyInto ¶
func (in *MultiClusterApplicationConfigurationSpec) DeepCopyInto(out *MultiClusterApplicationConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiClusterComponent ¶
type MultiClusterComponent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MultiClusterComponentSpec `json:"spec,omitempty"` Status MultiClusterResourceStatus `json:"status,omitempty"` }
MultiClusterComponent is the Schema for the multiclustercomponents API, which will be used in the management cluster, to create an OAM Component targeted at one or more managed clusters
func (*MultiClusterComponent) DeepCopy ¶
func (in *MultiClusterComponent) DeepCopy() *MultiClusterComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterComponent.
func (*MultiClusterComponent) DeepCopyInto ¶
func (in *MultiClusterComponent) DeepCopyInto(out *MultiClusterComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiClusterComponent) DeepCopyObject ¶
func (in *MultiClusterComponent) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MultiClusterComponent) GetPlacement ¶ added in v0.15.0
func (in *MultiClusterComponent) GetPlacement() Placement
GetPlacement returns the Placement of this resource
func (*MultiClusterComponent) GetStatus ¶
func (in *MultiClusterComponent) GetStatus() MultiClusterResourceStatus
GetStatus returns the MultiClusterResourceStatus of this resource
type MultiClusterComponentList ¶
type MultiClusterComponentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MultiClusterComponent `json:"items"` }
MultiClusterComponentList contains a list of MultiClusterComponent
func (*MultiClusterComponentList) DeepCopy ¶
func (in *MultiClusterComponentList) DeepCopy() *MultiClusterComponentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterComponentList.
func (*MultiClusterComponentList) DeepCopyInto ¶
func (in *MultiClusterComponentList) DeepCopyInto(out *MultiClusterComponentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiClusterComponentList) DeepCopyObject ¶
func (in *MultiClusterComponentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiClusterComponentSpec ¶
type MultiClusterComponentSpec struct { // The embedded OAM Component Template ComponentTemplate `json:"template"` // Clusters in which the secret is to be placed Placement Placement `json:"placement"` }
MultiClusterComponentSpec defines the desired state of MultiClusterComponent
func (*MultiClusterComponentSpec) DeepCopy ¶
func (in *MultiClusterComponentSpec) DeepCopy() *MultiClusterComponentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterComponentSpec.
func (*MultiClusterComponentSpec) DeepCopyInto ¶
func (in *MultiClusterComponentSpec) DeepCopyInto(out *MultiClusterComponentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiClusterConfigMap ¶
type MultiClusterConfigMap struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MultiClusterConfigMapSpec `json:"spec,omitempty"` Status MultiClusterResourceStatus `json:"status,omitempty"` }
MultiClusterConfigMap is the Schema for the multiclusterconfigmaps API, which will be used in the management cluster, to create a Kubernetes ConfigMap targeted at one or more managed clusters
func (*MultiClusterConfigMap) DeepCopy ¶
func (in *MultiClusterConfigMap) DeepCopy() *MultiClusterConfigMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterConfigMap.
func (*MultiClusterConfigMap) DeepCopyInto ¶
func (in *MultiClusterConfigMap) DeepCopyInto(out *MultiClusterConfigMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiClusterConfigMap) DeepCopyObject ¶
func (in *MultiClusterConfigMap) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MultiClusterConfigMap) GetPlacement ¶ added in v0.15.0
func (in *MultiClusterConfigMap) GetPlacement() Placement
GetPlacement returns the Placement of this resource
func (*MultiClusterConfigMap) GetStatus ¶
func (in *MultiClusterConfigMap) GetStatus() MultiClusterResourceStatus
GetStatus returns the MultiClusterResourceStatus of this resource
type MultiClusterConfigMapList ¶
type MultiClusterConfigMapList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MultiClusterConfigMap `json:"items"` }
MultiClusterConfigMapList contains a list of MultiClusterConfigMap
func (*MultiClusterConfigMapList) DeepCopy ¶
func (in *MultiClusterConfigMapList) DeepCopy() *MultiClusterConfigMapList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterConfigMapList.
func (*MultiClusterConfigMapList) DeepCopyInto ¶
func (in *MultiClusterConfigMapList) DeepCopyInto(out *MultiClusterConfigMapList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiClusterConfigMapList) DeepCopyObject ¶
func (in *MultiClusterConfigMapList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiClusterConfigMapSpec ¶
type MultiClusterConfigMapSpec struct { // The embedded Kubernetes ConfigMap Template ConfigMapTemplate `json:"template"` // Clusters in which the ConfigMap is to be placed Placement Placement `json:"placement"` }
MultiClusterConfigMapSpec defines the desired state of MultiClusterConfigMap
func (*MultiClusterConfigMapSpec) DeepCopy ¶
func (in *MultiClusterConfigMapSpec) DeepCopy() *MultiClusterConfigMapSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterConfigMapSpec.
func (*MultiClusterConfigMapSpec) DeepCopyInto ¶
func (in *MultiClusterConfigMapSpec) DeepCopyInto(out *MultiClusterConfigMapSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiClusterResourceStatus ¶
type MultiClusterResourceStatus struct { // The latest available observations of an object's current state. Conditions []Condition `json:"conditions,omitempty"` // State of the multi cluster resource State StateType `json:"state,omitempty"` Clusters []ClusterLevelStatus `json:"clusters,omitempty"` }
MultiClusterResourceStatus represents the status of a multi-cluster resource, including cluster-level status information
func (*MultiClusterResourceStatus) DeepCopy ¶
func (in *MultiClusterResourceStatus) DeepCopy() *MultiClusterResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterResourceStatus.
func (*MultiClusterResourceStatus) DeepCopyInto ¶
func (in *MultiClusterResourceStatus) DeepCopyInto(out *MultiClusterResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiClusterSecret ¶
type MultiClusterSecret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MultiClusterSecretSpec `json:"spec,omitempty"` Status MultiClusterResourceStatus `json:"status,omitempty"` }
MultiClusterSecret is the Schema for the multiclustersecrets API, which will be used by a user in the management cluster, to create a Kubernetes secret targeted at one or more managed clusters
func (*MultiClusterSecret) DeepCopy ¶
func (in *MultiClusterSecret) DeepCopy() *MultiClusterSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterSecret.
func (*MultiClusterSecret) DeepCopyInto ¶
func (in *MultiClusterSecret) DeepCopyInto(out *MultiClusterSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiClusterSecret) DeepCopyObject ¶
func (in *MultiClusterSecret) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MultiClusterSecret) GetPlacement ¶ added in v0.15.0
func (in *MultiClusterSecret) GetPlacement() Placement
GetPlacement returns the Placement of this resource
func (*MultiClusterSecret) GetStatus ¶
func (in *MultiClusterSecret) GetStatus() MultiClusterResourceStatus
GetStatus returns the MultiClusterResourceStatus of this resource
type MultiClusterSecretList ¶
type MultiClusterSecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MultiClusterSecret `json:"items"` }
MultiClusterSecretList contains a list of MultiClusterSecret
func (*MultiClusterSecretList) DeepCopy ¶
func (in *MultiClusterSecretList) DeepCopy() *MultiClusterSecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterSecretList.
func (*MultiClusterSecretList) DeepCopyInto ¶
func (in *MultiClusterSecretList) DeepCopyInto(out *MultiClusterSecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiClusterSecretList) DeepCopyObject ¶
func (in *MultiClusterSecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiClusterSecretSpec ¶
type MultiClusterSecretSpec struct { // The embedded Kubernetes secret Template SecretTemplate `json:"template"` // Clusters in which the secret is to be placed Placement Placement `json:"placement"` }
MultiClusterSecretSpec defines the desired state of MultiClusterSecret
func (*MultiClusterSecretSpec) DeepCopy ¶
func (in *MultiClusterSecretSpec) DeepCopy() *MultiClusterSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterSecretSpec.
func (*MultiClusterSecretSpec) DeepCopyInto ¶
func (in *MultiClusterSecretSpec) DeepCopyInto(out *MultiClusterSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceTemplate ¶
type NamespaceTemplate struct { // +kubebuilder:pruning:PreserveUnknownFields Metadata metav1.ObjectMeta `json:"metadata"` Spec corev1.NamespaceSpec `json:"spec,omitempty"` }
NamespaceTemplate has the metadata and spec of the underlying namespace
func (*NamespaceTemplate) DeepCopy ¶
func (in *NamespaceTemplate) DeepCopy() *NamespaceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceTemplate.
func (*NamespaceTemplate) DeepCopyInto ¶
func (in *NamespaceTemplate) DeepCopyInto(out *NamespaceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyTemplate ¶ added in v0.14.0
type NetworkPolicyTemplate struct { // +kubebuilder:pruning:PreserveUnknownFields Metadata metav1.ObjectMeta `json:"metadata"` // NetworkPolicySpec specifies the NetworkPolicy for a specific namespace / pod combination. Spec netv1.NetworkPolicySpec `json:"spec,omitempty"` }
NetworkPolicyTemplate has the metadata and spec of the underlying NetworkPolicy
func (*NetworkPolicyTemplate) DeepCopy ¶ added in v0.14.0
func (in *NetworkPolicyTemplate) DeepCopy() *NetworkPolicyTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyTemplate.
func (*NetworkPolicyTemplate) DeepCopyInto ¶ added in v0.14.0
func (in *NetworkPolicyTemplate) DeepCopyInto(out *NetworkPolicyTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Placement ¶
type Placement struct {
Clusters []Cluster `json:"clusters"`
}
Placement information for multi cluster resources
func (*Placement) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Placement.
func (*Placement) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectTemplate ¶
type ProjectTemplate struct { Namespaces []NamespaceTemplate `json:"namespaces"` // Security specifies the project security configuration // +optional Security SecuritySpec `json:"security,omitempty"` // Network policies applied to namespaces in the project // +optional NetworkPolicies []NetworkPolicyTemplate `json:"networkPolicies,omitempty"` }
ProjectTemplate contains the resources for a project
func (*ProjectTemplate) DeepCopy ¶
func (in *ProjectTemplate) DeepCopy() *ProjectTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectTemplate.
func (*ProjectTemplate) DeepCopyInto ¶
func (in *ProjectTemplate) DeepCopyInto(out *ProjectTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretTemplate ¶
type SecretTemplate struct { // +optional Metadata EmbeddedObjectMeta `json:"metadata,omitempty"` // Data corresponds to the Data field of K8S corev1.Secret Data map[string][]byte `json:"data,omitempty"` // StringData corresponds to the StringData field of K8S corev1.Secret StringData map[string]string `json:"stringData,omitempty"` // Type corresponds to the Type field of K8S corev1.Secret Type corev1.SecretType `json:"type,omitempty"` }
SecretTemplate has the metadata and spec of the underlying secret Note that K8S does not define a "SecretSpec" data type, so the 3 fields in Secret are copied here
func (*SecretTemplate) DeepCopy ¶
func (in *SecretTemplate) DeepCopy() *SecretTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretTemplate.
func (*SecretTemplate) DeepCopyInto ¶
func (in *SecretTemplate) DeepCopyInto(out *SecretTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecuritySpec ¶
type SecuritySpec struct { // ProjectAdminSubjects specifies the list of subjects that should be bound to the verrazzano-project-admin role // +optional ProjectAdminSubjects []rbacv1.Subject `json:"projectAdminSubjects,omitempty"` // ProjectMonitorBinding specifies the subject that should be bound to the verrazzano-project-monitor role // +optional ProjectMonitorSubjects []rbacv1.Subject `json:"projectMonitorSubjects,omitempty"` }
SecuritySpec defines the security configuration for a project
func (*SecuritySpec) DeepCopy ¶
func (in *SecuritySpec) DeepCopy() *SecuritySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecuritySpec.
func (*SecuritySpec) DeepCopyInto ¶
func (in *SecuritySpec) DeepCopyInto(out *SecuritySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StateType ¶
type StateType string
StateType identifies the state of a multi-cluster resource
const ( // Pending is the state when deploy to specified cluster is in progress Pending StateType = "Pending" // Succeeded is the state when deploy to specified cluster is completed Succeeded StateType = "Succeeded" // Failed is the state when deploy to specified cluster has failed Failed StateType = "Failed" )
type VerrazzanoProject ¶
type VerrazzanoProject struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VerrazzanoProjectSpec `json:"spec"` Status MultiClusterResourceStatus `json:"status,omitempty"` }
VerrazzanoProject is the Schema for the verrazzanoprojects API
func (*VerrazzanoProject) DeepCopy ¶
func (in *VerrazzanoProject) DeepCopy() *VerrazzanoProject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoProject.
func (*VerrazzanoProject) DeepCopyInto ¶
func (in *VerrazzanoProject) DeepCopyInto(out *VerrazzanoProject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerrazzanoProject) DeepCopyObject ¶
func (in *VerrazzanoProject) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VerrazzanoProject) GetPlacement ¶ added in v0.15.0
func (in *VerrazzanoProject) GetPlacement() Placement
GetPlacement returns the Placement of this resource
func (*VerrazzanoProject) GetStatus ¶
func (in *VerrazzanoProject) GetStatus() MultiClusterResourceStatus
GetStatus returns the MultiClusterResourceStatus of this resource
type VerrazzanoProjectList ¶
type VerrazzanoProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VerrazzanoProject `json:"items"` }
VerrazzanoProjectList contains a list of VerrazzanoProject
func (*VerrazzanoProjectList) DeepCopy ¶
func (in *VerrazzanoProjectList) DeepCopy() *VerrazzanoProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoProjectList.
func (*VerrazzanoProjectList) DeepCopyInto ¶
func (in *VerrazzanoProjectList) DeepCopyInto(out *VerrazzanoProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerrazzanoProjectList) DeepCopyObject ¶
func (in *VerrazzanoProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VerrazzanoProjectSpec ¶
type VerrazzanoProjectSpec struct { Template ProjectTemplate `json:"template"` // Clusters in which the namespaces in this project are to be placed Placement Placement `json:"placement"` }
VerrazzanoProjectSpec defines the desired state of VerrazzanoProject
func (*VerrazzanoProjectSpec) DeepCopy ¶
func (in *VerrazzanoProjectSpec) DeepCopy() *VerrazzanoProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoProjectSpec.
func (*VerrazzanoProjectSpec) DeepCopyInto ¶
func (in *VerrazzanoProjectSpec) DeepCopyInto(out *VerrazzanoProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.