Documentation ¶
Index ¶
- type CloudProvider
- func (c *CloudProvider) Create(ctx context.Context, nodeClaim *karpenterv1.NodeClaim) (*karpenterv1.NodeClaim, error)
- func (c *CloudProvider) Delete(ctx context.Context, nodeClaim *karpenterv1.NodeClaim) error
- func (c *CloudProvider) Get(ctx context.Context, providerID string) (*karpenterv1.NodeClaim, error)
- func (c *CloudProvider) GetInstanceTypes(ctx context.Context, nodePool *karpenterv1.NodePool) ([]*cloudprovider.InstanceType, error)
- func (c *CloudProvider) GetSupportedNodeClasses() []status.Object
- func (c *CloudProvider) IsDrifted(ctx context.Context, nodeClaim *karpenterv1.NodeClaim) (cloudprovider.DriftReason, error)
- func (c *CloudProvider) List(ctx context.Context) ([]*karpenterv1.NodeClaim, 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, nodeClaim *karpenterv1.NodeClaim) (*karpenterv1.NodeClaim, error)
Create a node given the constraints.
func (*CloudProvider) Delete ¶
func (c *CloudProvider) Delete(ctx context.Context, nodeClaim *karpenterv1.NodeClaim) error
func (*CloudProvider) Get ¶
func (c *CloudProvider) Get(ctx context.Context, providerID string) (*karpenterv1.NodeClaim, error)
func (*CloudProvider) GetInstanceTypes ¶
func (c *CloudProvider) GetInstanceTypes(ctx context.Context, nodePool *karpenterv1.NodePool) ([]*cloudprovider.InstanceType, error)
func (*CloudProvider) GetSupportedNodeClasses ¶ added in v0.3.0
func (c *CloudProvider) GetSupportedNodeClasses() []status.Object
func (*CloudProvider) IsDrifted ¶ added in v0.3.0
func (c *CloudProvider) IsDrifted(ctx context.Context, nodeClaim *karpenterv1.NodeClaim) (cloudprovider.DriftReason, error)
func (*CloudProvider) List ¶
func (c *CloudProvider) List(ctx context.Context) ([]*karpenterv1.NodeClaim, 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.