Documentation
¶
Index ¶
- func CheckEC2Connectivity(ctx context.Context, api ec2iface.EC2API) error
- func GetCABundle(ctx context.Context, restConfig *rest.Config) (*string, error)
- func KubeDNSIP(ctx context.Context, kubernetesInterface kubernetes.Interface) (net.IP, error)
- func ResolveClusterEndpoint(ctx context.Context, eksAPI eksiface.EKSAPI) (string, error)
- func SetDurationAndExpiry(ctx context.Context, provider *stscreds.AssumeRoleProvider)
- func WithUserAgent(sess *session.Session) *session.Session
- type Operator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEC2Connectivity ¶ added in v0.36.0
CheckEC2Connectivity makes a dry-run call to DescribeInstanceTypes. If it fails, we provide an early indicator that we are having issues connecting to the EC2 API.
func GetCABundle ¶ added in v0.36.0
func ResolveClusterEndpoint ¶
func SetDurationAndExpiry ¶ added in v0.36.0
func SetDurationAndExpiry(ctx context.Context, provider *stscreds.AssumeRoleProvider)
Types ¶
type Operator ¶
type Operator struct {
*operator.Operator
Session *session.Session
EC2API ec2iface.EC2API
SubnetProvider subnet.Provider
SecurityGroupProvider securitygroup.Provider
InstanceProfileProvider instanceprofile.Provider
AMIProvider amifamily.Provider
AMIResolver *amifamily.Resolver
LaunchTemplateProvider launchtemplate.Provider
PricingProvider pricing.Provider
VersionProvider version.Provider
InstanceTypesProvider instancetype.Provider
InstanceProvider instance.Provider
}
Operator is injected into the AWS CloudProvider's factories
Click to show internal directories.
Click to hide internal directories.