Documentation
¶
Index ¶
- Variables
- func AdditionalLabels(namePrefix string, additionalLabels map[string]string) map[string]string
- func ClientSecretResource(namespace string, namePrefix string, existingClientSecret string, ...) *corev1.Secret
- func Configure(ctx context.Context, clientset kubernetes.Interface, options Options) error
- func Deploy(ctx context.Context, clientset kubernetes.Interface, options Options) error
- func DexConnectorsToDexTypeConnectors(conns []kotsv1beta1.DexConnector) ([]dextypes.Connector, error)
- func GetClientSecret(ctx context.Context, clientset kubernetes.Interface, ...) (string, error)
- func IsEnabled(identitySpec *kotsv1beta1.Identity, identityConfig *kotsv1beta1.IdentityConfig) bool
- func Render(ctx context.Context, options Options) (map[string][]byte, error)
- func Undeploy(ctx context.Context, clientset kubernetes.Interface, ...) error
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var (
KotsIdentityLabelKey = "kots.io/identity"
)
Functions ¶
func AdditionalLabels ¶
func ClientSecretResource ¶
func DexConnectorsToDexTypeConnectors ¶
func DexConnectorsToDexTypeConnectors(conns []kotsv1beta1.DexConnector) ([]dextypes.Connector, error)
func GetClientSecret ¶
func IsEnabled ¶
func IsEnabled(identitySpec *kotsv1beta1.Identity, identityConfig *kotsv1beta1.IdentityConfig) bool
Types ¶
type Options ¶
type Options struct { NamePrefix string Namespace string IdentitySpec kotsv1beta1.IdentitySpec IdentityConfigSpec kotsv1beta1.IdentityConfigSpec IsOpenShift bool ImageRewriteFn kotsadmversion.ImageRewriteFunc ProxyEnv map[string]string AdditionalLabels map[string]string Builder *template.Builder }
Click to show internal directories.
Click to hide internal directories.