organization

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT-0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

func NewResourceWithOptions

func NewResourceWithOptions(options *OrganizationOptions) *resource.Resource

Types

type Getter

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

func NewGetter

func NewGetter(organizationsClient *aws.OrganizationsClient) *Getter

func (*Getter) Get

func (g *Getter) Get(alias string, output printer.Output, options resource.Options) error

func (*Getter) Init

func (g *Getter) Init()

type Manager

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

func (*Manager) Create

func (m *Manager) Create(options resource.Options) error

func (*Manager) Delete

func (m *Manager) Delete(options resource.Options) error

func (*Manager) Init

func (m *Manager) Init()

func (*Manager) SetDryRun

func (m *Manager) SetDryRun()

func (*Manager) Update

func (m *Manager) Update(options resource.Options, cmd *cobra.Command) error

type OrganizationOptions

type OrganizationOptions struct {
	resource.CommonOptions
}

func NewOptions

func NewOptions() (options *OrganizationOptions, flags cmd.Flags)

type OrganizationPrinter

type OrganizationPrinter struct {
	Organization *types.Organization
}

func NewPrinter

func NewPrinter(Organization *types.Organization) *OrganizationPrinter

func (*OrganizationPrinter) PrintJSON

func (p *OrganizationPrinter) PrintJSON(writer io.Writer) error

func (*OrganizationPrinter) PrintTable

func (p *OrganizationPrinter) PrintTable(writer io.Writer) error

func (*OrganizationPrinter) PrintYAML

func (p *OrganizationPrinter) PrintYAML(writer io.Writer) error

Jump to

Keyboard shortcuts

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