v1alpha1

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

View Source
const GroupName = "api.g8s.io"

GroupName specifies the group name used to register the objects.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// Depreciated: use Install instead
	AddToScheme = localSchemeBuilder.AddToScheme
	Install     = localSchemeBuilder.AddToScheme
)
View Source
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}

GroupVersion specifies the group and the version used to register the objects.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Allowlist

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

	Spec   AllowlistSpec   `json:"spec,omitempty"`
	Status AllowlistStatus `json:"status,omitempty"`
}

+genclient +genclient:nonNamespaced +k8s:register-gen +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:genclient:method=UpdateStatus,verb=updateStatus,subresource=status, \ result=k8s.io/apimachinery/pkg/apis/meta/v1.Status Allowlist is the Schema for the Allowlist API

func (*Allowlist) DeepCopy

func (in *Allowlist) DeepCopy() *Allowlist

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

func (*Allowlist) DeepCopyInto

func (in *Allowlist) DeepCopyInto(out *Allowlist)

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

func (*Allowlist) DeepCopyObject

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

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

type AllowlistList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object AllowlistList contains a list of Allowlist

func (*AllowlistList) DeepCopy

func (in *AllowlistList) DeepCopy() *AllowlistList

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

func (*AllowlistList) DeepCopyInto

func (in *AllowlistList) DeepCopyInto(out *AllowlistList)

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

func (*AllowlistList) DeepCopyObject

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

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

type AllowlistSpec

type AllowlistSpec struct {
	// +optional
	Logins []G8sTargets `json:"logins,omitempty"`

	// +optional
	SelfSignedTLSBundles []G8sTargets `json:"selfSignedTLSBundles,omitempty"`

	// +optional
	SSHKeyPairs []G8sTargets `json:"sshKeyPairs,omitempty"`
}

AllowlistSpec defines the desired state of Allowlist

func (*AllowlistSpec) DeepCopy

func (in *AllowlistSpec) DeepCopy() *AllowlistSpec

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

func (*AllowlistSpec) DeepCopyInto

func (in *AllowlistSpec) DeepCopyInto(out *AllowlistSpec)

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

type AllowlistStatus

type AllowlistStatus struct {
	Ready bool `json:"ready"`
}

AllowlistStatus defines the observed state of Allowlist

func (*AllowlistStatus) DeepCopy

func (in *AllowlistStatus) DeepCopy() *AllowlistStatus

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

func (*AllowlistStatus) DeepCopyInto

func (in *AllowlistStatus) DeepCopyInto(out *AllowlistStatus)

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

type G8s

type G8s []string
var G8sTypes G8s = []string{"Logins", "SelfSignedTLSBundles", "SSHKeyPairs"}

func (G8s) DeepCopy

func (in G8s) DeepCopy() G8s

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

func (G8s) DeepCopyInto

func (in G8s) DeepCopyInto(out *G8s)

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

type G8sTargets

type G8sTargets struct {
	Name string `json:"name,omitempty"`

	Targets []Target `json:"targets,omitempty"`
}

func (*G8sTargets) DeepCopy

func (in *G8sTargets) DeepCopy() *G8sTargets

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

func (*G8sTargets) DeepCopyInto

func (in *G8sTargets) DeepCopyInto(out *G8sTargets)

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

type Login

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

	Spec   LoginSpec   `json:"spec,omitempty"`
	Status LoginStatus `json:"status,omitempty"`
}

+genclient +k8s:register-gen +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:genclient:method=UpdateStatus,verb=updateStatus,subresource=status, \ result=k8s.io/apimachinery/pkg/apis/meta/v1.Status Login is the Schema for the Logins API

func (*Login) DeepCopy

func (in *Login) DeepCopy() *Login

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

func (*Login) DeepCopyInto

func (in *Login) DeepCopyInto(out *Login)

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

func (*Login) DeepCopyObject

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

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

type LoginList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object LoginList contains a list of Login

func (*LoginList) DeepCopy

func (in *LoginList) DeepCopy() *LoginList

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

func (*LoginList) DeepCopyInto

func (in *LoginList) DeepCopyInto(out *LoginList)

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

func (*LoginList) DeepCopyObject

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

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

type LoginSpec

type LoginSpec struct {
	Username string        `json:"username,omitempty"`
	Password *PasswordSpec `json:"password,omitempty"`
}

LoginSpec defines the desired state of Login

func (*LoginSpec) DeepCopy

func (in *LoginSpec) DeepCopy() *LoginSpec

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

func (*LoginSpec) DeepCopyInto

func (in *LoginSpec) DeepCopyInto(out *LoginSpec)

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

type LoginStatus

type LoginStatus struct {
	Ready bool `json:"ready"`
}

LoginStatus defines the observed state of Login

func (*LoginStatus) DeepCopy

func (in *LoginStatus) DeepCopy() *LoginStatus

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

func (*LoginStatus) DeepCopyInto

func (in *LoginStatus) DeepCopyInto(out *LoginStatus)

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

type PasswordSpec

type PasswordSpec struct {
	Length       uint8  `json:"length,omitempty"`
	CharacterSet string `json:"characterSet,omitempty"`
}

PasswordSpec defines the desired state of Password

func (*PasswordSpec) DeepCopy

