v1alpha1

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: UPL-1.0 Imports: 8 Imported by: 0

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

View Source
const MultiClusterAppConfigKind = "MultiClusterApplicationConfiguration"
View Source
const MultiClusterAppConfigResource = "multiclusterapplicationconfigurations"
View Source
const MultiClusterComponentKind = "MultiClusterComponent"
View Source
const MultiClusterComponentResource = "multiclustercomponents"
View Source
const MultiClusterConfigMapKind = "MultiClusterConfigMap"
View Source
const MultiClusterConfigMapResource = "multiclusterconfigmaps"
View Source
const MultiClusterSecretKind = "MultiClusterSecret"
View Source
const MultiClusterSecretResource = "multiclustersecrets"
View Source
const VerrazzanoProjectKind = "VerrazzanoProject"
View Source
const VerrazzanoProjectResource = "verrazzanoprojects"

Variables

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

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

func (*ApplicationConfigurationTemplate) DeepCopyInto

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

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

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

func (*MultiClusterApplicationConfiguration) DeepCopyInto

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

func (*MultiClusterApplicationConfiguration) DeepCopyObject

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MultiClusterApplicationConfiguration) GetPlacement added in v0.15.0

GetPlacement returns the Placement of this resource

func (*MultiClusterApplicationConfiguration) GetStatus

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

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

func (*MultiClusterApplicationConfigurationList) DeepCopyInto

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

func (*MultiClusterApplicationConfigurationList) DeepCopyObject

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

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

func (*MultiClusterApplicationConfigurationSpec) DeepCopyInto

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

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

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

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

func (*MultiClusterComponentList) DeepCopyInto

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

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

func (*MultiClusterComponentSpec) DeepCopyInto

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

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

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

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

func (*MultiClusterConfigMapList) DeepCopyInto

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

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

func (*MultiClusterConfigMapSpec) DeepCopyInto

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

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

func (*MultiClusterResourceStatus) DeepCopyInto

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

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

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

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

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

func (in *Placement) DeepCopy() *Placement

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

func (*Placement) DeepCopyInto

func (in *Placement) DeepCopyInto(out *Placement)

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

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

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

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.

Jump to

Keyboard shortcuts

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