ssm_session

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT-0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

Types

type Getter

type Getter struct {
	resource.EmptyInit
}

func (*Getter) Get

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

type Manager

type Manager struct {
	DryRun bool
	Getter
}

func (*Manager) Create

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

func (*Manager) Delete

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

func (*Manager) SetDryRun

func (m *Manager) SetDryRun()

func (*Manager) Update

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

type SessionOptions

type SessionOptions struct {
	resource.CommonOptions

	History bool
	State   string
}

type SessionPrinter

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

func NewPrinter

func NewPrinter(sessions []types.Session) *SessionPrinter

func (*SessionPrinter) PrintJSON

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

func (*SessionPrinter) PrintTable

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

func (*SessionPrinter) PrintYAML

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

Jump to

Keyboard shortcuts

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