test

package
v0.34.6 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EC2NodeClass

func EC2NodeClass(overrides ...v1beta1.EC2NodeClass) *v1beta1.EC2NodeClass

func EC2NodeClassFieldIndexer

func EC2NodeClassFieldIndexer(ctx context.Context) func(cache.Cache) error

func Options

func Options(overrides ...OptionsFields) *options.Options

Types

type Environment

type Environment struct {
	// API
	EC2API     *fake.EC2API
	SSMAPI     *fake.SSMAPI
	IAMAPI     *fake.IAMAPI
	PricingAPI *fake.PricingAPI

	// Cache
	EC2Cache                  *cache.Cache
	KubernetesVersionCache    *cache.Cache
	InstanceTypeCache         *cache.Cache
	UnavailableOfferingsCache *awscache.UnavailableOfferings
	LaunchTemplateCache       *cache.Cache
	SubnetCache               *cache.Cache
	SecurityGroupCache        *cache.Cache
	InstanceProfileCache      *cache.Cache

	// Providers
	InstanceTypesProvider   *instancetype.Provider
	InstanceProvider        *instance.Provider
	SubnetProvider          *subnet.Provider
	SecurityGroupProvider   *securitygroup.Provider
	InstanceProfileProvider *instanceprofile.Provider
	PricingProvider         *pricing.Provider
	AMIProvider             *amifamily.Provider
	AMIResolver             *amifamily.Resolver
	VersionProvider         *version.Provider
	LaunchTemplateProvider  *launchtemplate.Provider
}

func NewEnvironment

func NewEnvironment(ctx context.Context, env *coretest.Environment) *Environment

func (*Environment) Reset

func (env *Environment) Reset()

type OptionsFields

type OptionsFields struct {
	AssumeRoleARN           *string
	AssumeRoleDuration      *time.Duration
	ClusterCABundle         *string
	ClusterName             *string
	ClusterEndpoint         *string
	IsolatedVPC             *bool
	VMMemoryOverheadPercent *float64
	InterruptionQueue       *string
	ReservedENIs            *int
}

Jump to

Keyboard shortcuts

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