common

package
v0.0.0-...-534dfd5 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommonClusterConfig

func AddCommonClusterConfig(cs config.ConfigurationSet) error

func AddCommonIdentityConfig

func AddCommonIdentityConfig(cs config.ConfigurationSet) error

AddCommonIdentityConfig will add common identity related config

func IdentityConfig

func IdentityConfig() config.ConfigurationSet

IdentityConfig creates a configset with the common identity config items

Types

type ClusterProviderConfig

type ClusterProviderConfig struct {
	// ClusterId is the id of a cluster. The id should be unique for
	// the cluster provider
	ClusterID *string `json:"cluster-id"`

	// Alias is a friendly name to give to a cluster
	Alias *string `json:"alias"`
}

ClusterProviderConfig represents the base configuration for a cluster provider

type IdentityProviderConfig

type IdentityProviderConfig struct {
	Username    string `json:"username"     validate:"required"`
	Password    string `json:"password"     validate:"required"`
	IdpProtocol string `json:"idp-protocol" validate:"required"`
}

IdentityProviderConfig represents the base configuration for an identity provider.

Jump to

Keyboard shortcuts

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