Documentation ¶
Index ¶
- Constants
- func DefaultClusterConfig(substrate *v1alpha1.Substrate) *kubeadm.InitConfiguration
- func ErrNoSuchBucket(err error) bool
- func NewDirectoryIterator(bucket, dir string) (s3manager.BatchUploadIterator, error)
- type Address
- type Config
- type DirectoryIterator
- type Instance
- type InstanceProfile
- func (i *InstanceProfile) Create(ctx context.Context, substrate *v1alpha1.Substrate) (reconcile.Result, error)
- func (i *InstanceProfile) CreateInstanceProfile(ctx context.Context, resourceName, policy *string, managedPolicies []string) (reconcile.Result, error)
- func (i *InstanceProfile) Delete(ctx context.Context, substrate *v1alpha1.Substrate) (reconcile.Result, error)
- func (i *InstanceProfile) DeleteInstanceProfile(ctx context.Context, resourceName, policy *string, managedPolicies []string) (reconcile.Result, error)
- type LaunchTemplate
- type Readiness
Constants ¶
View Source
const ( //Todo: until we have irsa support - https://github.com/awslabs/kubernetes-iteration-toolkit/issues/186, //this role name is tightly coupled with tekton pipelines and tasks; Please ensure you change tasks/ accordingly if you change this rolename TenantControlPlaneNodeRole = "tenant-controlplane-node-role" )
Variables ¶
This section is empty.
Functions ¶
func DefaultClusterConfig ¶
func DefaultClusterConfig(substrate *v1alpha1.Substrate) *kubeadm.InitConfiguration
func ErrNoSuchBucket ¶
func NewDirectoryIterator ¶
func NewDirectoryIterator(bucket, dir string) (s3manager.BatchUploadIterator, error)
NewDirectoryIterator builds a new DirectoryIterator
Types ¶
type Config ¶
type Config struct { S3 *s3.S3 STS *sts.STS S3Uploader *s3manager.Uploader EC2 *ec2.EC2 // contains filtered or unexported fields }
type DirectoryIterator ¶
type DirectoryIterator struct {
// contains filtered or unexported fields
}
DirectoryIterator represents an iterator of a specified directory
func (*DirectoryIterator) Err ¶
func (d *DirectoryIterator) Err() error
Err returns error of DirectoryIterator
func (*DirectoryIterator) Next ¶
func (d *DirectoryIterator) Next() bool
Next returns whether next file exists or not
func (*DirectoryIterator) UploadObject ¶
func (d *DirectoryIterator) UploadObject() s3manager.BatchUploadObject
UploadObject uploads a file
type InstanceProfile ¶
func (*InstanceProfile) CreateInstanceProfile ¶
func (*InstanceProfile) DeleteInstanceProfile ¶
type LaunchTemplate ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.