domain

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT-0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *resource.Resource

func NewWithOptions

func NewWithOptions(options *Options) *resource.Resource

Types

type Getter

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

func NewGetter

func NewGetter(cognitoClient *aws.CognitoUserPoolClient) *Getter

func (*Getter) Get

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

func (*Getter) Init

func (g *Getter) Init()

type Manager

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

func (*Manager) Create

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

func (*Manager) Delete

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

func (*Manager) Init

func (m *Manager) Init()

func (*Manager) SetDryRun

func (m *Manager) SetDryRun()

func (*Manager) Update

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

type Options

type Options struct {
	resource.CommonOptions
	UserPoolID   string
	UserPoolName string

	// Create, Delete
	DomainName string
}

func NewOptions

func NewOptions() (options *Options, createFlags, deleteFlags, getFlags cmd.Flags)

func (*Options) SetName

func (o *Options) SetName(name string)

type Printer

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

func NewPrinter

func NewPrinter(domain *types.DomainDescriptionType) *Printer

func (*Printer) PrintJSON

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

func (*Printer) PrintTable

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

func (*Printer) PrintYAML

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

Jump to

Keyboard shortcuts

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