Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrApiGroupNotFound = errors.New("failed to find API group")
)
Functions ¶
This section is empty.
Types ¶
type Machine ¶
type Machine struct { metav1.ObjectMeta `json:"metadata,omitempty"` Status MachineStatus `json:"status,omitempty"` }
func FindMatchingMachineFromInternalDNS ¶
FindMatchingMachineFromInternalDNS find matching machine for node using internal DNS
type MachineHandler ¶
type MachineHandler struct { Client client.Client Config *rest.Config Ctx context.Context Namespace string }
func (*MachineHandler) ListMachines ¶
func (m *MachineHandler) ListMachines(apiGroupVersion schema.GroupVersion) ([]Machine, error)
ListMachines list all machines using given client
type MachineStatus ¶
type MachineStatus struct { NodeRef *corev1.ObjectReference `json:"nodeRef,omitempty"` Addresses []corev1.NodeAddress `json:"addresses,omitempty"` }
Click to show internal directories.
Click to hide internal directories.