identityproviders

package
v0.0.0-...-1dd5257 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAssociateProvidersTask

func NewAssociateProvidersTask(ctx context.Context, metadata api.ClusterMeta, providers []api.IdentityProvider, eks awsapi.EKS) tasks.Task

Types

type AssociateIdentityProvidersOptions

type AssociateIdentityProvidersOptions struct {
	Providers   []api.IdentityProvider
	WaitTimeout time.Duration
}

type AssociateProvidersTask

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

func (*AssociateProvidersTask) Describe

func (t *AssociateProvidersTask) Describe() string

func (*AssociateProvidersTask) Do

func (t *AssociateProvidersTask) Do() error

type DisassociateIdentityProvider

type DisassociateIdentityProvider struct {
	Name string
	Type api.IdentityProviderType
}

type DisassociateIdentityProvidersOptions

type DisassociateIdentityProvidersOptions struct {
	Providers   []DisassociateIdentityProvider
	WaitTimeout time.Duration
}

type GetIdentityProvidersOptions

type GetIdentityProvidersOptions struct {
	Name string
}

type Manager

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

func NewManager

func NewManager(metadata api.ClusterMeta, eksAPI awsapi.EKS) Manager

func (*Manager) Associate

func (m *Manager) Associate(ctx context.Context, options AssociateIdentityProvidersOptions) error

func (*Manager) Disassociate

func (m *Manager) Disassociate(ctx context.Context, options DisassociateIdentityProvidersOptions) error

func (*Manager) Get

func (m *Manager) Get(ctx context.Context, options GetIdentityProvidersOptions) ([]Summary, error)

type Summary

type Summary struct {
	Type           api.IdentityProviderType
	Name           string
	ClientID       string
	IssuerURL      string
	Status         string
	Arn            string
	UsernameClaim  *string
	UsernamePrefix *string
	GroupsClaim    *string
	GroupsPrefix   *string
	RequiredClaims map[string]string
	Tags           map[string]string
}

Summary holds the known info about this provider

Jump to

Keyboard shortcuts

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