iam

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAddBinding

func NewCmdAddBinding(ctx *cmd.Context, runF func(*AddBindingOpts) error) *cmd.Command

func NewCmdDeleteBinding

func NewCmdDeleteBinding(ctx *cmd.Context, runF func(*DeleteBindingOpts) error) *cmd.Command

func NewCmdIAM

func NewCmdIAM(ctx *cmd.Context) *cmd.Command

func NewCmdReadPolicy

func NewCmdReadPolicy(ctx *cmd.Context, runF func(*ReadPolicyOpts) error) *cmd.Command

func NewCmdSetPolicy

func NewCmdSetPolicy(ctx *cmd.Context, runF func(*SetPolicyOpts) error) *cmd.Command

Types

type AddBindingOpts

type AddBindingOpts struct {
	Ctx     context.Context
	Logger  hclog.Logger
	Profile *profile.Profile
	IO      iostreams.IOStreams

	Setter      iampolicy.Setter
	PrincipalID string
	Role        string
}

type DeleteBindingOpts

type DeleteBindingOpts struct {
	Ctx context.Context
	IO  iostreams.IOStreams

	Setter      iampolicy.Setter
	PrincipalID string
	Role        string
}

type ReadPolicyOpts

type ReadPolicyOpts struct {
	Ctx     context.Context
	Profile *profile.Profile
	IO      iostreams.IOStreams
	Output  *format.Outputter

	OrganizationClient organization_service.ClientService
	IAMClient          iam_service.ClientService
}

type SetPolicyOpts

type SetPolicyOpts struct {
	Ctx     context.Context
	Profile *profile.Profile
	IO      iostreams.IOStreams
	Logger  hclog.Logger

	Setter     iampolicy.Setter
	PolicyFile string
}

Jump to

Keyboard shortcuts

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