Documentation ¶
Index ¶
- func FillNodeCloudSpecificData(provider clouds.Name, nodeProfile profile.NodeProfile, config *steps.Config) error
- type AccountGetter
- type ClusterProvisioner
- type EtcdTokenGetter
- type Handler
- type KubeGetter
- type KubeService
- type ProvisionRequest
- type ProvisionResponse
- type RateLimiter
- type TaskProvisioner
- type TokenGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FillNodeCloudSpecificData ¶
func FillNodeCloudSpecificData(provider clouds.Name, nodeProfile profile.NodeProfile, config *steps.Config) error
Fill cloud account specific data gets data from the map and puts to particular cloud provider config
Types ¶
type AccountGetter ¶
type ClusterProvisioner ¶
type EtcdTokenGetter ¶
type EtcdTokenGetter struct {
// contains filtered or unexported fields
}
func NewEtcdTokenGetter ¶
func NewEtcdTokenGetter() *EtcdTokenGetter
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(kubeService KubeGetter, cloudAccountService *account.Service, tokenGetter TokenGetter, provisioner ClusterProvisioner) *Handler
type KubeGetter ¶
type KubeService ¶
type ProvisionRequest ¶
type ProvisionResponse ¶
type RateLimiter ¶
type RateLimiter struct {
// contains filtered or unexported fields
}
func NewRateLimiter ¶
func NewRateLimiter(interval time.Duration) *RateLimiter
func (*RateLimiter) Take ¶
func (r *RateLimiter) Take()
Take either returns giving calling code ability to execute or blocks until bucket is full again
type TaskProvisioner ¶
type TaskProvisioner struct {
// contains filtered or unexported fields
}
func NewProvisioner ¶
func NewProvisioner(repository storage.Interface, kubeService KubeService, spawnInterval time.Duration) *TaskProvisioner
func (*TaskProvisioner) ProvisionCluster ¶
func (tp *TaskProvisioner) ProvisionCluster(ctx context.Context, profile *profile.Profile, config *steps.Config) (map[string][]*workflows.Task, error)
ProvisionCluster runs provisionCluster process among nodes that have been provided for provisionCluster
func (*TaskProvisioner) ProvisionNodes ¶
Click to show internal directories.
Click to hide internal directories.