v1alpha1

package
v0.0.0-...-33cbb82 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package apis docs +k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=mebius.io

Index

Constants

View Source
const GroupName = "mebius.io"

GroupName specifies the group name used to register the objects.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// Depreciated: use Install instead
	AddToScheme = localSchemeBuilder.AddToScheme
	Install     = localSchemeBuilder.AddToScheme
)
View Source
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}

GroupVersion specifies the group and the version used to register the objects.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Cluster

type Cluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ClusterSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            ClusterStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=clusters +kubebuilder:resource:shortName=cluster +kubebuilder:subresource:status +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

func (*Cluster) Descriptor

func (*Cluster) Descriptor() ([]byte, []int)

func (*Cluster) Marshal

func (m *Cluster) Marshal() (dAtA []byte, err error)

func (*Cluster) MarshalTo

func (m *Cluster) MarshalTo(dAtA []byte) (int, error)

func (*Cluster) MarshalToSizedBuffer

func (m *Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) Reset

func (m *Cluster) Reset()

func (*Cluster) Size

func (m *Cluster) Size() (n int)

func (*Cluster) String

func (this *Cluster) String() string

func (*Cluster) Unmarshal

func (m *Cluster) Unmarshal(dAtA []byte) error

func (*Cluster) XXX_DiscardUnknown

func (m *Cluster) XXX_DiscardUnknown()

func (*Cluster) XXX_Marshal

func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cluster) XXX_Merge

func (m *Cluster) XXX_Merge(src proto.Message)

func (*Cluster) XXX_Size

func (m *Cluster) XXX_Size() int

func (*Cluster) XXX_Unmarshal

func (m *Cluster) XXX_Unmarshal(b []byte) error

type ClusterCondition

type ClusterCondition struct {
	Type       string                 `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`
	Status     ClusterConditionStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status,casttype=ClusterConditionStatus"`
	CreatTime  *metav1.Time           `json:"creat_time,omitempty" protobuf:"bytes,3,opt,name=creat_time,json=creatTime"`
	UpdateTime *metav1.Time           `json:"update_time,omitempty" protobuf:"bytes,4,opt,name=update_time,json=updateTime"`
}

func (*ClusterCondition) DeepCopy

func (in *ClusterCondition) DeepCopy() *ClusterCondition

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

func (*ClusterCondition) DeepCopyInto

func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition)

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

func (*ClusterCondition) Descriptor

func (*ClusterCondition) Descriptor() ([]byte, []int)

func (*ClusterCondition) Marshal

func (m *ClusterCondition) Marshal() (dAtA []byte, err error)

func (*ClusterCondition) MarshalTo

func (m *ClusterCondition) MarshalTo(dAtA []byte) (int, error)

func (*ClusterCondition) MarshalToSizedBuffer

func (m *ClusterCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterCondition) ProtoMessage

func (*ClusterCondition) ProtoMessage()

func (*ClusterCondition) Reset

func (m *ClusterCondition) Reset()

func (*ClusterCondition) Size

func (m *ClusterCondition) Size() (n int)

func (*ClusterCondition) String

func (this *ClusterCondition) String() string

func (*ClusterCondition) Unmarshal

func (m *ClusterCondition) Unmarshal(dAtA []byte) error

func (*ClusterCondition) XXX_DiscardUnknown

func (m *ClusterCondition) XXX_DiscardUnknown()

func (*ClusterCondition) XXX_Marshal

func (m *ClusterCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterCondition) XXX_Merge

func (m *ClusterCondition) XXX_Merge(src proto.Message)

func (*ClusterCondition) XXX_Size

func (m *ClusterCondition) XXX_Size() int

func (*ClusterCondition) XXX_Unmarshal

func (m *ClusterCondition) XXX_Unmarshal(b []byte) error

type ClusterConditionStatus

type ClusterConditionStatus string
const (
	ClusterStatusOffline   ClusterConditionStatus = "offline"
	ClusterStatusDeploying ClusterConditionStatus = "deploying"
	ClusterStatusOnline    ClusterConditionStatus = "online"
)

type ClusterID

type ClusterID string

type ClusterList

type ClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []Cluster `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

func (*ClusterList) Descriptor

func (*ClusterList) Descriptor() ([]byte, []int)

func (*ClusterList) Marshal

func (m *ClusterList) Marshal() (dAtA []byte, err error)

func (*ClusterList) MarshalTo

func (m *ClusterList) MarshalTo(dAtA []byte) (int, error)

func (*ClusterList) MarshalToSizedBuffer

func (m *ClusterList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterList) ProtoMessage

func (*ClusterList) ProtoMessage()

func (*ClusterList) Reset

func (m *ClusterList) Reset()

func (*ClusterList) Size

func (m *ClusterList) Size() (n int)

func (*ClusterList) String

func (this *ClusterList) String() string

func (*ClusterList) Unmarshal

func (m *ClusterList) Unmarshal(dAtA []byte) error

func (*ClusterList) XXX_DiscardUnknown

func (m *ClusterList) XXX_DiscardUnknown()

func (*ClusterList) XXX_Marshal

func (m *ClusterList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterList) XXX_Merge

func (m *ClusterList) XXX_Merge(src proto.Message)

func (*ClusterList) XXX_Size

func (m *ClusterList) XXX_Size() int

func (*ClusterList) XXX_Unmarshal

func (m *ClusterList) XXX_Unmarshal(b []byte) error

type ClusterSpec

type ClusterSpec struct {
	// +optional
	Attributes map[string]string `json:"attributes,omitempty" protobuf:"bytes,1,rep,name=attributes"`
}

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

func (*ClusterSpec) Descriptor

func (*ClusterSpec) Descriptor() ([]byte, []int)

func (*ClusterSpec) Marshal

func (m *ClusterSpec) Marshal() (dAtA []byte, err error)

func (*ClusterSpec) MarshalTo

func (m *ClusterSpec) MarshalTo(dAtA []byte) (int, error)

func (*ClusterSpec) MarshalToSizedBuffer

func (m *ClusterSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterSpec) ProtoMessage

func (*ClusterSpec) ProtoMessage()

func (*ClusterSpec) Reset

func (m *ClusterSpec) Reset()

func (*ClusterSpec) Size

func (m *ClusterSpec) Size() (n int)

func (*ClusterSpec) String

func (this *ClusterSpec) String() string

func (*ClusterSpec) Unmarshal

func (m *ClusterSpec) Unmarshal(dAtA []byte) error

func (*ClusterSpec) XXX_DiscardUnknown

func (m *ClusterSpec) XXX_DiscardUnknown()

func (*ClusterSpec) XXX_Marshal

func (m *ClusterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterSpec) XXX_Merge

func (m *ClusterSpec) XXX_Merge(src proto.Message)

func (*ClusterSpec) XXX_Size

func (m *ClusterSpec) XXX_Size() int

func (*ClusterSpec) XXX_Unmarshal

func (m *ClusterSpec) XXX_Unmarshal(b []byte) error

type ClusterStatus

type ClusterStatus struct {
	Condition []ClusterCondition `json:"condition,omitempty" protobuf:"bytes,1,rep,name=condition"`
}

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

func (*ClusterStatus) Descriptor

func (*ClusterStatus) Descriptor() ([]byte, []int)

func (*ClusterStatus) Marshal

func (m *ClusterStatus) Marshal() (dAtA []byte, err error)

func (*ClusterStatus) MarshalTo

func (m *ClusterStatus) MarshalTo(dAtA []byte) (int, error)

func (*ClusterStatus) MarshalToSizedBuffer

func (m *ClusterStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClusterStatus) ProtoMessage

func (*ClusterStatus) ProtoMessage()

func (*ClusterStatus) Reset

func (m *ClusterStatus) Reset()

func (*ClusterStatus) Size

func (m *ClusterStatus) Size() (n int)

func (*ClusterStatus) String

func (this *ClusterStatus) String() string

func (*ClusterStatus) Unmarshal

func (m *ClusterStatus) Unmarshal(dAtA []byte) error

func (*ClusterStatus) XXX_DiscardUnknown

func (m *ClusterStatus) XXX_DiscardUnknown()

func (*ClusterStatus) XXX_Marshal

func (m *ClusterStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterStatus) XXX_Merge

func (m *ClusterStatus) XXX_Merge(src proto.Message)

func (*ClusterStatus) XXX_Size

func (m *ClusterStatus) XXX_Size() int

func (*ClusterStatus) XXX_Unmarshal

func (m *ClusterStatus) XXX_Unmarshal(b []byte) error

type ConditionStatus

type ConditionStatus string
const (
	ConditionTrue    ConditionStatus = "True"
	ConditionFalse   ConditionStatus = "False"
	ConditionUnknown ConditionStatus = "Unknown"
)

type Machine

type Machine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              MachineSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            MachineStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=machines +kubebuilder:resource:shortName=machine +kubebuilder:subresource:status +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*Machine) DeepCopy

func (in *Machine) DeepCopy() *Machine

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

func (*Machine) DeepCopyInto

func (in *Machine) DeepCopyInto(out *Machine)

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

func (*Machine) DeepCopyObject

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

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

func (*Machine) Descriptor

func (*Machine) Descriptor() ([]byte, []int)

func (*Machine) Marshal

func (m *Machine) Marshal() (dAtA []byte, err error)

func (*Machine) MarshalTo

func (m *Machine) MarshalTo(dAtA []byte) (int, error)

func (*Machine) MarshalToSizedBuffer

func (m *Machine) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Machine) ProtoMessage

func (*Machine) ProtoMessage()

func (*Machine) Reset

func (m *Machine) Reset()

func (*Machine) Size

func (m *Machine) Size() (n int)

func (*Machine) String

func (this *Machine) String() string

func (*Machine) Unmarshal

func (m *Machine) Unmarshal(dAtA []byte) error

func (*Machine) XXX_DiscardUnknown

func (m *Machine) XXX_DiscardUnknown()

func (*Machine) XXX_Marshal

func (m *Machine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Machine) XXX_Merge

func (m *Machine) XXX_Merge(src proto.Message)

func (*Machine) XXX_Size

func (m *Machine) XXX_Size() int

func (*Machine) XXX_Unmarshal

func (m *Machine) XXX_Unmarshal(b []byte) error

type MachineAddress

type MachineAddress struct {
	Type    MachineAddressType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=MachineAddressType"`
	Address string             `json:"address,omitempty" protobuf:"bytes,2,opt,name=address"`
}

