Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Components ¶
type Components []Component
Components is a list of Kubernetes components.
func NewComponentsFromInitProto ¶
func NewComponentsFromInitProto(protoComponents []*initproto.KubernetesComponent) Components
NewComponentsFromInitProto converts a protobuf KubernetesVersion to Components.
func NewComponentsFromJoinProto ¶
func NewComponentsFromJoinProto(protoComponents []*joinproto.KubernetesComponent) Components
NewComponentsFromJoinProto converts a protobuf KubernetesVersion to Components.
func (Components) GetHash ¶
func (c Components) GetHash() string
GetHash returns the hash over all component hashes.
func (Components) GetKubeadmComponent ¶
func (c Components) GetKubeadmComponent() (Component, error)
GetKubeadmComponent returns the kubeadm component.
func (Components) ToInitProto ¶
func (c Components) ToInitProto() []*initproto.KubernetesComponent
ToInitProto converts Components to a protobuf KubernetesVersion.
func (Components) ToJoinProto ¶
func (c Components) ToJoinProto() []*joinproto.KubernetesComponent
ToJoinProto converts Components to a protobuf KubernetesVersion.
Click to show internal directories.
Click to hide internal directories.