identityprovider

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package identityprovider provides a plan to manage EKS OIDC identity provider association.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlan

func NewPlan(clusterName string, currentIdentityProvider, desiredIdentityProvider *OidcIdentityProviderConfig, client eksiface.EKSAPI, log logger.Wrapper) planner.Plan

NewPlan creates plan to manage EKS OIDC identity provider association.

Types

type AssociateIdentityProviderProcedure

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

AssociateIdentityProviderProcedure associates the identity provider.

func (*AssociateIdentityProviderProcedure) Do

Do associates the identity provider.

func (*AssociateIdentityProviderProcedure) Name

Name returns the name of the procedure.

type DisassociateIdentityProviderConfig

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

DisassociateIdentityProviderConfig disassociates the identity provider.

func (*DisassociateIdentityProviderConfig) Do

Do disassociates the identity provider.

func (*DisassociateIdentityProviderConfig) Name

Name returns the name of the procedure.

type OidcIdentityProviderConfig

type OidcIdentityProviderConfig struct {
	ClientID                   string
	GroupsClaim                string
	GroupsPrefix               string
	IdentityProviderConfigArn  string
	IdentityProviderConfigName string
	IssuerURL                  string
	RequiredClaims             map[string]string
	Status                     string
	Tags                       infrav1.Tags
	UsernameClaim              string
	UsernamePrefix             string
}

OidcIdentityProviderConfig represents a normalized version of the configuration for an OpenID Connect (OIDC) identity provider configuration. To reconcile the config we are going to get the version from EKS and AWSManagedControlPlane and will need to have one consistent version of string values from each API.

func (*OidcIdentityProviderConfig) IsEqual

IsEqual returns true if the OidcIdentityProviderConfig is equal to the supplied one.

type RemoveIdentityProviderTagsProcedure

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

RemoveIdentityProviderTagsProcedure removes the tags from the identity provider.

func (*RemoveIdentityProviderTagsProcedure) Do

Do removes the tags from the identity provider.

func (*RemoveIdentityProviderTagsProcedure) Name

Name returns the name of the procedure.

type UpdatedIdentityProviderTagsProcedure

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

UpdatedIdentityProviderTagsProcedure updates the tags for the identity provider.

func (*UpdatedIdentityProviderTagsProcedure) Do

Do updates the tags for the identity provider.

func (*UpdatedIdentityProviderTagsProcedure) Name

Name returns the name of the procedure.

type WaitIdentityProviderAssociatedProcedure

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

WaitIdentityProviderAssociatedProcedure waits for the identity provider to be associated.

func (*WaitIdentityProviderAssociatedProcedure) Do

Do waits for the identity provider to be associated.

func (*WaitIdentityProviderAssociatedProcedure) Name

Name returns the name of the procedure.

Jump to

Keyboard shortcuts

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