v1

package
v1.0.35 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the iam v1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=gitlab.com/tribock/operator-common/pkg/apis/iam +k8s:defaulter-gen=TypeMeta +groupName=iam.rootd.ch

Package v1 contains API Schema definitions for the iam v1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=gitlab.com/tribock/operator-common/pkg/apis/iam +k8s:defaulter-gen=TypeMeta +groupName=iam.rootd.ch

Index

Constants

This section is empty.

Variables

View Source
var (

	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "iam.rootd.ch", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func AddKnownTypes

func AddKnownTypes(scheme *runtime.Scheme, objects ...K8sObjectWrapper) error

func CreateCRD

func CreateCRD(clientset apiextcs.Interface, crd *CRD) error

Create the CRD resource, ignore error if it already exists

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type Aerospike

type Aerospike struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AerospikeSpec `json:"spec,omitempty"`
	Status ObjectStatus  `json:"status,omitempty"`
}

IAM is the Schema for the iams API +k8s:openapi-gen=true

func (*Aerospike) DeepCopy

func (in *Aerospike) DeepCopy() *Aerospike

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

func (*Aerospike) DeepCopyInto

func (in *Aerospike) DeepCopyInto(out *Aerospike)

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

func (*Aerospike) DeepCopyObject

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

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

type AerospikeSpec

type AerospikeSpec struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	ServiceName        string `json:"serviceName"`
	Replicas           int    `json:"replicas"`
	Aeroconfig         string `json:"aeroconfig"`
	MemoryLimit        string `json:"memoryLimit"` // 1024M
	CPULimit           string `json:"cpuLimit"`    // 100m
	StorageSize        string `json:"storageSize"` // 2G
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*AerospikeSpec) DeepCopy

func (in *AerospikeSpec) DeepCopy() *AerospikeSpec

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

func (*AerospikeSpec) DeepCopyInto

func (in *AerospikeSpec) DeepCopyInto(out *AerospikeSpec)

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

func (*AerospikeSpec) DeepCopyObject

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

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

type CRD

type CRD struct {
	TypeMeta    meta_v1.TypeMeta
	CRDPlural   string
	CRDGroup    string
	CRDVersion  string
	FullCRDName string
	ShortNames  []string
}

func (*CRD) DeepCopy

func (in *CRD) DeepCopy() *CRD

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

func (*CRD) DeepCopyInto

func (in *CRD) DeepCopyInto(out *CRD)

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

type EnvVar

type EnvVar struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

func (*EnvVar) DeepCopy

func (in *EnvVar) DeepCopy() *EnvVar

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

func (*EnvVar) DeepCopyInto

func (in *EnvVar) DeepCopyInto(out *EnvVar)

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

type K8sMetaObject

type K8sMetaObject interface {
	K8sObjectWrapper
	ManageComponents(reconcile.Reconciler, reconcile.Request, K8sObjectWrapper) (reconcile.Result, error)
}

type K8sObjectWrapper

type K8sObjectWrapper interface {
	runtime.Object
	ObjectsAreEqual(y interface{}) bool
	GetK8sObj() runtime.Object
	SetK8sObj(runtime.Object)
	SetMinorVersion() error
}

K8sObjectWrapper that implements ObjectAreEqual Method to compare k8s objects

type Object

type Object struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata,omitempty"`
	Spec               ObjectSpec   `json:"spec,omitempty"`
	Status             ObjectStatus `json:"status,omitempty"`
}

IAM is the Schema for the iams API +k8s:openapi-gen=true

func (*Object) DeepCopy

func (in *Object) DeepCopy() *Object

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

func (*Object) DeepCopyInto

func (in *Object) DeepCopyInto(out *Object)

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

func (*Object) DeepCopyObject

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

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

func (*Object) GetAnnotations

func (o *Object) GetAnnotations() map[string]string

type ObjectList

type ObjectList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata,omitempty"`
	Items            []Object `json:"items"`
}

ObjectList contains a list of Object

func (*ObjectList) DeepCopy

func (in *ObjectList) DeepCopy() *ObjectList

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

func (*ObjectList) DeepCopyInto

func (in *ObjectList) DeepCopyInto(out *ObjectList)

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

func (*ObjectList) DeepCopyObject

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

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

type ObjectSpec

type ObjectSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Version         string   `json:"version,omitempty"`
	ReplicaCount    string   `json:"replicaCount,omitempty"`
	IngressPath     string   `json:"ingressPath,omitempty"`
	BaseURL         string   `json:"baseURL,omitempty"`
	Aerospike       bool     `json:"aerospike,omitempty"`
	Healtz          bool     `json:"healtz,omitempty"`
	Env             []EnvVar `json:"env,omitempty"`
	GRPC            bool     `json:"grpc,omitempty"`
	MajorVersion    string
	GRPCIngressPath string `json:"grpcIngressPath,omitempty"`
	GoogleCloudIAM  string `json:"GoogleCloudIAM,omitempty"`
}

IAMSpec defines the desired state of IAM IAMSpec defines the desired state of IAM

func (*ObjectSpec) DeepCopy

func (in *ObjectSpec) DeepCopy() *ObjectSpec

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

func (*ObjectSpec) DeepCopyInto

func (in *ObjectSpec) DeepCopyInto(out *ObjectSpec)

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

type ObjectStatus

type ObjectStatus struct {
}

IAMStatus defines the observed state of IAM

func (*ObjectStatus) DeepCopy

func (in *ObjectStatus) DeepCopy() *ObjectStatus

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

func (*ObjectStatus) DeepCopyInto

func (in *ObjectStatus) DeepCopyInto(out *ObjectStatus)

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