v1alpha1

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register Package v1alpha1 is the v1alpha1 version of the API. +groupName=reliablesyncs.kubeedge.io

Index

Constants

View Source
const (
	// GroupName is the group name use in this package.
	GroupName = "reliablesyncs.kubeedge.io"
	// Version is the API version.
	Version = "v1alpha1"
)

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group-qualified GroupResource.

Types

type ClusterObjectSync

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

	Spec   ObjectSyncSpec   `json:"spec,omitempty"`
	Status ObjectSyncStatus `json:"status,omitempty"`
}

ClusterObjectSync stores the state of the cluster level, nonNamespaced object that was successfully persisted to the edge node. ClusterObjectSync name is a concatenation of the node name which receiving the object and the object UUID. +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*ClusterObjectSync) DeepCopy

func (in *ClusterObjectSync) DeepCopy() *ClusterObjectSync

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

func (*ClusterObjectSync) DeepCopyInto

func (in *ClusterObjectSync) DeepCopyInto(out *ClusterObjectSync)

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

func (*ClusterObjectSync) DeepCopyObject

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

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

type ClusterObjectSyncList

type ClusterObjectSyncList struct {
	// Standard type metadata.
	metav1.TypeMeta `json:",inline"`

	// Standard list metadata.
	metav1.ListMeta `json:"metadata,omitempty"`

	// List of ClusterObjectSync.
	Items []ClusterObjectSync `json:"items"`
}

ClusterObjectSyncList is a list of ObjectSync.

func (*ClusterObjectSyncList) DeepCopy

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

func (*ClusterObjectSyncList) DeepCopyInto

func (in *ClusterObjectSyncList) DeepCopyInto(out *ClusterObjectSyncList)

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

func (*ClusterObjectSyncList) DeepCopyObject

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

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

type ObjectSync

type ObjectSync struct {
	// Standard Kubernetes type metadata.
	metav1.TypeMeta `json:",inline"`
	// Standard Kubernetes object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ObjectSyncSpec   `json:"spec,omitempty"`
	Status ObjectSyncStatus `json:"status,omitempty"`
}

ObjectSync stores the state of the namespaced object that was successfully persisted to the edge node. ObjectSync name is a concatenation of the node name which receiving the object and the object UUID. +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*ObjectSync) DeepCopy

func (in *ObjectSync) DeepCopy() *ObjectSync

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

func (*ObjectSync) DeepCopyInto

func (in *ObjectSync) DeepCopyInto(out *ObjectSync)

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

func (*ObjectSync) DeepCopyObject

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

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

type ObjectSyncList

type ObjectSyncList struct {
	// Standard type metadata.
	metav1.TypeMeta `json:",inline"`

	// Standard list metadata.
	metav1.ListMeta `json:"metadata,omitempty"`

	// List of ObjectSync.
	Items []ObjectSync `json:"items"`
}

ObjectSyncList is a list of ObjectSync.

func (*ObjectSyncList) DeepCopy

func (in *ObjectSyncList) DeepCopy() *ObjectSyncList

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

func (*ObjectSyncList) DeepCopyInto

func (in *ObjectSyncList) DeepCopyInto(out *ObjectSyncList)

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

func (*ObjectSyncList) DeepCopyObject

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

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

type ObjectSyncSpec

type ObjectSyncSpec struct {
	// ObjectAPIVersion is the APIVersion of the object
	// that was successfully persist to the edge node.
	ObjectAPIVersion string `json:"objectAPIVersion,omitempty"`
	// ObjectType is the kind of the object
	// that was successfully persist to the edge node.
	ObjectKind string `json:"objectKind,omitempty"`
	// ObjectName is the name of the object
	// that was successfully persist to the edge node.
	ObjectName string `json:"objectName,omitempty"`
}

ObjectSyncSpec stores the details of objects that persist to the edge.

func (*ObjectSyncSpec) DeepCopy

func (in *ObjectSyncSpec) DeepCopy() *ObjectSyncSpec

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

func (*ObjectSyncSpec) DeepCopyInto

func (in *ObjectSyncSpec) DeepCopyInto(out *ObjectSyncSpec)

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

type ObjectSyncStatus

type ObjectSyncStatus struct {
	// ObjectResourceVersion is the resourceversion of the object
	// that was successfully persist to the edge node.
	ObjectResourceVersion string `json:"objectResourceVersion,omitempty"`
}

ObjectSyncStatus stores the resourceversion of objects that persist to the edge.

func (*ObjectSyncStatus) DeepCopy

func (in *ObjectSyncStatus) DeepCopy() *ObjectSyncStatus

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

func (*ObjectSyncStatus) DeepCopyInto

func (in *ObjectSyncStatus) DeepCopyInto(out *ObjectSyncStatus)

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