v1alpha1

package
v0.0.1-alpha1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 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 +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
	Gates []string `json:"gates,omitempty"`

	// +optional
	Rules []PolicyRule `json:"rules,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 KubeTLSBundle

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

	Spec   KubeTLSBundleSpec   `json:"spec,omitempty"`
	Status KubeTLSBundleStatus `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 KubeTLSBundle is the Schema for the KubeTLSBundles API

func (*KubeTLSBundle) DeepCopy

func (in *KubeTLSBundle) DeepCopy() *KubeTLSBundle

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

func (*KubeTLSBundle) DeepCopyInto

func (in *KubeTLSBundle) DeepCopyInto(out *KubeTLSBundle)

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

func (*KubeTLSBundle) DeepCopyObject

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

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

type KubeTLSBundleList

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

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

func (*KubeTLSBundleList) DeepCopy

func (in *KubeTLSBundleList) DeepCopy() *KubeTLSBundleList

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

func (*KubeTLSBundleList) DeepCopyInto

func (in *KubeTLSBundleList) DeepCopyInto(out *KubeTLSBundleList)

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

func (*KubeTLSBundleList) DeepCopyObject

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

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

type KubeTLSBundleSpec

type KubeTLSBundleSpec struct {
	AppName string `json:"appname,omitempty"` // becomes 'O = g8s:$AppName' in CSR Subject
}

KubeTLSBundleSpec defines the desired state of KubeTLSBundle

func (*KubeTLSBundleSpec) DeepCopy

func (in *KubeTLSBundleSpec) DeepCopy() *KubeTLSBundleSpec

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

func (*KubeTLSBundleSpec) DeepCopyInto

func (in *KubeTLSBundleSpec) DeepCopyInto(out *KubeTLSBundleSpec)

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

type KubeTLSBundleStatus

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

KubeTLSBundleStatus defines the observed state of KubeTLSBundle

func (*KubeTLSBundleStatus) DeepCopy

func (in *KubeTLSBundleStatus) DeepCopy() *KubeTLSBundleStatus

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

func (*KubeTLSBundleStatus) DeepCopyInto

func (in *KubeTLSBundleStatus) DeepCopyInto(out *KubeTLSBundleStatus)

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 {
	// +optional
	Length uint8 `json:"length,omitempty"`

	// +optional
	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 PolicyRule

type PolicyRule struct {
	Namespaces []string `json:"namespaces,omitempty"`
	Rules      []Rule   `json:"rules,omitempty"`
}

func (*PolicyRule) DeepCopy

func (in *PolicyRule) DeepCopy() *PolicyRule

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

func (*PolicyRule) DeepCopyInto

func (in *PolicyRule) DeepCopyInto(out *PolicyRule)

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

type Rule

type Rule struct {
	Kind       string   `json:"kind,omitempty"`
	Name       string   `json:"name,omitempty"`
	Containers []string `json:"containers,omitempty"`
}

A single object which will be allowed to read the value of a certain gate

func (*Rule) DeepCopy

func (in *Rule) DeepCopy() *Rule

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

func (*Rule) DeepCopyInto

func (in *Rule) DeepCopyInto(out *Rule)

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"
)

Jump to

Keyboard shortcuts

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