v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

+groupName=installer.kubeform.com

Index

Constants

View Source
const (
	ResourceKindKubeformOperator = "KubeformOperator"
	ResourceKubeformOperator     = "kubeformoperator"
	ResourceKubeformOperators    = "kubeformoperators"
)

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

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

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ContianerRef

type ContianerRef struct {
	ImageRef `json:",inline" protobuf:"bytes,1,opt,name=imageRef"`
	// Compute Resources required by the sidecar container.
	// +optional
	Resources core.ResourceRequirements `json:"resources" protobuf:"bytes,2,opt,name=resources"`
	// Security options the pod should run with.
	// +optional
	SecurityContext *core.SecurityContext `json:"securityContext" protobuf:"bytes,3,opt,name=securityContext"`
}

func (*ContianerRef) DeepCopy

func (in *ContianerRef) DeepCopy() *ContianerRef

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

func (*ContianerRef) DeepCopyInto

func (in *ContianerRef) DeepCopyInto(out *ContianerRef)

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

func (*ContianerRef) Descriptor

func (*ContianerRef) Descriptor() ([]byte, []int)

func (*ContianerRef) Marshal

func (m *ContianerRef) Marshal() (dAtA []byte, err error)

func (*ContianerRef) MarshalTo

func (m *ContianerRef) MarshalTo(dAtA []byte) (int, error)

func (*ContianerRef) MarshalToSizedBuffer

func (m *ContianerRef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContianerRef) ProtoMessage

func (*ContianerRef) ProtoMessage()

func (*ContianerRef) Reset

func (m *ContianerRef) Reset()

func (*ContianerRef) Size

func (m *ContianerRef) Size() (n int)

func (*ContianerRef) String

func (this *ContianerRef) String() string

func (*ContianerRef) Unmarshal

func (m *ContianerRef) Unmarshal(dAtA []byte) error

func (*ContianerRef) XXX_DiscardUnknown

func (m *ContianerRef) XXX_DiscardUnknown()

func (*ContianerRef) XXX_Marshal

func (m *ContianerRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContianerRef) XXX_Merge

func (m *ContianerRef) XXX_Merge(src proto.Message)

func (*ContianerRef) XXX_Size

func (m *ContianerRef) XXX_Size() int

func (*ContianerRef) XXX_Unmarshal

func (m *ContianerRef) XXX_Unmarshal(b []byte) error

type ImageRef

type ImageRef struct {
	Registry   string `json:"registry" protobuf:"bytes,1,opt,name=registry"`
	Repository string `json:"repository" protobuf:"bytes,2,opt,name=repository"`
	Tag        string `json:"tag" protobuf:"bytes,3,opt,name=tag"`
}

func (*ImageRef) DeepCopy

func (in *ImageRef) DeepCopy() *ImageRef

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

func (*ImageRef) DeepCopyInto

func (in *ImageRef) DeepCopyInto(out *ImageRef)

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

func (*ImageRef) Descriptor

func (*ImageRef) Descriptor() ([]byte, []int)

func (*ImageRef) Marshal

func (m *ImageRef) Marshal() (dAtA []byte, err error)

func (*ImageRef) MarshalTo

func (m *ImageRef) MarshalTo(dAtA []byte) (int, error)

func (*ImageRef) MarshalToSizedBuffer

func (m *ImageRef) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageRef) ProtoMessage

func (*ImageRef) ProtoMessage()

func (*ImageRef) Reset

func (m *ImageRef) Reset()

func (*ImageRef) Size

func (m *ImageRef) Size() (n int)

func (*ImageRef) String

func (this *ImageRef) String() string

func (*ImageRef) Unmarshal

func (m *ImageRef) Unmarshal(dAtA []byte) error

func (*ImageRef) XXX_DiscardUnknown

func (m *ImageRef) XXX_DiscardUnknown()

func (*ImageRef) XXX_Marshal

func (m *ImageRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageRef) XXX_Merge

func (m *ImageRef) XXX_Merge(src proto.Message)

func (*ImageRef) XXX_Size

func (m *ImageRef) XXX_Size() int

func (*ImageRef) XXX_Unmarshal

func (m *ImageRef) XXX_Unmarshal(b []byte) error

type KubeformOperator

