Documentation
¶
Overview ¶
Package v1 contains the coordination.apoxy.dev/v1 Lease API type for the Apoxy apiserver.
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type Lease
- func (in *Lease) DeepCopy() *Lease
- func (in *Lease) DeepCopyInto(out *Lease)
- func (in *Lease) DeepCopyObject() runtime.Object
- func (l *Lease) GetGroupVersionResource() schema.GroupVersionResource
- func (l *Lease) GetObjectMeta() *metav1.ObjectMeta
- func (l *Lease) GetSingularName() string
- func (l *Lease) IsStorageVersion() bool
- func (l *Lease) NamespaceScoped() bool
- func (l *Lease) New() runtime.Object
- func (l *Lease) NewList() runtime.Object
- type LeaseList
Constants ¶
const GroupName = "coordination.apoxy.dev"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Deprecated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = metav1.GroupVersion{Group: GroupName, Version: "v1"}
GroupVersion specifies the group and the version used to register the objects.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Lease ¶
type Lease struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec coordinationv1.LeaseSpec `json:"spec,omitempty"`
}
Lease is a wrapper around the standard coordination/v1 LeaseSpec that implements the apiserver-runtime resource.Object interface. Served under the coordination.apoxy.dev group so edge clusters can route it through the apiservice proxy to the cloud apiserver.
func (*Lease) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lease.
func (*Lease) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Lease) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Lease) GetGroupVersionResource ¶
func (l *Lease) GetGroupVersionResource() schema.GroupVersionResource
func (*Lease) GetObjectMeta ¶
func (l *Lease) GetObjectMeta() *metav1.ObjectMeta
func (*Lease) GetSingularName ¶
func (*Lease) IsStorageVersion ¶
func (*Lease) NamespaceScoped ¶
type LeaseList ¶
type LeaseList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Lease `json:"items"`
}
LeaseList contains a list of Lease objects.
func (*LeaseList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaseList.
func (*LeaseList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LeaseList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.