identityproviders

package
v0.84.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: Apache-2.0 Imports: 11 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAssociateProvidersTask

func NewAssociateProvidersTask(metadata api.ClusterMeta, providers []api.IdentityProvider, eks eksiface.EKSAPI) 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 eksiface.EKSAPI) Manager

func (*Manager) Associate

func (m *Manager) Associate(options AssociateIdentityProvidersOptions) error

func (*Manager) Disassociate

func (m *Manager) Disassociate(options DisassociateIdentityProvidersOptions) error

func (*Manager) Get

func (m *Manager) Get(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