Documentation ¶
Overview ¶
Package main contains the main entrypoint for the AWS provider components.
Directories ¶
Path | Synopsis |
---|---|
api
|
|
v1beta1
Package v1beta1 contains the v1beta1 API implementation.
|
Package v1beta1 contains the v1beta1 API implementation. |
v1beta2
Package v1beta2 contains the v1beta2 API implementation.
|
Package v1beta2 contains the v1beta2 API implementation. |
bootstrap
|
|
eks/api/v1beta1
Package v1beta1 contains API Schema definitions for the Amazon EKS Bootstrap v1beta1 API group +kubebuilder:object:generate=true +groupName=bootstrap.cluster.x-k8s.io
|
Package v1beta1 contains API Schema definitions for the Amazon EKS Bootstrap v1beta1 API group +kubebuilder:object:generate=true +groupName=bootstrap.cluster.x-k8s.io |
eks/api/v1beta2
Package v1beta2 contains API Schema definitions for the Amazon EKS Bootstrap v1beta2 API group.
|
Package v1beta2 contains API Schema definitions for the Amazon EKS Bootstrap v1beta2 API group. |
eks/controllers
Package controllers provides a way to reconcile EKSConfig objects.
|
Package controllers provides a way to reconcile EKSConfig objects. |
eks/internal/userdata
Package userdata provides a way to generate ec2 instance userdata.
|
Package userdata provides a way to generate ec2 instance userdata. |
cmd
|
|
clusterawsadm
Package main is the entrypoint for the clusterawsadm command.
|
Package main is the entrypoint for the clusterawsadm command. |
clusterawsadm/ami
Package ami provides a way to interact with AWS AMIs.
|
Package ami provides a way to interact with AWS AMIs. |
clusterawsadm/api/ami/v1beta1
Package v1beta1 contains API Schema definitions for the AMI v1beta1 API group +kubebuilder:object:generate=true +k8s:defaulter-gen=TypeMeta +groupName=ami.aws.infrastructure.cluster.x-k8s.io
|
Package v1beta1 contains API Schema definitions for the AMI v1beta1 API group +kubebuilder:object:generate=true +k8s:defaulter-gen=TypeMeta +groupName=ami.aws.infrastructure.cluster.x-k8s.io |
clusterawsadm/api/ami/v1beta1/scheme
Package scheme provides a way to generate a Scheme and CodecFactory f or the bootstrap.aws.infrastructure.cluster.x-k8s.io API group.
|
Package scheme provides a way to generate a Scheme and CodecFactory f or the bootstrap.aws.infrastructure.cluster.x-k8s.io API group. |
clusterawsadm/api/bootstrap/v1alpha1
Package v1alpha1 contains API Schema definitions for the bootstrap v1alpha1 API group +kubebuilder:object:generate=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=bootstrap.aws.infrastructure.cluster.x-k8s.io +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-aws/v2/cmd/clusterawsadm/api/bootstrap/v1beta1
|
Package v1alpha1 contains API Schema definitions for the bootstrap v1alpha1 API group +kubebuilder:object:generate=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=bootstrap.aws.infrastructure.cluster.x-k8s.io +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-aws/v2/cmd/clusterawsadm/api/bootstrap/v1beta1 |
clusterawsadm/api/bootstrap/v1alpha1/scheme
Package scheme provides a way to generate a Scheme and CodecFactory for the bootstrap.aws.infrastructure.cluster.x-k8s.io API group.
|
Package scheme provides a way to generate a Scheme and CodecFactory for the bootstrap.aws.infrastructure.cluster.x-k8s.io API group. |
clusterawsadm/api/bootstrap/v1beta1
Package v1beta1 contains API Schema definitions for the bootstrap v1beta1 API group +kubebuilder:object:generate=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=bootstrap.aws.infrastructure.cluster.x-k8s.io +gencrdrefdocs:force
|
Package v1beta1 contains API Schema definitions for the bootstrap v1beta1 API group +kubebuilder:object:generate=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=bootstrap.aws.infrastructure.cluster.x-k8s.io +gencrdrefdocs:force |
clusterawsadm/api/bootstrap/v1beta1/scheme
Package scheme provides a way to generate a Scheme and CodecFactory for the bootstrap.aws.infrastructure.cluster.x-k8s.io API group.
|
Package scheme provides a way to generate a Scheme and CodecFactory for the bootstrap.aws.infrastructure.cluster.x-k8s.io API group. |
clusterawsadm/cloudformation/bootstrap
Package bootstrap provides a way to generate a CloudFormation template for IAM policies, users and roles for use by Cluster API Provider AWS.
|
Package bootstrap provides a way to generate a CloudFormation template for IAM policies, users and roles for use by Cluster API Provider AWS. |
clusterawsadm/cloudformation/service
Package cloudformation provides the API operation methods for making requests to AWS CloudFormation.
|
Package cloudformation provides the API operation methods for making requests to AWS CloudFormation. |
clusterawsadm/cmd
Package cmd implements the clusterawsadm command line utility.
|
Package cmd implements the clusterawsadm command line utility. |
clusterawsadm/cmd/ami
Package ami provides a way to generate AMI commands.
|
Package ami provides a way to generate AMI commands. |
clusterawsadm/cmd/ami/common
Package common provides common flags and functions for the AMI commands.
|
Package common provides common flags and functions for the AMI commands. |
clusterawsadm/cmd/ami/list
Package list provides a way to list AMIs from the default AWS account where AMIs are stored.
|
Package list provides a way to list AMIs from the default AWS account where AMIs are stored. |
clusterawsadm/cmd/bootstrap
Package bootstrap provides cli commands for bootstrapping AWS accounts for use with the Kubernetes Cluster API Provider AWS.
|
Package bootstrap provides cli commands for bootstrapping AWS accounts for use with the Kubernetes Cluster API Provider AWS. |
clusterawsadm/cmd/bootstrap/credentials
Package credentials provides a way to encode credentials for use with Kubernetes Cluster API Provider AWS.
|
Package credentials provides a way to encode credentials for use with Kubernetes Cluster API Provider AWS. |
clusterawsadm/cmd/bootstrap/iam
Package iam provides a way to generate IAM policies and roles.
|
Package iam provides a way to generate IAM policies and roles. |
clusterawsadm/cmd/controller
Package controller provides the controller command.
|
Package controller provides the controller command. |
clusterawsadm/cmd/controller/credentials
Package credentials provides a CLI utilities for AWS credentials.
|
Package credentials provides a CLI utilities for AWS credentials. |
clusterawsadm/cmd/controller/rollout
Package rollout provides the rollout command.
|
Package rollout provides the rollout command. |
clusterawsadm/cmd/eks
Package eks provides a CLI to manage EKS clusters.
|
Package eks provides a CLI to manage EKS clusters. |
clusterawsadm/cmd/eks/addons
Package addons provides EKS addons commands.
|
Package addons provides EKS addons commands. |
clusterawsadm/cmd/flags
Package flags provides a way to add flags to the cli.
|
Package flags provides a way to add flags to the cli. |
clusterawsadm/cmd/gc
Package gc provides commands related to garbage collecting external resources of clusters.
|
Package gc provides commands related to garbage collecting external resources of clusters. |
clusterawsadm/cmd/resource
Package resource provides commands related to AWS resources.
|
Package resource provides commands related to AWS resources. |
clusterawsadm/cmd/resource/list
Package list provides the list command for the resource package.
|
Package list provides the list command for the resource package. |
clusterawsadm/cmd/util
Package util provides utility functions.
|
Package util provides utility functions. |
clusterawsadm/cmd/version
Package version provides the version information of clusterawsadm.
|
Package version provides the version information of clusterawsadm. |
clusterawsadm/configreader
Package configreader provides a way to load a bootstrapv1.AWSIAMConfiguration from a file.
|
Package configreader provides a way to load a bootstrapv1.AWSIAMConfiguration from a file. |
clusterawsadm/controller
Package controller contains the controller logic for the capa manager.
|
Package controller contains the controller logic for the capa manager. |
clusterawsadm/controller/credentials
Package credentials provides AWS credentials management.
|
Package credentials provides AWS credentials management. |
clusterawsadm/controller/rollout
Package rollout provides a way to rollout the CAPA controller manager deployment.
|
Package rollout provides a way to rollout the CAPA controller manager deployment. |
clusterawsadm/converters
Package converters contains the conversion functions for AWS.
|
Package converters contains the conversion functions for AWS. |
clusterawsadm/credentials
Package credentials contains utilities for working with AWS credentials.
|
Package credentials contains utilities for working with AWS credentials. |
clusterawsadm/gc
Package gc provides a way to handle AWS garbage collection on deletion.
|
Package gc provides a way to handle AWS garbage collection on deletion. |
clusterawsadm/printers
Package printers provides a wrapper for the k8s.io/cli-runtime/pkg/printers package.
|
Package printers provides a wrapper for the k8s.io/cli-runtime/pkg/printers package. |
clusterawsadm/resource
Package resource provides definitions for AWS resource types.
|
Package resource provides definitions for AWS resource types. |
controlplane
|
|
eks/api/v1beta1
Package v1beta1 contains API Schema definitions for the controlplane v1beta1 API group +gencrdrefdocs:force +groupName=controlplane.cluster.x-k8s.io +k8s:defaulter-gen=TypeMeta +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-aws/v2/controlplane/eks/api/v1beta2
|
Package v1beta1 contains API Schema definitions for the controlplane v1beta1 API group +gencrdrefdocs:force +groupName=controlplane.cluster.x-k8s.io +k8s:defaulter-gen=TypeMeta +k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-aws/v2/controlplane/eks/api/v1beta2 |
eks/api/v1beta2
Package v1beta2 contains API Schema definitions for the controlplane v1beta2 API group +gencrdrefdocs:force +groupName=controlplane.cluster.x-k8s.io +k8s:defaulter-gen=TypeMeta
|
Package v1beta2 contains API Schema definitions for the controlplane v1beta2 API group +gencrdrefdocs:force +groupName=controlplane.cluster.x-k8s.io +k8s:defaulter-gen=TypeMeta |
rosa/api/v1beta2
Package v1beta2 contains API Schema definitions for the controlplane v1beta2 API group +gencrdrefdocs:force +groupName=controlplane.cluster.x-k8s.io +k8s:defaulter-gen=TypeMeta
|
Package v1beta2 contains API Schema definitions for the controlplane v1beta2 API group +gencrdrefdocs:force +groupName=controlplane.cluster.x-k8s.io +k8s:defaulter-gen=TypeMeta |
rosa/controllers
Package controllers provides a way to reconcile ROSA resources.
|
Package controllers provides a way to reconcile ROSA resources. |
docs
|
|
book/cmd/amilist
Package main provides a Lambda function to list AMIs and upload them to an S3 bucket.
|
Package main provides a Lambda function to list AMIs and upload them to an S3 bucket. |
book/cmd/clusterawsadmdocs
Package main provides a way to generate a command reference for clusterawsadm.
|
Package main provides a way to generate a command reference for clusterawsadm. |
Package exp provides experimental code that is not ready for production use.
|
Package exp provides experimental code that is not ready for production use. |
api/v1beta1
Package v1beta1 contains API Schema definitions for experimental v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
|
Package v1beta1 contains API Schema definitions for experimental v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io |
api/v1beta2
Package v1beta2 contains API Schema definitions for experimental v1beta2 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
|
Package v1beta2 contains API Schema definitions for experimental v1beta2 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io |
controlleridentitycreator
Package controlleridentitycreator provides a way to reconcile AWSClusterControllerIdentity instance.
|
Package controlleridentitycreator provides a way to reconcile AWSClusterControllerIdentity instance. |
controllers
Package controllers provides experimental API controllers.
|
Package controllers provides experimental API controllers. |
instancestate
Package instancestate provides a controller that listens for EC2 instance state change notifications and updates the corresponding AWSMachine's status.
|
Package instancestate provides a controller that listens for EC2 instance state change notifications and updates the corresponding AWSMachine's status. |
Package feature provides a feature-gate implementation for capa.
|
Package feature provides a feature-gate implementation for capa. |
hack
|
|
boilerplate/test
Package test provides a test package for boilerplate.
|
Package test provides a test package for boilerplate. |
iam
|
|
api/v1beta1
Package v1beta1 contains API Schema definitions for the iam v1beta1 API group.
|
Package v1beta1 contains API Schema definitions for the iam v1beta1 API group. |
pkg
|
|
annotations
Package annotations provides utility functions for working with annotations.
|
Package annotations provides utility functions for working with annotations. |
cloud
Package cloud contains interfaces for working with AWS resources.
|
Package cloud contains interfaces for working with AWS resources. |
cloud/awserrors
Package awserrors provides a way to generate AWS errors.
|
Package awserrors provides a way to generate AWS errors. |
cloud/converters
Package converters provides conversion functions for AWS SDK types to CAPA types.
|
Package converters provides conversion functions for AWS SDK types to CAPA types. |
cloud/endpoints
Package endpoints contains aws endpoint related utilities.
|
Package endpoints contains aws endpoint related utilities. |
cloud/filter
Package filter contains the ec2 sdk related filters.
|
Package filter contains the ec2 sdk related filters. |
cloud/identity
Package identity provides the AWSPrincipalTypeProvider interface and its implementations.
|
Package identity provides the AWSPrincipalTypeProvider interface and its implementations. |
cloud/logs
Package logs provides a wrapper for the logr.Logger to be used as an AWS Logger.
|
Package logs provides a wrapper for the logr.Logger to be used as an AWS Logger. |
cloud/metrics
Package metrics provides a way to capture request metrics.
|
Package metrics provides a way to capture request metrics. |
cloud/scope
Package scope provides a global scope for CAPA controllers.
|
Package scope provides a global scope for CAPA controllers. |
cloud/services
Package services contains the interfaces for the AWS services.
|
Package services contains the interfaces for the AWS services. |
cloud/services/autoscaling
Package asg provides a service for managing AWS AutoScalingGroups.
|
Package asg provides a service for managing AWS AutoScalingGroups. |
cloud/services/autoscaling/mock_autoscalingiface
Package mock_autoscalingiface is a generated GoMock package.
|
Package mock_autoscalingiface is a generated GoMock package. |
cloud/services/awsnode
Package awsnode provides a way to interact with AWS nodes.
|
Package awsnode provides a way to interact with AWS nodes. |
cloud/services/ec2
Package ec2 provides a way to interact with the AWS EC2 API.
|
Package ec2 provides a way to interact with the AWS EC2 API. |
cloud/services/eks
Package eks provides a service to reconcile EKS control plane and nodegroups.
|
Package eks provides a service to reconcile EKS control plane and nodegroups. |
cloud/services/eks/iam
Package iam provides a service for managing IAM roles and policies.
|
Package iam provides a service for managing IAM roles and policies. |
cloud/services/eks/mock_eksiface
Package mock_eksiface is a generated GoMock package.
|
Package mock_eksiface is a generated GoMock package. |
cloud/services/elb
Package elb provides a service for managing AWS load balancers.
|
Package elb provides a service for managing AWS load balancers. |
cloud/services/gc
Package gc provides a way to perform gc operations against a tenant/workload/child cluster.
|
Package gc provides a way to perform gc operations against a tenant/workload/child cluster. |
cloud/services/iamauth
Package iamauth provides a way to interact with AWS IAM.
|
Package iamauth provides a way to interact with AWS IAM. |
cloud/services/iamauth/mock_iamauth
Package mock_iamauth provides a mock implementation for the IAMAPI interface.
|
Package mock_iamauth provides a mock implementation for the IAMAPI interface. |
cloud/services/instancestate
Package instancestate provides a way to interact with the EC2 instance state.
|
Package instancestate provides a way to interact with the EC2 instance state. |
cloud/services/instancestate/mock_eventbridgeiface
Package mock_eventbridgeiface provides a mock implementation for the EventBridgeAPI interface.
|
Package mock_eventbridgeiface provides a mock implementation for the EventBridgeAPI interface. |
cloud/services/instancestate/mock_sqsiface
Package mock_sqsiface provides a mock implementation for the SQSAPI interface.
|
Package mock_sqsiface provides a mock implementation for the SQSAPI interface. |
cloud/services/kubeproxy
Package kubeproxy provides a way to interact with the kube-proxy service.
|
Package kubeproxy provides a way to interact with the kube-proxy service. |
cloud/services/mock_services
Package mock_services is a generated GoMock package.
|
Package mock_services is a generated GoMock package. |
cloud/services/network
Package network provides a service to manage AWS network resources.
|
Package network provides a service to manage AWS network resources. |
cloud/services/s3
Package s3 provides a way to interact with AWS S3.
|
Package s3 provides a way to interact with AWS S3. |
cloud/services/s3/mock_s3iface
Package mock_s3iface provides a mock implementation of the s3iface.S3API interface Run go generate to regenerate this mock.
|
Package mock_s3iface provides a mock implementation of the s3iface.S3API interface Run go generate to regenerate this mock. |
cloud/services/s3/mock_stsiface
Package mock_stsiface provides a mock implementation for the STSAPI interface.
|
Package mock_stsiface provides a mock implementation for the STSAPI interface. |
cloud/services/secretsmanager
Package secretsmanager provides a way to interact with AWS Secrets Manager.
|
Package secretsmanager provides a way to interact with AWS Secrets Manager. |
cloud/services/secretsmanager/mock_secretsmanageriface
Package mock_secretsmanageriface provides a mock interface for the SecretsManager API client.
|
Package mock_secretsmanageriface provides a mock interface for the SecretsManager API client. |
cloud/services/securitygroup
Package securitygroup provides a service to manage AWS security group resources.
|
Package securitygroup provides a service to manage AWS security group resources. |
cloud/services/ssm
Package ssm provides a service to generate userdata for AWS Systems Manager.
|
Package ssm provides a service to generate userdata for AWS Systems Manager. |
cloud/services/ssm/mock_ssmiface
Package mock_ssmiface provides a mock interface for the SSM API client.
|
Package mock_ssmiface provides a mock interface for the SSM API client. |
cloud/services/sts/mock_stsiface
Package mock_stsiface provides a mock implementation for the STSAPI interface.
|
Package mock_stsiface provides a mock implementation for the STSAPI interface. |
cloud/services/userdata
Package userdata provides a way to generate user data for cloud instances.
|
Package userdata provides a way to generate user data for cloud instances. |
cloud/services/wait
Package wait provides a set of utilities for polling and waiting.
|
Package wait provides a set of utilities for polling and waiting. |
cloud/tags
Package tags provides a way to tag cloud resources.
|
Package tags provides a way to tag cloud resources. |
cloud/throttle
Package throttle provides a way to limit the number of requests to AWS services.
|
Package throttle provides a way to limit the number of requests to AWS services. |
cloudtest
Package cloudtest provides utilities for testing.
|
Package cloudtest provides utilities for testing. |
eks
Package eks contains the EKS API implementation.
|
Package eks contains the EKS API implementation. |
eks/addons
Package addons provides a plan to manage EKS addons.
|
Package addons provides a plan to manage EKS addons. |
eks/identityprovider
Package identityprovider provides a plan to manage EKS OIDC identity provider association.
|
Package identityprovider provides a plan to manage EKS OIDC identity provider association. |
hash
Package hash provides a consistent hash function using blake2b.
|
Package hash provides a consistent hash function using blake2b. |
internal/bytes
Package bytes provides utilities for working with byte arrays.
|
Package bytes provides utilities for working with byte arrays. |
internal/cidr
Package cidr provides utilities for working with CIDR blocks.
|
Package cidr provides utilities for working with CIDR blocks. |
internal/cmp
Package cmp provides a set of comparison functions.
|
Package cmp provides a set of comparison functions. |
internal/mime
Package mime provides a function to generate a multipart MIME document.
|
Package mime provides a function to generate a multipart MIME document. |
internal/rate
Package rate provides a rate limiter.
|
Package rate provides a rate limiter. |
internal/tristate
Package tristate provides a helper for working with bool pointers.
|
Package tristate provides a helper for working with bool pointers. |
logger
Package logger provides a convenient interface to use to log.
|
Package logger provides a convenient interface to use to log. |
planner
Package planner provides a simple interface for creating and executing plans.
|
Package planner provides a simple interface for creating and executing plans. |
record
Package record provides a way to record Kubernetes events.
|
Package record provides a way to record Kubernetes events. |
rosa
Package rosa provides a way to interact with the Red Hat OpenShift Service on AWS (ROSA) API.
|
Package rosa provides a way to interact with the Red Hat OpenShift Service on AWS (ROSA) API. |
test
|
|
helpers
Package helpers provides a set of utilities for testing controllers.
|
Package helpers provides a set of utilities for testing controllers. |
helpers/external
Package external provides mock CRDs for use in tests.
|
Package external provides mock CRDs for use in tests. |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
util
|
|
conditions
Package conditions provides helper functions for working with conditions.
|
Package conditions provides helper functions for working with conditions. |
system
Package system contains utiilities for the system namespace.
|
Package system contains utiilities for the system namespace. |
Package version provides the version of the manager.
|
Package version provides the version of the manager. |
Click to show internal directories.
Click to hide internal directories.