nodeclass

package
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context, c client.Client, key Key) (*v1beta1.NodeClass, error)

func New

func New(nodeTemplate *v1alpha1.AWSNodeTemplate) *v1beta1.NodeClass

func NewAMISelectorTerms

func NewAMISelectorTerms(amiSelector map[string]string) (terms []v1beta1.AMISelectorTerm)

func NewBlockDevice

func NewBlockDevice(bd *v1alpha1.BlockDevice) *v1beta1.BlockDevice

func NewSecurityGroupSelectorTerms

func NewSecurityGroupSelectorTerms(securityGroupSelector map[string]string) []v1beta1.SecurityGroupSelectorTerm

func NewSubnetSelectorTerms

func NewSubnetSelectorTerms(subnetSelector map[string]string) []v1beta1.SubnetSelectorTerm

Types

type Key

type Key struct {
	Name           string
	IsNodeTemplate bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL