Documentation ¶
Index ¶
- type CloudProvider
- func (c *CloudProvider) Create(_ context.Context, constraints *v1alpha5.Constraints, ...) <-chan error
- func (c *CloudProvider) Default(context.Context, *v1alpha5.Constraints)
- func (c *CloudProvider) Delete(context.Context, *v1.Node) error
- func (c *CloudProvider) GetInstanceTypes(_ context.Context, _ *v1alpha5.Constraints) ([]cloudprovider.InstanceType, error)
- func (c *CloudProvider) Validate(context.Context, *v1alpha5.Constraints) *apis.FieldError
- type InstanceType
- func (i *InstanceType) AMDGPUs() *resource.Quantity
- func (i *InstanceType) AWSNeurons() *resource.Quantity
- func (i *InstanceType) AWSPodENI() *resource.Quantity
- func (i *InstanceType) Architecture() string
- func (i *InstanceType) CPU() *resource.Quantity
- func (i *InstanceType) Memory() *resource.Quantity
- func (i *InstanceType) Name() string
- func (i *InstanceType) NvidiaGPUs() *resource.Quantity
- func (i *InstanceType) Offerings() []cloudprovider.Offering
- func (i *InstanceType) OperatingSystems() sets.String
- func (i *InstanceType) Overhead() v1.ResourceList
- func (i *InstanceType) Pods() *resource.Quantity
- type InstanceTypeOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudProvider ¶
type CloudProvider struct{}
func (*CloudProvider) Create ¶
func (c *CloudProvider) Create(_ context.Context, constraints *v1alpha5.Constraints, instanceTypes []cloudprovider.InstanceType, quantity int, bind func(*v1.Node) error) <-chan error
func (*CloudProvider) Default ¶
func (c *CloudProvider) Default(context.Context, *v1alpha5.Constraints)
func (*CloudProvider) GetInstanceTypes ¶
func (c *CloudProvider) GetInstanceTypes(_ context.Context, _ *v1alpha5.Constraints) ([]cloudprovider.InstanceType, error)
func (*CloudProvider) Validate ¶
func (c *CloudProvider) Validate(context.Context, *v1alpha5.Constraints) *apis.FieldError
type InstanceType ¶
type InstanceType struct {
InstanceTypeOptions
}
func NewInstanceType ¶
func NewInstanceType(options InstanceTypeOptions) *InstanceType
func (*InstanceType) AMDGPUs ¶
func (i *InstanceType) AMDGPUs() *resource.Quantity
func (*InstanceType) AWSNeurons ¶
func (i *InstanceType) AWSNeurons() *resource.Quantity
func (*InstanceType) AWSPodENI ¶ added in v0.5.2
func (i *InstanceType) AWSPodENI() *resource.Quantity
func (*InstanceType) Architecture ¶
func (i *InstanceType) Architecture() string
func (*InstanceType) CPU ¶
func (i *InstanceType) CPU() *resource.Quantity
func (*InstanceType) Memory ¶
func (i *InstanceType) Memory() *resource.Quantity
func (*InstanceType) Name ¶
func (i *InstanceType) Name() string
func (*InstanceType) NvidiaGPUs ¶
func (i *InstanceType) NvidiaGPUs() *resource.Quantity
func (*InstanceType) Offerings ¶
func (i *InstanceType) Offerings() []cloudprovider.Offering
func (*InstanceType) OperatingSystems ¶ added in v0.5.2
func (i *InstanceType) OperatingSystems() sets.String
func (*InstanceType) Overhead ¶
func (i *InstanceType) Overhead() v1.ResourceList
func (*InstanceType) Pods ¶
func (i *InstanceType) Pods() *resource.Quantity
type InstanceTypeOptions ¶
type InstanceTypeOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.