nodeclass

package
v0.32.3 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func HashAnnotation added in v0.31.0

func HashAnnotation(nodeClass *v1beta1.EC2NodeClass) map[string]string

func New

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

func NewAMISelectorTerms

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

func NewAMIs added in v0.31.0

func NewAMIs(amis []v1alpha1.AMI) []v1beta1.AMI

func NewBlockDevice

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

func NewBlockDeviceMappings added in v0.31.0

func NewBlockDeviceMappings(bdms []*v1alpha1.BlockDeviceMapping) []*v1beta1.BlockDeviceMapping

func NewSecurityGroupSelectorTerms

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

func NewSecurityGroups added in v0.31.0

func NewSecurityGroups(securityGroups []v1alpha1.SecurityGroup) []v1beta1.SecurityGroup

func NewSubnetSelectorTerms

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

func NewSubnets added in v0.31.0

func NewSubnets(subnets []v1alpha1.Subnet) []v1beta1.Subnet

func Patch added in v0.31.0

func Patch(ctx context.Context, c client.Client, stored, nodeClass *v1beta1.EC2NodeClass) error

func PatchStatus added in v0.31.0

func PatchStatus(ctx context.Context, c client.Client, stored, nodeClass *v1beta1.EC2NodeClass) error

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