func (*MachineAddress) DeepCopy

func (in *MachineAddress) DeepCopy() *MachineAddress

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

func (*MachineAddress) DeepCopyInto

func (in *MachineAddress) DeepCopyInto(out *MachineAddress)

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

func (*MachineAddress) Descriptor

func (*MachineAddress) Descriptor() ([]byte, []int)

func (*MachineAddress) Marshal

func (m *MachineAddress) Marshal() (dAtA []byte, err error)

func (*MachineAddress) MarshalTo

func (m *MachineAddress) MarshalTo(dAtA []byte) (int, error)

func (*MachineAddress) MarshalToSizedBuffer

func (m *MachineAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MachineAddress) ProtoMessage

func (*MachineAddress) ProtoMessage()

func (*MachineAddress) Reset

func (m *MachineAddress) Reset()

func (*MachineAddress) Size

func (m *MachineAddress) Size() (n int)

func (*MachineAddress) String

func (this *MachineAddress) String() string

func (*MachineAddress) Unmarshal

func (m *MachineAddress) Unmarshal(dAtA []byte) error

func (*MachineAddress) XXX_DiscardUnknown

func (m *MachineAddress) XXX_DiscardUnknown()

func (*MachineAddress) XXX_Marshal

func (m *MachineAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineAddress) XXX_Merge

func (m *MachineAddress) XXX_Merge(src proto.Message)

func (*MachineAddress) XXX_Size

func (m *MachineAddress) XXX_Size() int

func (*MachineAddress) XXX_Unmarshal

func (m *MachineAddress) XXX_Unmarshal(b []byte) error

type MachineAddressType

type MachineAddressType string
const (
	MachineHostName   MachineAddressType = "Hostname"
	MachineLanIP      MachineAddressType = "LanIP"
	MachineInternetIP MachineAddressType = "InternetIP"
)

type MachineCondition

type MachineCondition struct {
	Type   MachineConditionType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=MachineConditionType"`
	Status ConditionStatus      `json:"status,omitempty" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"`
	// +optional
	LastHeartbeatTime metav1.Time `json:"last_heartbeat_time,omitempty" protobuf:"bytes,3,opt,name=last_heartbeat_time"`
	// +optional
	LastTransitionTime metav1.Time `json:"last_transition_time,omitempty" protobuf:"bytes,4,opt,name=last_transition_time"`
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

func (*MachineCondition) DeepCopy

func (in *MachineCondition) DeepCopy() *MachineCondition

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

func (*MachineCondition) DeepCopyInto

func (in *MachineCondition) DeepCopyInto(out *MachineCondition)

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

func (*MachineCondition) Descriptor

func (*MachineCondition) Descriptor() ([]byte, []int)

func (*MachineCondition) Marshal

func (m *MachineCondition) Marshal() (dAtA []byte, err error)

func (*MachineCondition) MarshalTo

func (m *MachineCondition) MarshalTo(dAtA []byte) (int, error)

func (*MachineCondition) MarshalToSizedBuffer

func (m *MachineCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MachineCondition) ProtoMessage

func (*MachineCondition) ProtoMessage()

func (*MachineCondition) Reset

func (m *MachineCondition) Reset()

func (*MachineCondition) Size

func (m *MachineCondition) Size() (n int)

func (*MachineCondition) String

func (this *MachineCondition) String() string

func (*MachineCondition) Unmarshal

func (m *MachineCondition) Unmarshal(dAtA []byte) error

func (*MachineCondition) XXX_DiscardUnknown

func (m *MachineCondition) XXX_DiscardUnknown()

func (*MachineCondition) XXX_Marshal

func (m *MachineCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineCondition) XXX_Merge

func (m *MachineCondition) XXX_Merge(src proto.Message)

func (*MachineCondition) XXX_Size

func (m *MachineCondition) XXX_Size() int

func (*MachineCondition) XXX_Unmarshal

func (m *MachineCondition) XXX_Unmarshal(b []byte) error

type MachineConditionType

type MachineConditionType string
const (
	MachineClientReady      MachineConditionType = "ClientReady"
	MachineMemoryUnpressure MachineConditionType = "MemoryUnpressure"
	MachineDiskUnpressure   MachineConditionType = "DiskUnpressure"
	MachineNetworkAvailable MachineConditionType = "NetworkAvailable"
)

type MachineDaemonEndpoint

type MachineDaemonEndpoint struct {
	Port int32 `json:"port,omitempty" protobuf:"bytes,1,opt,name=port"`
}

func (*MachineDaemonEndpoint) DeepCopy

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

func (*MachineDaemonEndpoint) DeepCopyInto

func (in *MachineDaemonEndpoint) DeepCopyInto(out *MachineDaemonEndpoint)

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

func (*MachineDaemonEndpoint) Descriptor

func (*MachineDaemonEndpoint) Descriptor() ([]byte, []int)

func (*MachineDaemonEndpoint) Marshal

func (m *MachineDaemonEndpoint) Marshal() (dAtA []byte, err error)

func (*MachineDaemonEndpoint) MarshalTo

func (m *MachineDaemonEndpoint) MarshalTo(dAtA []byte) (int, error)

func (*MachineDaemonEndpoint) MarshalToSizedBuffer

func (m *MachineDaemonEndpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MachineDaemonEndpoint) ProtoMessage

func (*MachineDaemonEndpoint) ProtoMessage()

func (*MachineDaemonEndpoint) Reset

func (m *MachineDaemonEndpoint) Reset()

func (*MachineDaemonEndpoint) Size

func (m *MachineDaemonEndpoint) Size() (n int)

func (*MachineDaemonEndpoint) String

func (this *MachineDaemonEndpoint) String() string

func (*MachineDaemonEndpoint) Unmarshal

func (m *MachineDaemonEndpoint) Unmarshal(dAtA []byte) error

func (*MachineDaemonEndpoint) XXX_DiscardUnknown

func (m *MachineDaemonEndpoint) XXX_DiscardUnknown()

func (*MachineDaemonEndpoint) XXX_Marshal

func (m *MachineDaemonEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineDaemonEndpoint) XXX_Merge

func (m *MachineDaemonEndpoint) XXX_Merge(src proto.Message)

func (*MachineDaemonEndpoint) XXX_Size

func (m *MachineDaemonEndpoint) XXX_Size() int

func (*MachineDaemonEndpoint) XXX_Unmarshal

func (m *MachineDaemonEndpoint) XXX_Unmarshal(b []byte) error

type MachineList

type MachineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []Machine `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*MachineList) DeepCopy

func (in *MachineList) DeepCopy() *MachineList

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

func (*MachineList) DeepCopyInto

func (in *MachineList) DeepCopyInto(out *MachineList)

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

func (*MachineList) DeepCopyObject

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

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

func (*MachineList) Descriptor

func (*MachineList) Descriptor() ([]byte, []int)

func (*MachineList) Marshal

func (m *MachineList) Marshal() (dAtA []byte, err error)

func (*MachineList) MarshalTo

func (m *MachineList) MarshalTo(dAtA []byte) (int, error)

func (*MachineList) MarshalToSizedBuffer

func (m *MachineList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MachineList) ProtoMessage

func (*MachineList) ProtoMessage()

func (*MachineList) Reset

func (m *MachineList) Reset()

func (*MachineList) Size

func (m *MachineList) Size() (n int)

func (*MachineList) String

func (this *MachineList) String() string

func (*MachineList) Unmarshal

func (m *MachineList) Unmarshal(dAtA []byte) error

func (*MachineList) XXX_DiscardUnknown

func (m *MachineList) XXX_DiscardUnknown()

func (*MachineList) XXX_Marshal

func (m *MachineList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineList) XXX_Merge

func (m *MachineList) XXX_Merge(src proto.Message)

func (*MachineList) XXX_Size

func (m *MachineList) XXX_Size() int

func (*MachineList) XXX_Unmarshal

func (m *MachineList) XXX_Unmarshal(b []byte) error

type MachineMebiusEndpoint

type MachineMebiusEndpoint struct {
	Port int32 `json:"port,omitempty" protobuf:"bytes,1,opt,name=port"`
}

func (*MachineMebiusEndpoint) DeepCopy

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

func (*MachineMebiusEndpoint) DeepCopyInto

func (in *MachineMebiusEndpoint) DeepCopyInto(out *MachineMebiusEndpoint)

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

func (*MachineMebiusEndpoint) Descriptor

func (*MachineMebiusEndpoint) Descriptor() ([]byte, []int)

func (*MachineMebiusEndpoint) Marshal

func (m *MachineMebiusEndpoint) Marshal() (dAtA []byte, err error)

func (*MachineMebiusEndpoint) MarshalTo

func (m *MachineMebiusEndpoint) MarshalTo(dAtA []byte) (int, error)

func (*MachineMebiusEndpoint) MarshalToSizedBuffer

func (m *MachineMebiusEndpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MachineMebiusEndpoint) ProtoMessage

func (*MachineMebiusEndpoint) ProtoMessage()

func (*MachineMebiusEndpoint) Reset

func (m *MachineMebiusEndpoint) Reset()

func (*MachineMebiusEndpoint) Size

func (m *MachineMebiusEndpoint) Size() (n int)

func (*MachineMebiusEndpoint) String

func (this *MachineMebiusEndpoint) String() string

func (*MachineMebiusEndpoint) Unmarshal

func (m *MachineMebiusEndpoint) Unmarshal(dAtA []byte) error

func (*MachineMebiusEndpoint) XXX_DiscardUnknown

func (m *MachineMebiusEndpoint) XXX_DiscardUnknown()

func (*MachineMebiusEndpoint) XXX_Marshal

func (m *MachineMebiusEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineMebiusEndpoint) XXX_Merge

func (m *MachineMebiusEndpoint) XXX_Merge(src proto.Message)

func (*MachineMebiusEndpoint) XXX_Size

func (m *MachineMebiusEndpoint) XXX_Size() int

func (*MachineMebiusEndpoint) XXX_Unmarshal

func (m *MachineMebiusEndpoint) XXX_Unmarshal(b []byte) error

type MachinePhase

type MachinePhase string
const (
	MachinePending    MachinePhase = "Pending"
	MachineRunning    MachinePhase = "Running"
	MachineTerminated MachinePhase = "Terminated"
)

type MachineRole

type MachineRole string
const (
	//
	MachineMaster  MachineRole = "Master"
	MachineWorker  MachineRole = "Worker"
	MachineVagrant MachineRole = "Vagrant"
)

type MachineSpec

type MachineSpec struct {
	// Whether the Machine can use Mebius to perform operations.
	// The default false indicates that the machine can accept operations on the Mebius server.
	// +optional
	Unschedulable bool `json:"unschedulable,omitempty" protobuf:"bytes,1,opt,name=unschedulable"`
	// Whether Machine can be clustered.
	// The default value is false.
	// +optional
	Unclusterable bool `json:"unclusterable,omitempty" protobuf:"bytes,2,opt,name=unclusterable"`
	// Refer to the taints mechanism of k8s.
	// +optional
	Taints []corev1.Taint `json:"taints,omitempty" protobuf:"bytes,3,rep,name=taints"`
	// Flags which cluster the machine expects to join.
	// The default value is null, meaning it does not want to join any cluster.
	// +optional
	DesiredCluster ClusterID `json:"desired_cluster,omitempty" protobuf:"bytes,4,opt,name=desired_cluster,casttype=ClusterID"`
	// Flag the role Machine expects to become in the Cluster.
	// The default is Vagrant, meaning it does not join the Cluster.
	// +optional
	DesiredRole MachineRole `json:"desired_role,omitempty" protobuf:"bytes,5,opt,name=desired_role,casttype=MachineRole"`
}

func (*MachineSpec) DeepCopy

func (in *MachineSpec) DeepCopy() *MachineSpec

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

func (*MachineSpec) DeepCopyInto

func (in *MachineSpec) DeepCopyInto(out *MachineSpec)

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

func (*MachineSpec) Descriptor

func (*MachineSpec) Descriptor() ([]byte, []int)

func (*MachineSpec) Marshal

func (m *MachineSpec) Marshal() (dAtA []byte, err error)

func (*MachineSpec) MarshalTo

func (m *MachineSpec) MarshalTo(dAtA []byte) (int, error)

func (*MachineSpec) MarshalToSizedBuffer

func (m *MachineSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MachineSpec) ProtoMessage

func (*MachineSpec) ProtoMessage()

func (*MachineSpec) Reset

func (m *MachineSpec) Reset()

func (*MachineSpec) Size

func (m *MachineSpec) Size() (n int)

func (*MachineSpec) String

func (this *MachineSpec) String() string

func (*MachineSpec) Unmarshal

func (m *MachineSpec) Unmarshal(dAtA []byte) error

func (*MachineSpec) XXX_DiscardUnknown

func (m *MachineSpec) XXX_DiscardUnknown()

func (*MachineSpec) XXX_Marshal

func (m *MachineSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineSpec) XXX_Merge

func (m *MachineSpec) XXX_Merge(src proto.Message)

func (*MachineSpec) XXX_Size

func (m *MachineSpec) XXX_Size() int

func (*MachineSpec) XXX_Unmarshal

func (m *MachineSpec) XXX_Unmarshal(b []byte) error

type MachineStatus

type MachineStatus struct {
	// Records the port of the agent.
	// +optional
	MebiusEndpoint MachineMebiusEndpoint `json:"mebius_endpoint,omitempty" protobuf:"bytes,1,opt,name=mebius_endpoint,casttype=MachineMebiusEndpoint"`
	// Records the ports of daemons enabled by the agent.
	// +optional
	DaemonEndpoints []MachineDaemonEndpoint `json:"daemon_endpoints,omitempty" protobuf:"bytes,2,rep,name=daemon_endpoints"`
	// Various stages of machine.
	// +optional
	Phase MachinePhase `json:"phase,omitempty" protobuf:"bytes,3,opt,name=phase,casttype=MachinePhase"`
	// Conditions of the Machine (agent running properly, memory pressure free, disk pressure free, network reachable).
	// +optional
	Conditions []MachineCondition `json:"conditions,omitempty" protobuf:"bytes,4,rep,name=conditions"`
	// Information about the Machine system to be reported by the agent.
	// +optional
	MachineInfo MachineSystemInfo `json:"machine_info,omitempty" protobuf:"bytes,5,opt,name=machine_info,casttype=MachineSystemInfo"`
	// Machine address, a variety of types, temporarily on a LAN IP is almost.
	// TODO: If the Agent supports the IPIP tunnel, it can also use non-LAN IP addresses to remove Layer 2 reachability
	// +optional
	Addresses []MachineAddress `json:"addresses,omitempty" protobuf:"bytes,6,rep,name=addresses"`
	// The cluster that machine actually joins.
	// +optional
	OwnerCluster ClusterID `json:"owner_cluster,omitempty" protobuf:"bytes,7,opt,name=owner_cluster,casttype=ClusterID"`
	// The role of Machine in the Cluster.
	// If Machine does not join the Cluster, it is positioned as Vagrant.
	// +optional
	Role MachineRole `json:"machine_role,omitempty" protobuf:"bytes,8,opt,name=machine_role,casttype=MachineRole"`
}

func (*MachineStatus) DeepCopy

func (in *MachineStatus) DeepCopy() *MachineStatus

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

func (*MachineStatus) DeepCopyInto

func (in *MachineStatus) DeepCopyInto(out *MachineStatus)

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

func (*MachineStatus) Descriptor

func (*MachineStatus) Descriptor() ([]byte, []int)

func (*MachineStatus) Marshal

func (m *MachineStatus) Marshal() (dAtA []byte, err error)

func (*MachineStatus) MarshalTo

func (m *MachineStatus) MarshalTo(dAtA []byte) (int, error)

func (*MachineStatus) MarshalToSizedBuffer

func (m *MachineStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MachineStatus) ProtoMessage

func (*MachineStatus) ProtoMessage()

func (*MachineStatus) Reset

func (m *MachineStatus) Reset()

func (*MachineStatus) Size

func (m *MachineStatus) Size() (n int)

func (*MachineStatus) String

func (this *MachineStatus) String() string

func (*MachineStatus) Unmarshal

func (m *MachineStatus) Unmarshal(dAtA []byte) error

func (*MachineStatus) XXX_DiscardUnknown

func (m *MachineStatus) XXX_DiscardUnknown()

func (*MachineStatus) XXX_Marshal

func (m *MachineStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineStatus) XXX_Merge

func (m *MachineStatus) XXX_Merge(src proto.Message)

func (*MachineStatus) XXX_Size

func (m *MachineStatus) XXX_Size() int

func (*MachineStatus) XXX_Unmarshal

func (m *MachineStatus) XXX_Unmarshal(b []byte) error

type MachineSystemInfo

type MachineSystemInfo struct {
	// MachineID reported by the machine. For unique machine identification
	// in the cluster this field is preferred. Learn more from man(5)
	// machine-id: <http://man7.org/linux/man-pages/man5/machine-id.5.html>
	MachineID       string `json:"machine_id,omitempty" protobuf:"bytes,1,opt,name=machine_id"`
	KernelVersion   string `json:"kernel_version,omitempty" protobuf:"bytes,2,opt,name=kernel_version"`
	OperationSystem string `json:"operation_system,omitempty" protobuf:"bytes,3,opt,name=operation_system"`
	Architecture    string `json:"architecture,omitempty" protobuf:"bytes,4,opt,name=architecture"`
}

func (*MachineSystemInfo) DeepCopy

func (in *MachineSystemInfo) DeepCopy() *MachineSystemInfo

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

func (*MachineSystemInfo) DeepCopyInto

func (in *MachineSystemInfo) DeepCopyInto(out *MachineSystemInfo)

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

func (*MachineSystemInfo) Descriptor

func (*MachineSystemInfo) Descriptor() ([]byte, []int)

func (*MachineSystemInfo) Marshal

func (m *MachineSystemInfo) Marshal() (dAtA []byte, err error)

func (*MachineSystemInfo) MarshalTo

func (m *MachineSystemInfo) MarshalTo(dAtA []byte) (int, error)

func (*MachineSystemInfo) MarshalToSizedBuffer

func (m *MachineSystemInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MachineSystemInfo) ProtoMessage

func (*MachineSystemInfo) ProtoMessage()

func (*MachineSystemInfo) Reset

func (m *MachineSystemInfo) Reset()

func (*MachineSystemInfo) Size

func (m *MachineSystemInfo) Size() (n int)

func (*MachineSystemInfo) String

func (this *MachineSystemInfo) String() string

func (*MachineSystemInfo) Unmarshal

func (m *MachineSystemInfo) Unmarshal(dAtA []byte) error

func (*MachineSystemInfo) XXX_DiscardUnknown

func (m *MachineSystemInfo) XXX_DiscardUnknown()

func (*MachineSystemInfo) XXX_Marshal

func (m *MachineSystemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MachineSystemInfo) XXX_Merge

func (m *MachineSystemInfo) XXX_Merge(src proto.Message)

func (*MachineSystemInfo) XXX_Size

func (m *MachineSystemInfo) XXX_Size() int

func (*MachineSystemInfo) XXX_Unmarshal

func (m *MachineSystemInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL