v1alpha1

package
v0.0.0-...-59e1fa5 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the resourcemirror v1alpha1 API group +kubebuilder:object:generate=true +groupName=resourcemirror.joshault.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "resourcemirror.joshault.dev", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ClusterSecret

type ClusterSecret struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterSecretSpec   `json:"spec,omitempty"`
	Status ClusterSecretStatus `json:"status,omitempty"`
}

ClusterSecret is the Schema for the clustersecrets API

func (*ClusterSecret) DeepCopy

func (in *ClusterSecret) DeepCopy() *ClusterSecret

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

func (*ClusterSecret) DeepCopyInto

func (in *ClusterSecret) DeepCopyInto(out *ClusterSecret)

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

func (*ClusterSecret) DeepCopyObject

func (in *ClusterSecret) DeepCopyObject() runtime.Object

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

type ClusterSecretList

type ClusterSecretList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterSecret `json:"items"`
}

ClusterSecretList contains a list of ClusterSecret

func (*ClusterSecretList) DeepCopy

func (in *ClusterSecretList) DeepCopy() *ClusterSecretList

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

func (*ClusterSecretList) DeepCopyInto

func (in *ClusterSecretList) DeepCopyInto(out *ClusterSecretList)

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

func (*ClusterSecretList) DeepCopyObject

func (in *ClusterSecretList) DeepCopyObject() runtime.Object

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

type ClusterSecretSpec

type ClusterSecretSpec struct {
	// Data contains the secret data. Each key must consist of alphanumeric
	// characters, '-', '_' or '.'. Each value must be a base64 encoded string.
	// This is identical to the v1/Secret data field.
	// +optional
	Data map[string][]byte `json:"data,omitempty"`

	// The type of secret described in https://kubernetes.io/docs/concepts/configuration/secret/#secret-types.
	// Defaults to Opaque if not specified. This is identical to the v1/Secret
	// type field.
	// +optional
	Type corev1.SecretType `json:"type,omitempty"`
}

ClusterSecretSpec defines the desired state of ClusterSecret

func (*ClusterSecretSpec) DeepCopy

func (in *ClusterSecretSpec) DeepCopy() *ClusterSecretSpec

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

func (*ClusterSecretSpec) DeepCopyInto

func (in *ClusterSecretSpec) DeepCopyInto(out *ClusterSecretSpec)

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

type ClusterSecretStatus

type ClusterSecretStatus struct {
	// Whether or not this ClusterSecret resource has been processed
	// and mirrored to the appropriate namespaces.
	Mirrored bool `json:"mirrored,omitempty"`

	// The timestamp when this ClusterSecret was last reconciled and
	// deployed to all namespaces.
	LastReconciled string `json:"lastReconciled,omitempty"`

	// A list of namespaces where this ClusterSecret was mirrored to.
	MirroredTo []string `json:"mirroredTo,omitempty"`
}

ClusterSecretStatus defines the observed state of ClusterSecret

func (*ClusterSecretStatus) DeepCopy

func (in *ClusterSecretStatus) DeepCopy() *ClusterSecretStatus

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

func (*ClusterSecretStatus) DeepCopyInto

func (in *ClusterSecretStatus) DeepCopyInto(out *ClusterSecretStatus)

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