func (in *PasswordSpec) DeepCopy() *PasswordSpec

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

func (*PasswordSpec) DeepCopyInto

func (in *PasswordSpec) DeepCopyInto(out *PasswordSpec)

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

type SSHKeyPair

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

	Spec   SSHKeyPairSpec   `json:"spec,omitempty"`
	Status SSHKeyPairStatus `json:"status,omitempty"`
}

+genclient +k8s:register-gen +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:genclient:method=UpdateStatus,verb=updateStatus,subresource=status, \ result=k8s.io/apimachinery/pkg/apis/meta/v1.Status SSHKeyPair is the Schema for the SSHKeyPairs API

func (*SSHKeyPair) DeepCopy

func (in *SSHKeyPair) DeepCopy() *SSHKeyPair

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

func (*SSHKeyPair) DeepCopyInto

func (in *SSHKeyPair) DeepCopyInto(out *SSHKeyPair)

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

func (*SSHKeyPair) DeepCopyObject

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

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

type SSHKeyPairList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object SSHKeyPairList contains a list of SSHKeyPair

func (*SSHKeyPairList) DeepCopy

func (in *SSHKeyPairList) DeepCopy() *SSHKeyPairList

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

func (*SSHKeyPairList) DeepCopyInto

func (in *SSHKeyPairList) DeepCopyInto(out *SSHKeyPairList)

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

func (*SSHKeyPairList) DeepCopyObject

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

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

type SSHKeyPairSpec

type SSHKeyPairSpec struct {
	// +optional
	BitSize int `json:"bitSize,omitempty"`

	KeyType SSHKeyPairType `json:"keyType,omitempty"`
}

SSHKeyPairSpec defines the desired state of SSHKeyPair

func (*SSHKeyPairSpec) DeepCopy

func (in *SSHKeyPairSpec) DeepCopy() *SSHKeyPairSpec

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

func (*SSHKeyPairSpec) DeepCopyInto

func (in *SSHKeyPairSpec) DeepCopyInto(out *SSHKeyPairSpec)

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

type SSHKeyPairStatus

type SSHKeyPairStatus struct {
	Ready bool `json:"ready"`
}

SSHKeyPairStatus defines the observed state of SSHKeyPair

func (*SSHKeyPairStatus) DeepCopy

func (in *SSHKeyPairStatus) DeepCopy() *SSHKeyPairStatus

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

func (*SSHKeyPairStatus) DeepCopyInto

func (in *SSHKeyPairStatus) DeepCopyInto(out *SSHKeyPairStatus)

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

type SSHKeyPairType

type SSHKeyPairType string
const (
	RSA     SSHKeyPairType = "rsa"
	Ed25519 SSHKeyPairType = "ed25519"
)

type SelfSignedTLSBundle

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

	Spec   SelfSignedTLSBundleSpec   `json:"spec,omitempty"`
	Status SelfSignedTLSBundleStatus `json:"status,omitempty"`
}

+genclient +k8s:register-gen +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:genclient:method=UpdateStatus,verb=updateStatus,subresource=status, \ result=k8s.io/apimachinery/pkg/apis/meta/v1.Status SelfSignedTLSBundle is the Schema for the SelfSignedTLSBundles API

func (*SelfSignedTLSBundle) DeepCopy

func (in *SelfSignedTLSBundle) DeepCopy() *SelfSignedTLSBundle

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

func (*SelfSignedTLSBundle) DeepCopyInto

func (in *SelfSignedTLSBundle) DeepCopyInto(out *SelfSignedTLSBundle)

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

func (*SelfSignedTLSBundle) DeepCopyObject

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

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

type SelfSignedTLSBundleList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object SelfSignedTLSBundleList contains a list of SelfSignedTLSBundle

func (*SelfSignedTLSBundleList) DeepCopy

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

func (*SelfSignedTLSBundleList) DeepCopyInto

func (in *SelfSignedTLSBundleList) DeepCopyInto(out *SelfSignedTLSBundleList)

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

func (*SelfSignedTLSBundleList) DeepCopyObject

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

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

type SelfSignedTLSBundleSpec

type SelfSignedTLSBundleSpec struct {
	AppName string   `json:"appName,omitempty"`
	SANs    []string `json:"sans,omitempty"`
}

SelfSignedTLSBundleSpec defines the desired state of SelfSignedTLSBundle

func (*SelfSignedTLSBundleSpec) DeepCopy

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

func (*SelfSignedTLSBundleSpec) DeepCopyInto

func (in *SelfSignedTLSBundleSpec) DeepCopyInto(out *SelfSignedTLSBundleSpec)

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

type SelfSignedTLSBundleStatus

type SelfSignedTLSBundleStatus struct {
	Ready bool `json:"ready"`
}

SelfSignedTLSBundleStatus defines the observed state of SelfSignedTLSBundle

func (*SelfSignedTLSBundleStatus) DeepCopy

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

func (*SelfSignedTLSBundleStatus) DeepCopyInto

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

type Target

type Target struct {
	Namespace string               `json:"namespace,omitempty"`
	Selector  metav1.LabelSelector `json:"selector,omitempty"`

	// +optional
	Containers []string `json:"containers,omitempty"`
}

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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