type KubeformOperator struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              KubeformOperatorSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=kubeformoperators,singular=kubeformoperator,categories={kubeform,appscode}

func (KubeformOperator) CustomResourceDefinition

func (_ KubeformOperator) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*KubeformOperator) DeepCopy

func (in *KubeformOperator) DeepCopy() *KubeformOperator

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

func (*KubeformOperator) DeepCopyInto

func (in *KubeformOperator) DeepCopyInto(out *KubeformOperator)

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

func (*KubeformOperator) DeepCopyObject

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

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

func (*KubeformOperator) Descriptor

func (*KubeformOperator) Descriptor() ([]byte, []int)

func (*KubeformOperator) Marshal

func (m *KubeformOperator) Marshal() (dAtA []byte, err error)

func (*KubeformOperator) MarshalTo

func (m *KubeformOperator) MarshalTo(dAtA []byte) (int, error)

func (*KubeformOperator) MarshalToSizedBuffer

func (m *KubeformOperator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubeformOperator) ProtoMessage

func (*KubeformOperator) ProtoMessage()

func (*KubeformOperator) Reset

func (m *KubeformOperator) Reset()

func (*KubeformOperator) Size

func (m *KubeformOperator) Size() (n int)

func (*KubeformOperator) String

func (this *KubeformOperator) String() string

func (*KubeformOperator) Unmarshal

func (m *KubeformOperator) Unmarshal(dAtA []byte) error

func (*KubeformOperator) XXX_DiscardUnknown

func (m *KubeformOperator) XXX_DiscardUnknown()

func (*KubeformOperator) XXX_Marshal

func (m *KubeformOperator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubeformOperator) XXX_Merge

func (m *KubeformOperator) XXX_Merge(src proto.Message)

func (*KubeformOperator) XXX_Size

func (m *KubeformOperator) XXX_Size() int

func (*KubeformOperator) XXX_Unmarshal

func (m *KubeformOperator) XXX_Unmarshal(b []byte) error

type KubeformOperatorList

