iam_oidc

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: 15 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 {
	// contains filtered or unexported fields
}

func NewGetter

func NewGetter(iamClient *aws.IAMClient) *Getter

func (*Getter) Get

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

func (*Getter) GetAllOidcProviders

func (g *Getter) GetAllOidcProviders() ([]*iam.GetOpenIDConnectProviderOutput, error)

func (*Getter) GetOidcProviderByCluster

func (g *Getter) GetOidcProviderByCluster(cluster *ekstypes.Cluster) (*iam.GetOpenIDConnectProviderOutput, error)

func (*Getter) GetOidcProviderByUrl

func (g *Getter) GetOidcProviderByUrl(url string) (*iam.GetOpenIDConnectProviderOutput, error)

func (*Getter) Init

func (g *Getter) Init()

type IamOidcOptions

type IamOidcOptions struct {
	resource.CommonOptions
}

func (*IamOidcOptions) Validate

func (o *IamOidcOptions) Validate(args []string) error

type IamOidcPrinter

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

func NewPrinter

func NewPrinter(oidcProviders []*iam.GetOpenIDConnectProviderOutput) *IamOidcPrinter

func (*IamOidcPrinter) PrintJSON

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

func (*IamOidcPrinter) PrintTable

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

func (*IamOidcPrinter) PrintYAML

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

Jump to

Keyboard shortcuts

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