test

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BetaEC2NodeClass added in v1.0.0

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

func EC2NodeClass

func EC2NodeClass(overrides ...v1.EC2NodeClass) *v1.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
	EKSAPI     *fake.EKSAPI
	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
	AvailableIPAdressCache        *cache.Cache
	AssociatePublicIPAddressCache *cache.Cache
	SecurityGroupCache            *cache.Cache
	InstanceProfileCache          *cache.Cache
	SSMCache                      *cache.Cache

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

func NewEnvironment

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

func (*Environment) Reset

func (env *Environment) Reset()

type OptionsFields

type OptionsFields struct {
	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