Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultProvider ¶ added in v0.36.0
type DefaultProvider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider(region string, iamapi iamiface.IAMAPI, cache *cache.Cache) *DefaultProvider
func (*DefaultProvider) Create ¶ added in v0.36.0
func (p *DefaultProvider) Create(ctx context.Context, nodeClass *v1beta1.EC2NodeClass) (string, error)
func (*DefaultProvider) Delete ¶ added in v0.36.0
func (p *DefaultProvider) Delete(ctx context.Context, nodeClass *v1beta1.EC2NodeClass) error
func (*DefaultProvider) GetProfileName ¶ added in v0.36.0
func (p *DefaultProvider) GetProfileName(ctx context.Context, region, nodeClassName string) string
GetProfileName gets the string for the profile name based on the cluster name and the NodeClass UUID. The length of this string can never exceed the maximum instance profile name limit of 128 characters.
Click to show internal directories.
Click to hide internal directories.