v1alpha1

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

	SchemeGroupVersion = GroupVersion

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

func Resource

func Resource(resource string) schema.GroupResource

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

func SetDefaultsPoolService

func SetDefaultsPoolService(obj *PoolService)

SetDefaultsPoolService set default values for PoolService.

Types

type PoolService

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

	Spec   PoolServiceSpec   `json:"spec,omitempty"`
	Status PoolServiceStatus `json:"status,omitempty"`
}

PoolService is the Schema for the samples API

func (*PoolService) DeepCopy

func (in *PoolService) DeepCopy() *PoolService

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

func (*PoolService) DeepCopyInto

func (in *PoolService) DeepCopyInto(out *PoolService)

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

func (*PoolService) DeepCopyObject

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

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

type PoolServiceList

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

PoolServiceList contains a list of PoolService

func (*PoolServiceList) DeepCopy

func (in *PoolServiceList) DeepCopy() *PoolServiceList

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

func (*PoolServiceList) DeepCopyInto

func (in *PoolServiceList) DeepCopyInto(out *PoolServiceList)

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

func (*PoolServiceList) DeepCopyObject

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

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

type PoolServiceSpec

type PoolServiceSpec struct {
	// Inherited from service spec.LoadBalancerClass
	LoadBalancerClass *string `json:"loadBalancerClass,omitempty"`
}

PoolServiceSpec defines the desired state of PoolService

func (*PoolServiceSpec) DeepCopy

func (in *PoolServiceSpec) DeepCopy() *PoolServiceSpec

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

func (*PoolServiceSpec) DeepCopyInto

func (in *PoolServiceSpec) DeepCopyInto(out *PoolServiceSpec)

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

type PoolServiceStatus

type PoolServiceStatus struct {
	// LoadBalancer contains the current status of the load-balancer in the current nodepool
	LoadBalancer v1.LoadBalancerStatus `json:"loadBalancer,omitempty"`

	// AggregateToAnnotations means that this information is aggregated into the annotations of the service
	AggregateToAnnotations map[string]string `json:"aggregateToAnnotations,omitempty"`

	//AggregateToLabels means that this information is aggregated into the labels of the service
	AggregateToLabels map[string]string `json:"aggregateToLabels,omitempty"`

	// Current poolService state
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

PoolServiceStatus defines the observed state of PoolService

func (*PoolServiceStatus) DeepCopy

func (in *PoolServiceStatus) DeepCopy() *PoolServiceStatus

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

func (*PoolServiceStatus) DeepCopyInto

func (in *PoolServiceStatus) DeepCopyInto(out *PoolServiceStatus)

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