Documentation ¶
Overview ¶
Package management contains cluster management helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientProvider ¶
type ClientProvider struct {
// contains filtered or unexported fields
}
ClientProvider is a simple wrapper around talos clients managed by the runtime.
func NewUpgradeClientProvider ¶
func NewUpgradeClientProvider(ctx context.Context, context *common.Context) (*ClientProvider, error)
NewUpgradeClientProvider creates new ClientProvider for the upgrade or management modules.
func (*ClientProvider) Client ¶
func (cp *ClientProvider) Client(endpoints ...string) (*client.Client, error)
Client implements cluster.ClientProvider.
func (*ClientProvider) Close ¶
func (cp *ClientProvider) Close() error
Close implements cluster.ClientProvider.
Click to show internal directories.
Click to hide internal directories.