v1alpha1

package
v0.2.5 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	Healthy    ConditionType = "healthy"
	NotHealthy ConditionType = "not healthy"
	Unknown    ConditionType = "unknown"

	ConditionTrue    ConditionStatus = "True"
	ConditionFalse   ConditionStatus = "False"
	ConditionUnknown ConditionStatus = "Unknown"
)

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" yaml:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	Spec   BrokerSpec   `json:"spec,omitempty" yaml:"spec,omitempty"`
	Status BrokerStatus `json:"status,omitempty" yaml:"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" yaml:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Items           []Broker `json:"items" yaml:"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 {
	Size int32 `json:"size,omitempty" yaml:"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 {
	Endpoint   string      `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
	Conditions []Condition `json:"conditions,omitempty" yaml:"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" yaml:"type"`
	Status             ConditionStatus `json:"status" yaml:"status"`
	ObservedGeneration int64           `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
	LastProbeTime      metav1.Time     `json:"lastProbeTime,omitempty" yaml:"lastProbeTime,omitempty"`
	LastTransitionTime metav1.Time     `json:"lastTransitionTime" yaml:"lastTransitionTime"`
	Reason             string          `json:"reason" yaml:"reason"`
	Message            string          `json:"message" yaml:"message"`
}

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 ConditionStatus added in v0.2.1

type ConditionStatus string

type ConditionType

type ConditionType string

type CustomMeshsyncBroker added in v0.2.1

type CustomMeshsyncBroker struct {
	URL string `json:"url,omitempty" yaml:"url,omitempty"`
}

func (*CustomMeshsyncBroker) DeepCopy added in v0.2.1

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

func (*CustomMeshsyncBroker) DeepCopyInto added in v0.2.1

func (in *CustomMeshsyncBroker) DeepCopyInto(out *CustomMeshsyncBroker)

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

type MeshSync

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

	Spec   MeshSyncSpec   `json:"spec,omitempty" yaml:"spec,omitempty"`
	Status MeshSyncStatus `json:"status,omitempty" yaml:"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" yaml:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Items           []MeshSync `json:"items" yaml:"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 {
	Size   int32          `json:"size,omitempty" yaml:"size,omitempty"`
	Broker MeshsyncBroker `json:"broker,omitempty" yaml:"broker,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 {
	PublishingTo string      `json:"publishing-to,omitempty" yaml:"publishing-to,omitempty"`
	Conditions   []Condition `json:"conditions,omitempty" yaml:"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.

type MeshsyncBroker added in v0.2.1

type MeshsyncBroker struct {
	Custom CustomMeshsyncBroker `json:"custom,omitempty" yaml:"custom,omitempty"`
	Native NativeMeshsyncBroker `json:"native,omitempty" yaml:"native,omitempty"`
}

func (*MeshsyncBroker) DeepCopy added in v0.2.1

func (in *MeshsyncBroker) DeepCopy() *MeshsyncBroker

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

func (*MeshsyncBroker) DeepCopyInto added in v0.2.1

func (in *MeshsyncBroker) DeepCopyInto(out *MeshsyncBroker)

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

type NativeMeshsyncBroker added in v0.2.1

type NativeMeshsyncBroker struct {
	Name      string `json:"name,omitempty" yaml:"name,omitempty"`
	Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
}

func (*NativeMeshsyncBroker) DeepCopy added in v0.2.1

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

func (*NativeMeshsyncBroker) DeepCopyInto added in v0.2.1

func (in *NativeMeshsyncBroker) DeepCopyInto(out *NativeMeshsyncBroker)

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