v1

package
v0.0.0-...-252227c Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package v1 contains API Schema definitions for the manager v1 API group +kubebuilder:object:generate=true +groupName=manager.sukai.io

Index

Constants

This section is empty.

Variables

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

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

	Spec   KubeConfigSpec   `json:"spec,omitempty"`
	Status KubeConfigStatus `json:"status,omitempty"`
}

KubeConfig is the Schema for the kubeconfigs API

func (*KubeConfig) DeepCopy

func (in *KubeConfig) DeepCopy() *KubeConfig

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

func (*KubeConfig) DeepCopyInto

func (in *KubeConfig) DeepCopyInto(out *KubeConfig)

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

func (*KubeConfig) DeepCopyObject

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

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

type KubeConfigList

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

KubeConfigList contains a list of KubeConfig

func (*KubeConfigList) DeepCopy

func (in *KubeConfigList) DeepCopy() *KubeConfigList

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

func (*KubeConfigList) DeepCopyInto

func (in *KubeConfigList) DeepCopyInto(out *KubeConfigList)

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

func (*KubeConfigList) DeepCopyObject

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

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

type KubeConfigSpec

type KubeConfigSpec struct {
	Clusters       []KubeconfigNamedCluster `json:"clusters" yaml:"clusters"`
	Users          []KubeconfigUser         `json:"users" yaml:"users"`
	Contexts       []KubeconfigNamedContext `json:"contexts" yaml:"contexts"`
	CurrentContext string                   `json:"current-context" yaml:"current-context"`
	Preferences    KubeconfigPreferences    `json:"preferences,omitempty" yaml:"preferences,omitempty"`
}

func (*KubeConfigSpec) DeepCopy

func (in *KubeConfigSpec) DeepCopy() *KubeConfigSpec

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

func (*KubeConfigSpec) DeepCopyInto

func (in *KubeConfigSpec) DeepCopyInto(out *KubeConfigSpec)

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

type KubeConfigStatus

type KubeConfigStatus struct {
}

KubeConfigStatus defines the observed state of KubeConfig

func (*KubeConfigStatus) DeepCopy

func (in *KubeConfigStatus) DeepCopy() *KubeConfigStatus

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

func (*KubeConfigStatus) DeepCopyInto

func (in *KubeConfigStatus) DeepCopyInto(out *KubeConfigStatus)

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

type KubeconfigAuthProvider

type KubeconfigAuthProvider struct {
	Name   string            `json:"name" yaml:"name"`
	Config map[string]string `json:"config" yaml:"config"`
}

KubeconfigAuthProvider is a struct used to create a kubectl authentication provider

func (*KubeconfigAuthProvider) DeepCopy

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

func (*KubeconfigAuthProvider) DeepCopyInto

func (in *KubeconfigAuthProvider) DeepCopyInto(out *KubeconfigAuthProvider)

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

type KubeconfigCluster

type KubeconfigCluster struct {
	Server                   string `json:"server" yaml:"server"`
	CertificateAuthorityData string `json:"certificate-authority-data" yaml:"certificate-authority-data"`
	CertificateAuthority     string `json:"certificate-authority,omitempty" yaml:"certificate-authority,omitempty"`
}

KubeconfigCluster is a struct used to create a kubectl configuration YAML file

func (*KubeconfigCluster) DeepCopy

func (in *KubeconfigCluster) DeepCopy() *KubeconfigCluster

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

func (*KubeconfigCluster) DeepCopyInto

func (in *KubeconfigCluster) DeepCopyInto(out *KubeconfigCluster)

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

type KubeconfigContext

type KubeconfigContext struct {
	Cluster   string `json:"cluster" yaml:"cluster"`
	Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
	User      string `json:"user" yaml:"user"`
}

KubeconfigContext is a struct used to create a kubectl configuration YAML file

func (*KubeconfigContext) DeepCopy

func (in *KubeconfigContext) DeepCopy() *KubeconfigContext

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

func (*KubeconfigContext) DeepCopyInto

func (in *KubeconfigContext) DeepCopyInto(out *KubeconfigContext)

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

type KubeconfigNamedCluster

type KubeconfigNamedCluster struct {
	Name    string            `json:"name" yaml:"name"`
	Cluster KubeconfigCluster `json:"cluster" yaml:"cluster"`
}

KubeconfigNamedCluster is a struct used to create a kubectl configuration YAML file

func (*KubeconfigNamedCluster) DeepCopy

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

func (*KubeconfigNamedCluster) DeepCopyInto

func (in *KubeconfigNamedCluster) DeepCopyInto(out *KubeconfigNamedCluster)

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

type KubeconfigNamedContext

type KubeconfigNamedContext struct {
	Name    string            `json:"name" yaml:"name"`
	Context KubeconfigContext `json:"context" yaml:"context"`
}

KubeconfigNamedContext is a struct used to create a kubectl configuration YAML file

func (*KubeconfigNamedContext) DeepCopy

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

func (*KubeconfigNamedContext) DeepCopyInto

func (in *KubeconfigNamedContext) DeepCopyInto(out *KubeconfigNamedContext)

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

type KubeconfigPreferences

type KubeconfigPreferences struct {
}

func (*KubeconfigPreferences) DeepCopy

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

func (*KubeconfigPreferences) DeepCopyInto

func (in *KubeconfigPreferences) DeepCopyInto(out *KubeconfigPreferences)

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

type KubeconfigUser

type KubeconfigUser struct {
	Name string                `json:"name" yaml:"name"`
	User KubeconfigUserKeyPair `json:"user" yaml:"user"`
}

KubeconfigUser is a struct used to create a kubectl configuration YAML file

func (*KubeconfigUser) DeepCopy

func (in *KubeconfigUser) DeepCopy() *KubeconfigUser

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

func (*KubeconfigUser) DeepCopyInto

func (in *KubeconfigUser) DeepCopyInto(out *KubeconfigUser)

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

type KubeconfigUserKeyPair

type KubeconfigUserKeyPair struct {
	ClientCertificateData string                 `json:"client-certificate-data" yaml:"client-certificate-data"`
	ClientKeyData         string                 `json:"client-key-data" yaml:"client-key-data"`
	AuthProvider          KubeconfigAuthProvider `json:"auth-provider,omitempty" yaml:"auth-provider,omitempty"`
}

KubeconfigUserKeyPair is a struct used to create a kubectl configuration YAML file

func (*KubeconfigUserKeyPair) DeepCopy

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

func (*KubeconfigUserKeyPair) DeepCopyInto

func (in *KubeconfigUserKeyPair) DeepCopyInto(out *KubeconfigUserKeyPair)

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