Documentation ¶
Index ¶
- Constants
- func New(ctx context.Context) Interface
- func NewConnector(ctx context.Context, cluster *api.Cluster) (*cloudConnector, error)
- type ClusterManager
- func (cm *ClusterManager) Apply(in *api.Cluster, dryRun bool) ([]api.Action, error)
- func (cm *ClusterManager) GetAdminClient() (kubernetes.Interface, error)
- func (cm *ClusterManager) GetDefaultNodeSpec(cluster *api.Cluster, sku string) (api.NodeSpec, error)
- func (cm *ClusterManager) GetKubeConfig(cluster *api.Cluster) (*api.KubeConfig, error)
- func (cm *ClusterManager) GetSSHConfig(cluster *api.Cluster, node *core.Node) (*api.SSHConfig, error)
- func (cm *ClusterManager) IsValid(cluster *api.Cluster) (bool, error)
- func (cm *ClusterManager) SetDefaults(cluster *api.Cluster) error
Constants ¶
View Source
const (
UID = "scaleway"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterManager ¶
type ClusterManager struct {
// contains filtered or unexported fields
}
func (*ClusterManager) GetAdminClient ¶
func (cm *ClusterManager) GetAdminClient() (kubernetes.Interface, error)
func (*ClusterManager) GetDefaultNodeSpec ¶
func (*ClusterManager) GetKubeConfig ¶
func (cm *ClusterManager) GetKubeConfig(cluster *api.Cluster) (*api.KubeConfig, error)
func (*ClusterManager) GetSSHConfig ¶
func (*ClusterManager) IsValid ¶
func (cm *ClusterManager) IsValid(cluster *api.Cluster) (bool, error)
func (*ClusterManager) SetDefaults ¶
func (cm *ClusterManager) SetDefaults(cluster *api.Cluster) error
Click to show internal directories.
Click to hide internal directories.