accessentry

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *resource.Resource

Types

type Getter

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

func NewGetter

func NewGetter(eksClient *aws.EKSClient) *Getter

func (*Getter) Get

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

func (*Getter) GetAccessEntryByArn

func (g *Getter) GetAccessEntryByArn(clusterName, arn string) (*types.AccessEntry, error)

func (*Getter) GetAllAccessEntries

func (g *Getter) GetAllAccessEntries(clusterName string) ([]*types.AccessEntry, error)

func (*Getter) Init

func (g *Getter) Init()

type Printer

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

func NewPrinter

func NewPrinter(accessEntries []*types.AccessEntry) *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