v1

package
v1.0.5 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the secrets v1 API group +kubebuilder:object:generate=true +groupName=secrets.contentful.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "secrets.contentful.com", Version: "v1"}

	// 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 DataFrom

type DataFrom struct {
	SecretRef *SecretRef `json:"secretRef,omitempty"`
}

func (*DataFrom) DeepCopy

func (in *DataFrom) DeepCopy() *DataFrom

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

func (*DataFrom) DeepCopyInto

func (in *DataFrom) DeepCopyInto(out *DataFrom)

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

type SecretField

type SecretField struct {
	Name *string `json:"name"`

	// Value
	// +optional
	Value *string `json:"value,omitempty"`

	// ValueFrom
	// +optional
	ValueFrom *ValueFrom `json:"valueFrom,omitempty"`
}

func (*SecretField) DeepCopy

func (in *SecretField) DeepCopy() *SecretField

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

func (*SecretField) DeepCopyInto

func (in *SecretField) DeepCopyInto(out *SecretField)

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

type SecretKeyRef

type SecretKeyRef struct {
	Name *string `json:"name"`
	Key  *string `json:"key"`
}

func (*SecretKeyRef) DeepCopy

func (in *SecretKeyRef) DeepCopy() *SecretKeyRef

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

func (*SecretKeyRef) DeepCopyInto

func (in *SecretKeyRef) DeepCopyInto(out *SecretKeyRef)

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

type SecretRef

type SecretRef struct {
	Name *string `json:"name"`
}

func (*SecretRef) DeepCopy

func (in *SecretRef) DeepCopy() *SecretRef

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

func (*SecretRef) DeepCopyInto

func (in *SecretRef) DeepCopyInto(out *SecretRef)

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

type SyncedSecret

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

	Spec   SyncedSecretSpec   `json:"spec,omitempty"`
	Status SyncedSecretStatus `json:"status,omitempty"`
}

SyncedSecret is the Schema for the SyncedSecrets API

func (*SyncedSecret) DeepCopy

func (in *SyncedSecret) DeepCopy() *SyncedSecret

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

func (*SyncedSecret) DeepCopyInto

func (in *SyncedSecret) DeepCopyInto(out *SyncedSecret)

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

func (*SyncedSecret) DeepCopyObject

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

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

type SyncedSecretList

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

SyncedSecretList contains a list of SyncedSecret

func (*SyncedSecretList) DeepCopy

func (in *SyncedSecretList) DeepCopy() *SyncedSecretList

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

func (*SyncedSecretList) DeepCopyInto

func (in *SyncedSecretList) DeepCopyInto(out *SyncedSecretList)

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

func (*SyncedSecretList) DeepCopyObject

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

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

type SyncedSecretSpec

type SyncedSecretSpec struct {

	// Secret Metadata
	SecretMetadata metav1.ObjectMeta `json:"secretMetadata,omitempty"`

	// IAMRole
	// +optional
	IAMRole *string `json:"IAMRole"`

	// Data
	// +optional
	Data []*SecretField `json:"data,omitempty"`

	// DataFrom
	// +optional
	DataFrom *DataFrom `json:"dataFrom,omitempty"`
}

SyncedSecretSpec defines the desired state of SyncedSecret

func (*SyncedSecretSpec) DeepCopy

func (in *SyncedSecretSpec) DeepCopy() *SyncedSecretSpec

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

func (*SyncedSecretSpec) DeepCopyInto

func (in *SyncedSecretSpec) DeepCopyInto(out *SyncedSecretSpec)

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

type SyncedSecretStatus

type SyncedSecretStatus struct {

	// this is the version of the secret that is present in k8s secret this should be coming from the local cache
	CurrentVersionID string `json:"currentVersionID"`

	// hash(secret.data) that was generated, used for checking of a Secret has diverged and if it needs reconciling
	SecretHash string `json:"generatedSecretHash,omitempty"`
}

SyncedSecretStatus defines the observed state of SyncedSecret

func (*SyncedSecretStatus) DeepCopy

func (in *SyncedSecretStatus) DeepCopy() *SyncedSecretStatus

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

func (*SyncedSecretStatus) DeepCopyInto

func (in *SyncedSecretStatus) DeepCopyInto(out *SyncedSecretStatus)

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

type ValueFrom

type ValueFrom struct {
	// SecretRef
	// +optional
	SecretRef *SecretRef `json:"secretRef,omitempty"`

	// SecretKeyRef
	// +optional
	SecretKeyRef *SecretKeyRef `json:"secretKeyRef,omitempty"`

	// Template
	// +optional
	Template *string `json:"template,omitempty"`
}

func (*ValueFrom) DeepCopy

func (in *ValueFrom) DeepCopy() *ValueFrom

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

func (*ValueFrom) DeepCopyInto

func (in *ValueFrom) DeepCopyInto(out *ValueFrom)

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