v1alpha1

package
v0.0.0-...-7eb3da2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: consuloperator.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back 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 ConsulCluster

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

	Spec   ConsulClusterSpec   `json:"spec"`
	Status ConsulClusterStatus `json:"status"`
}

func (*ConsulCluster) DeepCopy

func (in *ConsulCluster) DeepCopy() *ConsulCluster

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

func (*ConsulCluster) DeepCopyInto

func (in *ConsulCluster) DeepCopyInto(out *ConsulCluster)

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

func (*ConsulCluster) DeepCopyObject

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

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

type ConsulClusterList

type ConsulClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ConsulCluster `json:"items"`
}

func (*ConsulClusterList) DeepCopy

func (in *ConsulClusterList) DeepCopy() *ConsulClusterList

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

func (*ConsulClusterList) DeepCopyInto

func (in *ConsulClusterList) DeepCopyInto(out *ConsulClusterList)

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

func (*ConsulClusterList) DeepCopyObject

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

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

type ConsulClusterSpec

type ConsulClusterSpec struct {
	Size        int32  `json:"size"`
	ClusterName string `json:"clusterName"`
}

func (*ConsulClusterSpec) DeepCopy

func (in *ConsulClusterSpec) DeepCopy() *ConsulClusterSpec

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

func (*ConsulClusterSpec) DeepCopyInto

func (in *ConsulClusterSpec) DeepCopyInto(out *ConsulClusterSpec)

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

type ConsulClusterStatus

type ConsulClusterStatus struct {
	AvailableReplicas int32 `json:"availableReplicas"`
}

func (*ConsulClusterStatus) DeepCopy

func (in *ConsulClusterStatus) DeepCopy() *ConsulClusterStatus

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

func (*ConsulClusterStatus) DeepCopyInto

func (in *ConsulClusterStatus) DeepCopyInto(out *ConsulClusterStatus)

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