v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=wavesoftware.pl

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "wavesoftware.pl", 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 PassLess

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

	Spec   PassLessSpec   `json:"spec,omitempty"`
	Status PassLessStatus `json:"status,omitempty"`
}

PassLess is the Schema for the passlesses API.

func (*PassLess) CreateSecret

func (in *PassLess) CreateSecret(generator masterpassword.Generator) *corev1.Secret

CreateSecret will created a secret that corresponds to.

func (*PassLess) DeepCopy

func (in *PassLess) DeepCopy() *PassLess

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

func (*PassLess) DeepCopyInto

func (in *PassLess) DeepCopyInto(out *PassLess)

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

func (*PassLess) DeepCopyObject

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

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

type PassLessEntry

type PassLessEntry struct {
	// Version defines an incremental number of a passless secret. To change secret
	// increment this number.
	Version uint `json:"version,omitempty"`

	// Scope defines a type of the passless secret.
	Scope string `json:"scope,omitempty"`

	// Length defines a length of the passless secret.
	Length uint8 `json:"length,omitempty"`
}

PassLessEntry contains a configuration for each secret value to be generated.

func (*PassLessEntry) DeepCopy

func (in *PassLessEntry) DeepCopy() *PassLessEntry

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

func (*PassLessEntry) DeepCopyInto

func (in *PassLessEntry) DeepCopyInto(out *PassLessEntry)

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

type PassLessList

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

PassLessList contains a list of PassLess.

func (*PassLessList) DeepCopy

func (in *PassLessList) DeepCopy() *PassLessList

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

func (*PassLessList) DeepCopyInto

func (in *PassLessList) DeepCopyInto(out *PassLessList)

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

func (*PassLessList) DeepCopyObject

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

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

type PassLessSpec

type PassLessSpec map[string]PassLessEntry

PassLessSpec defines the desired state of PassLess.

func (PassLessSpec) DeepCopy

func (in PassLessSpec) DeepCopy() PassLessSpec

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

func (PassLessSpec) DeepCopyInto

func (in PassLessSpec) DeepCopyInto(out *PassLessSpec)

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

type PassLessStatus

type PassLessStatus string

PassLessStatus defines the observed state of PassLess.

const (
	// Dirty is when secret isn't in par with passless yet.
	Dirty PassLessStatus = "Dirty"

	// Ready is when secret has been reconciled.
	Ready PassLessStatus = "Ready"

	// Blocked is when whe can't create secret as there is another user
	// created secret in the way.
	Blocked PassLessStatus = "Blocked"
)

Jump to

Keyboard shortcuts

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