auth

package
v0.0.0-...-e7c744b Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterAuthService

type ClusterAuthService interface {
	RegisterCluster(context.Context, string, uint, string) error
	UnRegisterCluster(context.Context, string) error
	GetClusterConfig(context.Context, uint) (*k8sClientApi.Config, error)

	ClusterClientSecretGetter
}

func NewDexClusterAuthService

func NewDexClusterAuthService(secretStore *clustersecret.Store) (ClusterAuthService, error)

type ClusterClientSecret

type ClusterClientSecret struct {
	ClientID     string
	ClientSecret string
}

type ClusterClientSecretGetter

type ClusterClientSecretGetter interface {
	GetClusterClientSecret(context.Context, uint) (ClusterClientSecret, error)
}

Jump to

Keyboard shortcuts

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