v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the meshery v1alpha1 API group +kubebuilder:object:generate=true +groupName=meshery.layer5.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "meshery.layer5.io", Version: "v1alpha1"}

	// 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 Broker

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

	Spec   BrokerSpec   `json:"spec,omitempty"`
	Status BrokerStatus `json:"status,omitempty"`
}

Broker is the Schema for the brokers API +kubebuilder:subresource:status +kubebuilder:object:root=true

func (*Broker) DeepCopy

func (in *Broker) DeepCopy() *Broker

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

func (*Broker) DeepCopyInto

func (in *Broker) DeepCopyInto(out *Broker)

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

func (*Broker) DeepCopyObject

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

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

type BrokerList

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

BrokerList contains a list of Broker

func (*BrokerList) DeepCopy

func (in *BrokerList) DeepCopy() *BrokerList

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

func (*BrokerList) DeepCopyInto

func (in *BrokerList) DeepCopyInto(out *BrokerList)

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

func (*BrokerList) DeepCopyObject

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

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

type BrokerSpec

type BrokerSpec struct {
	Cluster string `json:"cluster,omitempty"`
	Size    int32  `json:"size,omitempty"`
}

BrokerSpec defines the desired state of Broker

func (*BrokerSpec) DeepCopy

func (in *BrokerSpec) DeepCopy() *BrokerSpec

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

func (*BrokerSpec) DeepCopyInto

func (in *BrokerSpec) DeepCopyInto(out *BrokerSpec)

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

type BrokerStatus

type BrokerStatus struct {
	Conditions []Condition `json:"conditions,omitempty"`
}

BrokerStatus defines the observed state of Broker

func (*BrokerStatus) DeepCopy

func (in *BrokerStatus) DeepCopy() *BrokerStatus

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

func (*BrokerStatus) DeepCopyInto

func (in *BrokerStatus) DeepCopyInto(out *BrokerStatus)

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

type Condition

type Condition struct {
	Type               ConditionType          `json:"type"`
	Status             corev1.ConditionStatus `json:"status"`
	LastProbeTime      metav1.Time            `json:"lastProbeTime,omitempty"`
	LastTransitionTime metav1.Time            `json:"lastTransitionTime,omitempty"`
	Reason             string                 `json:"reason,omitempty"`
	Message            string                 `json:"message,omitempty"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type ConditionType

type ConditionType string
const (
	Ready    ConditionType = "Ready"
	Running  ConditionType = "Running"
	NotReady ConditionType = "NotReady"
)

type MeshSync

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

	Spec   MeshSyncSpec   `json:"spec,omitempty"`
	Status MeshSyncStatus `json:"status,omitempty"`
}

MeshSync is the Schema for the meshsyncs API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*MeshSync) DeepCopy

func (in *MeshSync) DeepCopy() *MeshSync

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

func (*MeshSync) DeepCopyInto

func (in *MeshSync) DeepCopyInto(out *MeshSync)

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

func (*MeshSync) DeepCopyObject

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

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

type MeshSyncList

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

MeshSyncList contains a list of MeshSync +kubebuilder:object:root=true

func (*MeshSyncList) DeepCopy

func (in *MeshSyncList) DeepCopy() *MeshSyncList

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

func (*MeshSyncList) DeepCopyInto

func (in *MeshSyncList) DeepCopyInto(out *MeshSyncList)

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

func (*MeshSyncList) DeepCopyObject

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

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

type MeshSyncSpec

type MeshSyncSpec struct {
	Cluster string `json:"cluster,omitempty"`
	Size    int32  `json:"size,omitempty"`
}

MeshSyncSpec defines the desired state of MeshSync

func (*MeshSyncSpec) DeepCopy

func (in *MeshSyncSpec) DeepCopy() *MeshSyncSpec

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

func (*MeshSyncSpec) DeepCopyInto

func (in *MeshSyncSpec) DeepCopyInto(out *MeshSyncSpec)

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

type MeshSyncStatus

type MeshSyncStatus struct {
	Conditions []Condition `json:"conditions,omitempty"`
}

MeshSyncStatus defines the observed state of MeshSync

func (*MeshSyncStatus) DeepCopy

func (in *MeshSyncStatus) DeepCopy() *MeshSyncStatus

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

func (*MeshSyncStatus) DeepCopyInto

func (in *MeshSyncStatus) DeepCopyInto(out *MeshSyncStatus)

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