type KubeformOperatorList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is a list of KubeformOperator CRD objects
	Items []KubeformOperator `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

KubeformOperatorList is a list of KubeformOperators

func (*KubeformOperatorList) DeepCopy

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

func (*KubeformOperatorList) DeepCopyInto

func (in *KubeformOperatorList) DeepCopyInto(out *KubeformOperatorList)

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

func (*KubeformOperatorList) DeepCopyObject

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

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

func (*KubeformOperatorList) Descriptor

func (*KubeformOperatorList) Descriptor() ([]byte, []int)

func (*KubeformOperatorList) Marshal

func (m *KubeformOperatorList) Marshal() (dAtA []byte, err error)

func (*KubeformOperatorList) MarshalTo

func (m *KubeformOperatorList) MarshalTo(dAtA []byte) (int, error)

func (*KubeformOperatorList) MarshalToSizedBuffer

func (m *KubeformOperatorList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubeformOperatorList) ProtoMessage

func (*KubeformOperatorList) ProtoMessage()

func (*KubeformOperatorList) Reset

func (m *KubeformOperatorList) Reset()

func (*KubeformOperatorList) Size

func (m *KubeformOperatorList) Size() (n int)

func (*KubeformOperatorList) String

func (this *KubeformOperatorList) String() string

func (*KubeformOperatorList) Unmarshal

func (m *KubeformOperatorList) Unmarshal(dAtA []byte) error

func (*KubeformOperatorList) XXX_DiscardUnknown

func (m *KubeformOperatorList) XXX_DiscardUnknown()

func (*KubeformOperatorList) XXX_Marshal

func (m *KubeformOperatorList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubeformOperatorList) XXX_Merge

func (m *KubeformOperatorList) XXX_Merge(src proto.Message)

func (*KubeformOperatorList) XXX_Size

func (m *KubeformOperatorList) XXX_Size() int

func (*KubeformOperatorList) XXX_Unmarshal

func (m *KubeformOperatorList) XXX_Unmarshal(b []byte) error

type KubeformOperatorSpec

type KubeformOperatorSpec struct {
	//+optional
	NameOverride string `json:"nameOverride" protobuf:"bytes,1,opt,name=nameOverride"`
	//+optional
	FullnameOverride string `json:"fullnameOverride" protobuf:"bytes,2,opt,name=fullnameOverride"`
	ReplicaCount     int32  `json:"replicaCount" protobuf:"varint,3,opt,name=replicaCount"`
	// +optional
	License         string       `json:"license" protobuf:"bytes,4,opt,name=license"`
	Operator        ContianerRef `json:"operator" protobuf:"bytes,5,opt,name=operator"`
	ImagePullPolicy string       `json:"imagePullPolicy" protobuf:"bytes,6,opt,name=imagePullPolicy"`
	//+optional
	ImagePullSecrets []string `json:"imagePullSecrets" protobuf:"bytes,7,rep,name=imagePullSecrets"`
	//+optional
	CriticalAddon bool `json:"criticalAddon" protobuf:"varint,8,opt,name=criticalAddon"`
	//+optional
	LogLevel int32 `json:"logLevel" protobuf:"varint,9,opt,name=logLevel"`
	//+optional
	Annotations map[string]string `json:"annotations" protobuf:"bytes,10,rep,name=annotations"`
	//+optional
	PodAnnotations map[string]string `json:"podAnnotations" protobuf:"bytes,11,rep,name=podAnnotations"`
	//+optional
	NodeSelector map[string]string `json:"nodeSelector" protobuf:"bytes,12,rep,name=nodeSelector"`
	// If specified, the pod's tolerations.
	// +optional
	Tolerations []core.Toleration `json:"tolerations" protobuf:"bytes,13,rep,name=tolerations"`
	// If specified, the pod's scheduling constraints
	// +optional
	Affinity *core.Affinity `json:"affinity" protobuf:"bytes,14,opt,name=affinity"`
	// PodSecurityContext holds pod-level security attributes and common container settings.
	// Optional: Defaults to empty.  See type description for default values of each field.
	// +optional
	PodSecurityContext *core.PodSecurityContext `json:"podSecurityContext" protobuf:"bytes,15,opt,name=podSecurityContext"`
	ServiceAccount     ServiceAccountSpec       `json:"serviceAccount" protobuf:"bytes,16,opt,name=serviceAccount"`
	//+optional
	SecretKey *string `json:"secretKey" protobuf:"bytes,17,opt,name=secretKey"`
	//+optional
	EnableAnalytics bool      `json:"enableAnalytics" protobuf:"varint,18,opt,name=enableAnalytics"`
	Proxy           ProxySpec `json:"proxy" protobuf:"bytes,19,opt,name=proxy"`
}

KubeformOperatorSpec is the schema for Kubeform Operator values file

func (*KubeformOperatorSpec) DeepCopy

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

func (*KubeformOperatorSpec) DeepCopyInto

func (in *KubeformOperatorSpec) DeepCopyInto(out *KubeformOperatorSpec)

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

func (*KubeformOperatorSpec) Descriptor

func (*KubeformOperatorSpec) Descriptor() ([]byte, []int)

func (*KubeformOperatorSpec) Marshal

func (m *KubeformOperatorSpec) Marshal() (dAtA []byte, err error)

func (*KubeformOperatorSpec) MarshalTo

func (m *KubeformOperatorSpec) MarshalTo(dAtA []byte) (int, error)

func (*KubeformOperatorSpec) MarshalToSizedBuffer

func (m *KubeformOperatorSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubeformOperatorSpec) ProtoMessage

func (*KubeformOperatorSpec) ProtoMessage()

func (*KubeformOperatorSpec) Reset

func (m *KubeformOperatorSpec) Reset()

func (*KubeformOperatorSpec) Size

func (m *KubeformOperatorSpec) Size() (n int)

func (*KubeformOperatorSpec) String

func (this *KubeformOperatorSpec) String() string

func (*KubeformOperatorSpec) Unmarshal

func (m *KubeformOperatorSpec) Unmarshal(dAtA []byte) error

func (*KubeformOperatorSpec) XXX_DiscardUnknown

func (m *KubeformOperatorSpec) XXX_DiscardUnknown()

func (*KubeformOperatorSpec) XXX_Marshal

func (m *KubeformOperatorSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubeformOperatorSpec) XXX_Merge

func (m *KubeformOperatorSpec) XXX_Merge(src proto.Message)

func (*KubeformOperatorSpec) XXX_Size

func (m *KubeformOperatorSpec) XXX_Size() int

func (*KubeformOperatorSpec) XXX_Unmarshal

func (m *KubeformOperatorSpec) XXX_Unmarshal(b []byte) error

type ProxySpec

type ProxySpec struct {
	//+optional
	HTTPS string `json:"https" protobuf:"bytes,1,opt,name=https"`
	//+optional
	HTTP string `json:"http" protobuf:"bytes,2,opt,name=http"`
	//+optional
	No string `json:"no" protobuf:"bytes,3,opt,name=no"`
}

func (*ProxySpec) DeepCopy

func (in *ProxySpec) DeepCopy() *ProxySpec

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

func (*ProxySpec) DeepCopyInto

func (in *ProxySpec) DeepCopyInto(out *ProxySpec)

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

func (*ProxySpec) Descriptor

func (*ProxySpec) Descriptor() ([]byte, []int)

func (*ProxySpec) Marshal

func (m *ProxySpec) Marshal() (dAtA []byte, err error)

func (*ProxySpec) MarshalTo

func (m *ProxySpec) MarshalTo(dAtA []byte) (int, error)

func (*ProxySpec) MarshalToSizedBuffer

func (m *ProxySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProxySpec) ProtoMessage

func (*ProxySpec) ProtoMessage()

func (*ProxySpec) Reset

func (m *ProxySpec) Reset()

func (*ProxySpec) Size

func (m *ProxySpec) Size() (n int)

func (*ProxySpec) String

func (this *ProxySpec) String() string

func (*ProxySpec) Unmarshal

func (m *ProxySpec) Unmarshal(dAtA []byte) error

func (*ProxySpec) XXX_DiscardUnknown

func (m *ProxySpec) XXX_DiscardUnknown()

func (*ProxySpec) XXX_Marshal

func (m *ProxySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProxySpec) XXX_Merge

func (m *ProxySpec) XXX_Merge(src proto.Message)

func (*ProxySpec) XXX_Size

func (m *ProxySpec) XXX_Size() int

func (*ProxySpec) XXX_Unmarshal

func (m *ProxySpec) XXX_Unmarshal(b []byte) error

type ServiceAccountSpec

type ServiceAccountSpec struct {
	Create bool `json:"create" protobuf:"varint,1,opt,name=create"`
	//+optional
	Name *string `json:"name" protobuf:"bytes,2,opt,name=name"`
	//+optional
	Annotations map[string]string `json:"annotations" protobuf:"bytes,3,rep,name=annotations"`
}

func (*ServiceAccountSpec) DeepCopy

func (in *ServiceAccountSpec) DeepCopy() *ServiceAccountSpec

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

func (*ServiceAccountSpec) DeepCopyInto

func (in *ServiceAccountSpec) DeepCopyInto(out *ServiceAccountSpec)

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

func (*ServiceAccountSpec) Descriptor

func (*ServiceAccountSpec) Descriptor() ([]byte, []int)

func (*ServiceAccountSpec) Marshal

func (m *ServiceAccountSpec) Marshal() (dAtA []byte, err error)

func (*ServiceAccountSpec) MarshalTo

func (m *ServiceAccountSpec) MarshalTo(dAtA []byte) (int, error)

func (*ServiceAccountSpec) MarshalToSizedBuffer

func (m *ServiceAccountSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceAccountSpec) ProtoMessage

func (*ServiceAccountSpec) ProtoMessage()

func (*ServiceAccountSpec) Reset

func (m *ServiceAccountSpec) Reset()

func (*ServiceAccountSpec) Size

func (m *ServiceAccountSpec) Size() (n int)

func (*ServiceAccountSpec) String

func (this *ServiceAccountSpec) String() string

func (*ServiceAccountSpec) Unmarshal

func (m *ServiceAccountSpec) Unmarshal(dAtA []byte) error

func (*ServiceAccountSpec) XXX_DiscardUnknown

func (m *ServiceAccountSpec) XXX_DiscardUnknown()

func (*ServiceAccountSpec) XXX_Marshal

func (m *ServiceAccountSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceAccountSpec) XXX_Merge

func (m *ServiceAccountSpec) XXX_Merge(src proto.Message)

func (*ServiceAccountSpec) XXX_Size

func (m *ServiceAccountSpec) XXX_Size() int

func (*ServiceAccountSpec) XXX_Unmarshal

func (m *ServiceAccountSpec) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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