Documentation ¶
Index ¶
- func NewResource() *resource.Resource
- type Getter
- func (g *Getter) Get(name string, output printer.Output, options resource.Options) error
- func (g *Getter) GetAllRoles(getRoleDetails bool) (roles []types.Role, err error)
- func (g *Getter) GetIrsaRolesForCluster(cluster *ekstypes.Cluster, getRoleDetails bool) ([]types.Role, error)
- func (g *Getter) GetRoleByName(name string) (*types.Role, error)
- func (g *Getter) GetRolesByNameSearch(nameSearch string) ([]types.Role, error)
- func (g *Getter) Init()
- type IamRoleOptions
- type IamRolePrinter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResource ¶
Types ¶
type Getter ¶
type Getter struct {
// contains filtered or unexported fields
}
func (*Getter) GetAllRoles ¶
func (*Getter) GetIrsaRolesForCluster ¶
func (*Getter) GetRolesByNameSearch ¶
type IamRoleOptions ¶
type IamRoleOptions struct { resource.CommonOptions LastUsed bool NameSearch string }
func NewOptions ¶
func NewOptions() (options *IamRoleOptions, getFlags cmd.Flags)
type IamRolePrinter ¶
type IamRolePrinter struct {
// contains filtered or unexported fields
}
func NewPrinter ¶
func NewPrinter(roles []types.Role, lastUsed bool) *IamRolePrinter
func (*IamRolePrinter) PrintTable ¶
func (p *IamRolePrinter) PrintTable(writer io.Writer) error
Click to show internal directories.
Click to hide internal directories.