Documentation ¶
Index ¶
- type CloudProvider
- func (c *CloudProvider) Create(ctx context.Context, machine *v1alpha5.Machine) (*v1alpha5.Machine, error)
- func (c *CloudProvider) Delete(ctx context.Context, machine *v1alpha5.Machine) error
- func (c *CloudProvider) Get(ctx context.Context, providerID string) (*v1alpha5.Machine, error)
- func (c *CloudProvider) GetInstanceTypes(ctx context.Context, provisioner *v1alpha5.Provisioner) ([]*cloudprovider.InstanceType, error)
- func (c *CloudProvider) IsMachineDrifted(ctx context.Context, machine *v1alpha5.Machine) (bool, error)
- func (c *CloudProvider) Link(ctx context.Context, machine *v1alpha5.Machine) error
- func (c *CloudProvider) List(ctx context.Context) ([]*v1alpha5.Machine, error)
- func (c *CloudProvider) LivenessProbe(req *http.Request) error
- func (c *CloudProvider) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudProvider ¶
type CloudProvider struct {
// contains filtered or unexported fields
}
func (*CloudProvider) Create ¶
func (c *CloudProvider) Create(ctx context.Context, machine *v1alpha5.Machine) (*v1alpha5.Machine, error)
Create a machine given the constraints.
func (*CloudProvider) GetInstanceTypes ¶
func (c *CloudProvider) GetInstanceTypes(ctx context.Context, provisioner *v1alpha5.Provisioner) ([]*cloudprovider.InstanceType, error)
GetInstanceTypes returns all available InstanceTypes
func (*CloudProvider) IsMachineDrifted ¶
func (*CloudProvider) Link ¶
Link adds a tag to the cloudprovider machine to tell the cloudprovider that it's now owned by a Machine
func (*CloudProvider) LivenessProbe ¶
func (c *CloudProvider) LivenessProbe(req *http.Request) error
func (*CloudProvider) Name ¶
func (c *CloudProvider) Name() string
Name returns the CloudProvider implementation name.
Click to show internal directories.
Click to hide internal directories.