operator

package
v0.0.0-...-a846cc2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvisionCredentials

func ProvisionCredentials(ctx context.Context, client client.Client, secretNamespace string) (string, error)

ProvisionCredentials provisions cloud credentials secret in the given namespace with IAM policies required by the operator. The credentials data are put into a file which can be used to set up AWS SDK client.

Types

type IAMPolicy

type IAMPolicy struct {
	Version   string
	Statement []cco.StatementEntry
}

func GetIAMPolicy

func GetIAMPolicy() IAMPolicy

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL