Documentation ¶
Index ¶
- Constants
- Variables
- func Configure(ctx context.Context, clientset kubernetes.Interface, namespace string, ...) error
- func Deploy(ctx context.Context, clientset kubernetes.Interface, namespace string, ...) error
- func DexCallbackURL(identityConfigSpec kotsv1beta1.IdentityConfigSpec) string
- func DexIssuerURL(identityConfigSpec kotsv1beta1.IdentityConfigSpec) string
- func GetConfig(ctx context.Context, namespace string) (*kotsv1beta1.IdentityConfig, error)
- func GetKotsadmOAuth2Config(ctx context.Context, clientset kubernetes.Interface, namespace string, ...) (*oauth2.Config, error)
- func GetKotsadmOIDCProvider(ctx context.Context, clientset kubernetes.Interface, namespace string) (*oidc.Provider, error)
- func SetConfig(ctx context.Context, namespace string, ...) error
- func Undeploy(ctx context.Context, clientset kubernetes.Interface, namespace string) error
- func ValidateConfig(ctx context.Context, namespace string, ...) error
- func ValidateConnection(ctx context.Context, namespace string, ...) error
- type ErrorConnection
Constants ¶
View Source
const KotsFaviconBase64 = "" /* 2248-byte string literal not displayed */
View Source
const KotsLogoBase64 = "" /* 8256-byte string literal not displayed */
View Source
const KotsLogoURL = "" /* 8278-byte string literal not displayed */
View Source
const KotsStyleCSSBase64 = "" /* 14384-byte string literal not displayed */
View Source
const (
KotsadmNamePrefix = "kotsadm"
)
View Source
const (
WildcardGroupID = "*"
)
Variables ¶
View Source
var ( ConfigConfigMapName = "kotsadm-identity-config" ConfigSecretName = "kotsadm-identity-secret" ConfigSecretKeyName = "dexConnectors" )
View Source
var ( DefaultGroups = []kotsv1beta1.IdentityConfigGroup{DefaultGroup} DefaultGroup = kotsv1beta1.IdentityConfigGroup{ ID: WildcardGroupID, RoleIDs: []string{rbac.ClusterAdminRole.ID}, } )
Functions ¶
func Configure ¶
func Configure(ctx context.Context, clientset kubernetes.Interface, namespace string, identityConfig kotsv1beta1.IdentityConfig, ingressConfig kotsv1beta1.IngressConfig, proxyEnv map[string]string, applyAppBranding bool) error
func Deploy ¶
func Deploy(ctx context.Context, clientset kubernetes.Interface, namespace string, identityConfig kotsv1beta1.IdentityConfig, ingressConfig kotsv1beta1.IngressConfig, registryOptions *kotsadmtypes.KotsadmOptions, proxyEnv map[string]string, applyAppBranding bool) error
func DexCallbackURL ¶
func DexCallbackURL(identityConfigSpec kotsv1beta1.IdentityConfigSpec) string
func DexIssuerURL ¶
func DexIssuerURL(identityConfigSpec kotsv1beta1.IdentityConfigSpec) string
func GetConfig ¶
func GetConfig(ctx context.Context, namespace string) (*kotsv1beta1.IdentityConfig, error)
func GetKotsadmOAuth2Config ¶
func GetKotsadmOIDCProvider ¶
func SetConfig ¶
func SetConfig(ctx context.Context, namespace string, identityConfig kotsv1beta1.IdentityConfig) error
func ValidateConfig ¶
func ValidateConfig(ctx context.Context, namespace string, identityConfig kotsv1beta1.IdentityConfig, ingressConfig kotsv1beta1.IngressConfig) error
func ValidateConnection ¶
func ValidateConnection(ctx context.Context, namespace string, identityConfig kotsv1beta1.IdentityConfig, ingressConfig kotsv1beta1.IngressConfig) error
Types ¶
type ErrorConnection ¶
type ErrorConnection struct {
Message string
}
func (*ErrorConnection) Error ¶
func (e *ErrorConnection) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.