Documentation ¶
Overview ¶
Package kubernetes interacts with the Kubernetes API to update an fetch objects related to joining nodes.
Index ¶
- type Client
- func (c *Client) AddNodeToJoiningNodes(ctx context.Context, nodeName string, componentsReference string, ...) error
- func (c *Client) GetComponents(ctx context.Context, configMapName string) (components.Components, error)
- func (c *Client) GetK8sComponentsRefFromNodeVersionCRD(ctx context.Context, nodeName string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a kubernetes client.
func (*Client) AddNodeToJoiningNodes ¶
func (c *Client) AddNodeToJoiningNodes(ctx context.Context, nodeName string, componentsReference string, isControlPlane bool) error
AddNodeToJoiningNodes adds the provided node as a joining node CRD.
func (*Client) GetComponents ¶
func (c *Client) GetComponents(ctx context.Context, configMapName string) (components.Components, error)
GetComponents returns the components of the cluster.
Click to show internal directories.
Click to hide internal directories.