irsa

package
v0.38.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: Apache-2.0 Imports: 11 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUpdateIAMServiceAccountTask

func NewUpdateIAMServiceAccountTask(clusterName string, sa *api.ClusterIAMServiceAccount, stackManager manager.StackManager, oidcManager *iamoidc.OpenIDConnectManager) (*tasks.TaskTree, error)

Types

type GetOptions

type GetOptions struct {
	Name      string
	Namespace string
}

GetOptions holds the configuration for the IRSA get action

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func New

func New(clusterName string, stackManager manager.StackManager, oidcManager *iamoidc.OpenIDConnectManager, clientSet kubeclient.Interface) *Manager

func (*Manager) CreateIAMServiceAccount

func (a *Manager) CreateIAMServiceAccount(iamServiceAccounts []*api.ClusterIAMServiceAccount, plan bool) error

func (*Manager) Delete

func (m *Manager) Delete(shouldDelete func(string) bool, plan, wait bool) error

func (*Manager) Get

func (m *Manager) Get(options GetOptions) ([]*api.ClusterIAMServiceAccount, error)

func (*Manager) UpdateIAMServiceAccounts

func (a *Manager) UpdateIAMServiceAccounts(iamServiceAccounts []*api.ClusterIAMServiceAccount, plan bool) error

Jump to

Keyboard shortcuts

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