cli

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cli implements the commands for the AOD(Access On Demand) CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string) error

Run executes the CLI.

Types

type CLIHandleCommand

type CLIHandleCommand struct {
	cli.BaseCommand

	// Run Cleanup instead of Do if true.
	Cleanup bool
	// contains filtered or unexported fields
}

CLIHandleCommand handles CLI requests.

func (*CLIHandleCommand) Desc

func (c *CLIHandleCommand) Desc() string

func (*CLIHandleCommand) Flags

func (c *CLIHandleCommand) Flags() *cli.FlagSet

func (*CLIHandleCommand) Help

func (c *CLIHandleCommand) Help() string

func (*CLIHandleCommand) Run

func (c *CLIHandleCommand) Run(ctx context.Context, args []string) error

type CLIValidateCommand

type CLIValidateCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

CLIValidateCommand validates CLI requests.

func (*CLIValidateCommand) Desc

func (c *CLIValidateCommand) Desc() string

func (*CLIValidateCommand) Flags

func (c *CLIValidateCommand) Flags() *cli.FlagSet

func (*CLIValidateCommand) Help

func (c *CLIValidateCommand) Help() string

func (*CLIValidateCommand) Run

func (c *CLIValidateCommand) Run(ctx context.Context, args []string) error

type IAMCleanupCommand

type IAMCleanupCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

IAMCleanupCommand handles IAM requests.

func (*IAMCleanupCommand) Desc

func (c *IAMCleanupCommand) Desc() string

func (*IAMCleanupCommand) Flags

func (c *IAMCleanupCommand) Flags() *cli.FlagSet

func (*IAMCleanupCommand) Help

func (c *IAMCleanupCommand) Help() string

func (*IAMCleanupCommand) Run

func (c *IAMCleanupCommand) Run(ctx context.Context, args []string) error

type IAMHandleCommand

type IAMHandleCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

IAMHandleCommand handles IAM requests.

func (*IAMHandleCommand) Desc

func (c *IAMHandleCommand) Desc() string

func (*IAMHandleCommand) Flags

func (c *IAMHandleCommand) Flags() *cli.FlagSet

func (*IAMHandleCommand) Help

func (c *IAMHandleCommand) Help() string

func (*IAMHandleCommand) Run

func (c *IAMHandleCommand) Run(ctx context.Context, args []string) error

type IAMValidateCommand

type IAMValidateCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

IAMValidateCommand validates IAM requests.

func (*IAMValidateCommand) Desc

func (c *IAMValidateCommand) Desc() string

func (*IAMValidateCommand) Flags

func (c *IAMValidateCommand) Flags() *cli.FlagSet

func (*IAMValidateCommand) Help

func (c *IAMValidateCommand) Help() string

func (*IAMValidateCommand) Run

func (c *IAMValidateCommand) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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