aws

package
v0.0.0-...-166901d Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 24 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CreateAllOpts captures the options that affect creation/updating
	// of the generated objects.
	CreateAllOpts = options{
		TargetDir: "",
	}
)
View Source
var (
	// CreateIAMRolesOpts captures the options that affect creation/updating
	// of the IAM Roles.
	CreateIAMRolesOpts = options{
		TargetDir:         "",
		EnableTechPreview: false,
	}
)
View Source
var (
	// CreateIdentityProviderOpts captures the options that affect creation of the identity provider
	CreateIdentityProviderOpts = options{
		Name:          "",
		Region:        "",
		PublicKeyPath: "",
		TargetDir:     "",
	}
)
View Source
var (
	// DeleteOpts captures the options that affect deletion
	// of the generated objects.
	DeleteOpts = options{}
)

Functions

func NewAWSCmd

func NewAWSCmd() *cobra.Command

NewAWSCmd implements the "aws" subcommand for the credentials provisioning

func NewCreateAllCmd

func NewCreateAllCmd() *cobra.Command

NewCreateAllCmd provides the "create-all" subcommand

func NewCreateIAMRolesCmd

func NewCreateIAMRolesCmd() *cobra.Command

NewCreateIAMRolesCmd provides the "create-iam-roles" subcommand

func NewCreateIdentityProviderCmd

func NewCreateIdentityProviderCmd() *cobra.Command

NewCreateIdentityProviderCmd provides the "create-identity-provider" subcommand

func NewDeleteCmd

func NewDeleteCmd() *cobra.Command

NewDeleteCmd implements the "delete" command for the credentials provisioning

Types

type PolicyDocument

type PolicyDocument struct {
	Version   string
	Statement []StatementEntry
}

PolicyDocument is a simple type used to serialize to AWS' PolicyDocument format.

type StatementEntry

type StatementEntry struct {
	Effect   string
	Action   []string
	Resource string
	// Must "omitempty" otherwise we send unacceptable JSON to the AWS API when no
	// condition is defined.
	Condition credreqv1.IAMPolicyCondition `json:",omitempty"`
}

StatementEntry is a simple type used to serialize to AWS' PolicyDocument format.

Jump to

Keyboard shortcuts

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