awscloudcontrollermanager

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceAccount

type ServiceAccount struct {
}

ServiceAccount represents the service-account used by the AWS Cloud Controller Manager. It implements iam.Subject to get AWS IAM permissions.

func (*ServiceAccount) BuildAWSPolicy

func (r *ServiceAccount) BuildAWSPolicy(b *iam.PolicyBuilder) (*iam.Policy, error)

BuildAWSPolicy generates a custom policy for a ServiceAccount IAM role.

func (*ServiceAccount) ServiceAccount

func (r *ServiceAccount) ServiceAccount() (types.NamespacedName, bool)

ServiceAccount returns the kubernetes service account used.

Jump to

Keyboard shortcuts

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