v1alpha1

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "kmesh.net", Version: "v1alpha1"}

register customer sources

Functions

func Kind

func Kind(kind string) schema.GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Types

type KmeshNodeInfo

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

	Spec   KmeshNodeInfoSpec   `json:"spec,omitempty"`
	Status KmeshNodeInfoStatus `json:"status,omitempty"`
}

KmeshNode is the Schema for the kmeshnodes API

func (*KmeshNodeInfo) DeepCopy

func (in *KmeshNodeInfo) DeepCopy() *KmeshNodeInfo

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

func (*KmeshNodeInfo) DeepCopyInto

func (in *KmeshNodeInfo) DeepCopyInto(out *KmeshNodeInfo)

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

func (*KmeshNodeInfo) DeepCopyObject

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

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

type KmeshNodeInfoList

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

KmeshNodeLists contains a list of KmeshNode

func (*KmeshNodeInfoList) DeepCopy

func (in *KmeshNodeInfoList) DeepCopy() *KmeshNodeInfoList

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

func (*KmeshNodeInfoList) DeepCopyInto

func (in *KmeshNodeInfoList) DeepCopyInto(out *KmeshNodeInfoList)

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

func (*KmeshNodeInfoList) DeepCopyObject

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

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

type KmeshNodeInfoSpec

type KmeshNodeInfoSpec struct {
	// The SPI is used to identify the version number of the current key.
	// The communication can be normal only when both communication parties
	// have spis and the spi keys are the same.
	SPI int `json:"spi"`
	// Addresses is used to store the internal ip address informatioon on the
	// host. The IP address information is used to generate the IPsec state
	// informatioon. IPsec uses this information to determine which network
	// adapter is used to encrypt and send data.
	Addresses []string `json:"addresses"`
	// bootid is used to generate the ipsec key. After the node is restarted,
	// the key needs to be updated.
	BootID string `json:"bootID"`
	// PodCIDRs used in IPsec checks the destination of the data to
	// determine which IPsec state is used for encryption.
	PodCIDRs []string `json:"podCIDRS"`
}

func (*KmeshNodeInfoSpec) DeepCopy

func (in *KmeshNodeInfoSpec) DeepCopy() *KmeshNodeInfoSpec

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

func (*KmeshNodeInfoSpec) DeepCopyInto

func (in *KmeshNodeInfoSpec) DeepCopyInto(out *KmeshNodeInfoSpec)

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

type KmeshNodeInfoStatus

type KmeshNodeInfoStatus struct {
}

func (*KmeshNodeInfoStatus) DeepCopy

func (in *KmeshNodeInfoStatus) DeepCopy() *KmeshNodeInfoStatus

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

func (*KmeshNodeInfoStatus) DeepCopyInto

func (in *KmeshNodeInfoStatus) DeepCopyInto(out *KmeshNodeInfoStatus)

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