Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EC2NodeClass ¶
func EC2NodeClass(overrides ...v1.EC2NodeClass) *v1.EC2NodeClass
func Options ¶
func Options(overrides ...OptionsFields) *options.Options
Types ¶
type Environment ¶
type Environment struct { // Mock Clock *clock.FakeClock // API EC2API *fake.EC2API EKSAPI *fake.EKSAPI SSMAPI *fake.SSMAPI IAMAPI *fake.IAMAPI PricingAPI *fake.PricingAPI // Cache EC2Cache *cache.Cache InstanceTypeCache *cache.Cache LaunchTemplateCache *cache.Cache SubnetCache *cache.Cache AvailableIPAdressCache *cache.Cache AssociatePublicIPAddressCache *cache.Cache SecurityGroupCache *cache.Cache InstanceProfileCache *cache.Cache SSMCache *cache.Cache DiscoveredCapacityCache *cache.Cache // Providers InstanceTypesResolver *instancetype.DefaultResolver InstanceTypesProvider *instancetype.DefaultProvider InstanceProvider *instance.DefaultProvider SubnetProvider *subnet.DefaultProvider SecurityGroupProvider *securitygroup.DefaultProvider InstanceProfileProvider *instanceprofile.DefaultProvider PricingProvider *pricing.DefaultProvider AMIProvider *amifamily.DefaultProvider AMIResolver *amifamily.DefaultResolver 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 TestNodeClass ¶ added in v1.1.0
type TestNodeClass struct {
v1.EC2NodeClass
}
func (*TestNodeClass) InstanceProfileTags ¶ added in v1.1.0
func (t *TestNodeClass) InstanceProfileTags(clusterName string) map[string]string
Click to show internal directories.
Click to hide internal directories.