v1alpha1

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

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 MultiClusterEndpoint

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

	Spec   MultiClusterEndpointSpec   `json:"spec,omitempty"`
	Status MultiClusterEndpointStatus `json:"status,omitempty"`
}

MultiClusterEndpoint is the Schema for the MultiClusterEndpoints API

func (*MultiClusterEndpoint) DeepCopy

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

func (*MultiClusterEndpoint) DeepCopyInto

func (in *MultiClusterEndpoint) DeepCopyInto(out *MultiClusterEndpoint)

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

func (*MultiClusterEndpoint) DeepCopyObject

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

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

type MultiClusterEndpointList

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

MultiClusterEndpointList contains a list of MultiClusterEndpoint

func (*MultiClusterEndpointList) DeepCopy

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

func (*MultiClusterEndpointList) DeepCopyInto

func (in *MultiClusterEndpointList) DeepCopyInto(out *MultiClusterEndpointList)

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

func (*MultiClusterEndpointList) DeepCopyObject

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

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

type MultiClusterEndpointSpec

type MultiClusterEndpointSpec struct {
	ClusterKey string `json:"clusterKey"`

	Target Target `json:"target"`
}

MultiClusterEndpointSpec defines the desired state of MultiClusterEndpoint

func (*MultiClusterEndpointSpec) DeepCopy

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

func (*MultiClusterEndpointSpec) DeepCopyInto

func (in *MultiClusterEndpointSpec) DeepCopyInto(out *MultiClusterEndpointSpec)

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

type MultiClusterEndpointStatus

type MultiClusterEndpointStatus struct {
}

MultiClusterEndpointStatus defines the observed state of MultiClusterEndpoint

func (*MultiClusterEndpointStatus) DeepCopy

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

func (*MultiClusterEndpointStatus) DeepCopyInto

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

type Target

type Target struct {
	Host string `json:"host"`
	IP   string `json:"ip"`
	Port int32  `json:"port"`
	Path string `json:"path"`
}

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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