v1

package
v0.0.0-...-691e1f4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the hub-of-hubs v1 API group +kubebuilder:object:generate=true +groupName=hub-of-hubs.open-cluster-management.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "hub-of-hubs.open-cluster-management.io", Version: "v1"}

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

This section is empty.

Types

type HohHeartbeat

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

	Status HohHeartbeatStatus `json:"status,omitempty"`
}

HohHeartbeat is the Schema for the hoh heartbeats API

func (*HohHeartbeat) DeepCopy

func (in *HohHeartbeat) DeepCopy() *HohHeartbeat

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

func (*HohHeartbeat) DeepCopyInto

func (in *HohHeartbeat) DeepCopyInto(out *HohHeartbeat)

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

func (*HohHeartbeat) DeepCopyObject

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

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

type HohHeartbeatList

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

HohHeartbeatList contains a list of HohHeartbeat

func (*HohHeartbeatList) DeepCopy

func (in *HohHeartbeatList) DeepCopy() *HohHeartbeatList

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

func (*HohHeartbeatList) DeepCopyInto

func (in *HohHeartbeatList) DeepCopyInto(out *HohHeartbeatList)

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

func (*HohHeartbeatList) DeepCopyObject

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

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

type HohHeartbeatStatus

type HohHeartbeatStatus struct {
	// LastTimestamp contains last timestamp a heartbeat was received from HoH.
	// Format: number of seconds elapsed since January 1, 1970 UTC.
	LastTimestamp int64 `json:"lastTimestamp,omitempty"`
	// Conditions contains the different condition statuses for this HoH heartbeat.
	Conditions []metav1.Condition `json:"conditions"`
}

HohHeartbeatStatus defines the observed state of HohHeartbeat

func (*HohHeartbeatStatus) DeepCopy

func (in *HohHeartbeatStatus) DeepCopy() *HohHeartbeatStatus

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

func (*HohHeartbeatStatus) DeepCopyInto

func (in *HohHeartbeatStatus) DeepCopyInto(out *HohHeartbeatStatus)

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