v1alpha1

package
v0.0.0-...-e9f4c3e Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "group.everoute.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 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 EndpointGroup

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

	Spec EndpointGroupSpec `json:"spec"`
}

func (*EndpointGroup) DeepCopy

func (in *EndpointGroup) DeepCopy() *EndpointGroup

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

func (*EndpointGroup) DeepCopyInto

func (in *EndpointGroup) DeepCopyInto(out *EndpointGroup)

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

func (*EndpointGroup) DeepCopyObject

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

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

type EndpointGroupList

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

EndpointGroupList contains a list of EndpointGroup

func (*EndpointGroupList) DeepCopy

func (in *EndpointGroupList) DeepCopy() *EndpointGroupList

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

func (*EndpointGroupList) DeepCopyInto

func (in *EndpointGroupList) DeepCopyInto(out *EndpointGroupList)

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

func (*EndpointGroupList) DeepCopyObject

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

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

type EndpointGroupSpec

type EndpointGroupSpec struct {
	// EndpointSelector selects endpoints. This field follows extend label
	// selector semantics; if present but empty, it selects all endpoints.
	//
	// If NamespaceSelector is set, then the EndpointGroup would select the endpoints
	// matching EndpointSelector in the Namespaces selected by NamespaceSelector.
	// If Namespace is set, then the EndpointGroup would select the endpoints
	// matching EndpointSelector in the specific Namespace.
	// If neither of NamespaceSelector or Namespace set, then the EndpointGroup
	// would select the endpoints in all namespaces.
	// +optional
	EndpointSelector *labels.Selector `json:"endpointSelector,omitempty"`

	// NamespaceSelector selects namespaces. This field follows standard label
	// selector semantics; if present but empty, it selects all namespaces.
	//
	// If NamespaceSelector is set, then the EndpointGroup would select the endpoints
	// matching EndpointSelector in the Namespaces selected by NamespaceSelector.
	// If this field is set then the Namespace field cannot be set.
	// +optional
	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`

	// This is a namespace for select endpoints in.
	//
	// If Namespace is set, then the EndpointGroup would select the endpoints
	// matching EndpointSelector in the specific Namespace.
	// If this field is set then the NamespaceSelector field cannot be set.
	// +optional
	Namespace *string `json:"namespace,omitempty"`

	Endpoint *v1alpha1.NamespacedName `json:"endpoint,omitempty"`
}

EndpointGroupSpec defines the desired state for EndpointGroup.

func (*EndpointGroupSpec) DeepCopy

func (in *EndpointGroupSpec) DeepCopy() *EndpointGroupSpec

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

func (*EndpointGroupSpec) DeepCopyInto

func (in *EndpointGroupSpec) DeepCopyInto(out *EndpointGroupSpec)

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

type EndpointReference

type EndpointReference struct {
	ExternalIDName  string `json:"externalIDName"`
	ExternalIDValue string `json:"externalIDValue"`
}

func (*EndpointReference) DeepCopy

func (in *EndpointReference) DeepCopy() *EndpointReference

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

func (*EndpointReference) DeepCopyInto

func (in *EndpointReference) DeepCopyInto(out *EndpointReference)

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

type GroupMember

type GroupMember struct {
	// EndpointReference maintains the reference to the Endpoint.
	EndpointReference EndpointReference `json:"endpointReference"`
	// EndpointAgent means where this groupMember may appear.
	// if this field is empty, this group member will apply to all agents.
	EndpointAgent []string             `json:"endpointAgent,omitempty"`
	IPs           []types.IPAddress    `json:"ips,omitempty"`
	Ports         []v1alpha1.NamedPort `json:"ports,omitempty"`
}

GroupMember represents resource member to be populated in Groups.

func (*GroupMember) DeepCopy

func (in *GroupMember) DeepCopy() *GroupMember

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

func (*GroupMember) DeepCopyInto

func (in *GroupMember) DeepCopyInto(out *GroupMember)

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

func (*GroupMember) Equal

func (g *GroupMember) Equal(a *GroupMember) bool

type GroupMembers

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

	// Revision should change when group members change.
	Revision     int32         `json:"revision"`
	GroupMembers []GroupMember `json:"groupMembers,omitempty"`
}

func (*GroupMembers) DeepCopy

func (in *GroupMembers) DeepCopy() *GroupMembers

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

func (*GroupMembers) DeepCopyInto

func (in *GroupMembers) DeepCopyInto(out *GroupMembers)

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

func (*GroupMembers) DeepCopyObject

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

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

type GroupMembersList

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

GroupMembersList contains a list of GroupMembers

func (*GroupMembersList) DeepCopy

func (in *GroupMembersList) DeepCopy() *GroupMembersList

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

func (*GroupMembersList) DeepCopyInto

func (in *GroupMembersList) DeepCopyInto(out *GroupMembersList)

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

func (*GroupMembersList) DeepCopyObject

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

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

type GroupMembersPatch

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

	// AppliedToGroupMembers means specific revision of GroupMembers Patch applied to.
	AppliedToGroupMembers GroupMembersReference `json:"appliedToGroupMembers"`

	AddedGroupMembers   []GroupMember `json:"addedGroupMembers,omitempty"`
	UpdatedGroupMembers []GroupMember `json:"updatedGroupMembers,omitempty"`
	RemovedGroupMembers []GroupMember `json:"removedGroupMembers,omitempty"`
}

func (*GroupMembersPatch) DeepCopy

func (in *GroupMembersPatch) DeepCopy() *GroupMembersPatch

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

func (*GroupMembersPatch) DeepCopyInto

func (in *GroupMembersPatch) DeepCopyInto(out *GroupMembersPatch)

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

func (*GroupMembersPatch) DeepCopyObject

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

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

type GroupMembersPatchList

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

GroupMembersPatchList contains a list of GroupMembersPatch

func (*GroupMembersPatchList) DeepCopy

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

func (*GroupMembersPatchList) DeepCopyInto

func (in *GroupMembersPatchList) DeepCopyInto(out *GroupMembersPatchList)

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

func (*GroupMembersPatchList) DeepCopyObject

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

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

type GroupMembersReference

type GroupMembersReference struct {
	Name     string `json:"name"`
	Revision int32  `json:"revision"`
}

func (*GroupMembersReference) DeepCopy

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

func (*GroupMembersReference) DeepCopyInto

func (in *GroupMembersReference) DeepCopyInto(out *GroupMembersReference)

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