Documentation ¶
Index ¶
- Constants
- type IbmCloudClient
- func (ic *IbmCloudClient) Create(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error
- func (ic *IbmCloudClient) Delete(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error
- func (ic *IbmCloudClient) Exists(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) (bool, error)
- func (ic *IbmCloudClient) Update(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error
Constants ¶
View Source
const ( ProviderName = "ibmcloud" UserDataKey = "userData" TokenTTL = 60 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IbmCloudClient ¶
type IbmCloudClient struct {
// contains filtered or unexported fields
}
Actuator is responsible for performing machine reconciliation
func NewActuator ¶
func NewActuator(params ibmcloud.ActuatorParams) (*IbmCloudClient, error)
NewActuator creates a new Actuator
func (*IbmCloudClient) Create ¶
func (ic *IbmCloudClient) Create(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error
Create creates a machine and is invoked by the Machine Controller
func (*IbmCloudClient) Delete ¶
func (ic *IbmCloudClient) Delete(ctx context.Context, cluster *clusterv1.Cluster, machine *clusterv1.Machine) error
Delete deletes a machine and is invoked by the Machine Controller
Click to show internal directories.
Click to hide internal directories.