meta

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CassandraClusterMeta added in v1.7.0

type CassandraClusterMeta struct {
	// labels/annotations for the CassandraDatacenter component
	// +optional
	Tags `json:",inline"`

	// labels/annotations that will be applied to all components
	// created by the CRD
	// +optional
	CommonLabels map[string]string `json:"commonLabels,omitempty"`

	// labels/annotations for the pod components
	// +optional
	Pods Tags `json:"pods,omitempty"`

	// labels/annotations for all of the CassandraDatacenter service components
	ServiceConfig CassandraDatacenterServicesMeta `json:"services,omitempty"`
}

Struct to hold labels and annotations for the top-level Cassandra cluster definition. +kubebuilder:object:generate=true

func (*CassandraClusterMeta) DeepCopy added in v1.7.0

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

func (*CassandraClusterMeta) DeepCopyInto added in v1.7.0

func (in *CassandraClusterMeta) DeepCopyInto(out *CassandraClusterMeta)

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

type CassandraDatacenterServicesMeta

type CassandraDatacenterServicesMeta struct {
	DatacenterService     Tags `json:"dcService,omitempty"`
	SeedService           Tags `json:"seedService,omitempty"`
	AllPodsService        Tags `json:"allPodsService,omitempty"`
	AdditionalSeedService Tags `json:"additionalSeedService,omitempty"`
	NodePortService       Tags `json:"nodePortService,omitempty"`
}

CassandraDatacenterServicesMeta is very similar to cassdcapi.ServiceConfig and is passed to cass-operator in the AdditionalServiceConfig field of the CassandraDatacenter spec. +kubebuilder:object:generate=true

func (*CassandraDatacenterServicesMeta) DeepCopy

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

func (*CassandraDatacenterServicesMeta) DeepCopyInto

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

func (CassandraDatacenterServicesMeta) ToCassAdditionalServiceConfig

func (in CassandraDatacenterServicesMeta) ToCassAdditionalServiceConfig() cassdcapi.ServiceConfig

type ResourceMeta

type ResourceMeta struct {
	// labels/annotations for the top-level CRD component
	// +optional
	Tags `json:",inline"`

	// labels/annotations that will be applied to all components
	// created by the CRD
	// +optional
	CommonLabels map[string]string `json:"commonLabels,omitempty"`

	// labels/annotations for the pod components
	// +optional
	Pods Tags `json:"pods,omitempty"`

	// labels/annotations for the service component
	Service Tags `json:"service,omitempty"`
}

Struct to hold labels and annotations for a resource +kubebuilder:object:generate=true

func (*ResourceMeta) DeepCopy

func (in *ResourceMeta) DeepCopy() *ResourceMeta

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

func (*ResourceMeta) DeepCopyInto

func (in *ResourceMeta) DeepCopyInto(out *ResourceMeta)

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

type Tags

type Tags struct {
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

+kubebuilder:object:generate=true

func (*Tags) DeepCopy

func (in *Tags) DeepCopy() *Tags

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

func (*Tags) DeepCopyInto

func (in *Tags) DeepCopyInto(out *Tags)

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