Documentation ¶
Index ¶
- func NewProvider(logger log.Logger) provider.Provider
- type Provider
- func (p *Provider) CollectLogs(dir string, nodes []nodes.Node) error
- func (p *Provider) DeleteNodes(n []nodes.Node) error
- func (p *Provider) GetAPIServerEndpoint(cluster string) (string, error)
- func (p *Provider) GetAPIServerInternalEndpoint(cluster string) (string, error)
- func (p *Provider) ListClusters() ([]string, error)
- func (p *Provider) ListNodes(cluster string) ([]nodes.Node, error)
- func (p *Provider) Provision(status *cli.Status, cluster string, cfg *config.Cluster) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements provider.Provider see NewProvider
func (*Provider) CollectLogs ¶ added in v0.8.0
CollectLogs will populate dir with cluster logs and other debug files
func (*Provider) DeleteNodes ¶
DeleteNodes is part of the providers.Provider interface
func (*Provider) GetAPIServerEndpoint ¶
GetAPIServerEndpoint is part of the providers.Provider interface
func (*Provider) GetAPIServerInternalEndpoint ¶ added in v0.8.0
GetAPIServerInternalEndpoint is part of the providers.Provider interface
func (*Provider) ListClusters ¶
ListClusters is part of the providers.Provider interface
Click to show internal directories.
Click to hide internal directories.