Documentation ¶
Index ¶
- Variables
- func CreateGithubIDPBuilder(ctx context.Context, state *GithubIdentityProvider) (*cmv1.GithubIdentityProviderBuilder, error)
- func CreateGitlabIDPBuilder(ctx context.Context, state *GitlabIdentityProvider) (*cmv1.GitlabIdentityProviderBuilder, error)
- func CreateGoogleIDPBuilder(ctx context.Context, mappingMethod string, state *GoogleIdentityProvider) (*cmv1.GoogleIdentityProviderBuilder, error)
- func CreateHTPasswdIDPBuilder(ctx context.Context, state *HTPasswdIdentityProvider) *cmv1.HTPasswdIdentityProviderBuilder
- func CreateLDAPIDPBuilder(ctx context.Context, state *LDAPIdentityProvider) (*cmv1.LDAPIdentityProviderBuilder, error)
- func CreateOpenIDIDPBuilder(ctx context.Context, state *OpenIDIdentityProvider) (*cmv1.OpenIDIdentityProviderBuilder, error)
- func GithubSchema() tfsdk.NestedAttributes
- func GithubValidators() []tfsdk.AttributeValidator
- func GitlabSchema() tfsdk.NestedAttributes
- func GitlabValidators() []tfsdk.AttributeValidator
- func GoogleSchema() tfsdk.NestedAttributes
- func GoogleValidators() []tfsdk.AttributeValidator
- func HTPasswdValidators() []tfsdk.AttributeValidator
- func HtpasswdSchema() tfsdk.NestedAttributes
- func LDAPAttributesSchema() tfsdk.NestedAttributes
- func LDAPSchema() tfsdk.NestedAttributes
- func LDAPValidators() []tfsdk.AttributeValidator
- func MappingMethodValidators() []tfsdk.AttributeValidator
- func OpenidSchema() tfsdk.NestedAttributes
- func ValidateHTPasswdPassword(password string) error
- func ValidateHTPasswdUsername(username string) error
- type GithubIdentityProvider
- type GitlabIdentityProvider
- type GoogleIdentityProvider
- type HTPasswdIdentityProvider
- type LDAPIdentityProvider
- type LDAPIdentityProviderAttributes
- type OpenIDIdentityProvider
- type OpenIDIdentityProviderClaims
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultMappingMethod = validMappingMethods[0]
View Source
var LDAPAttrDefaultID []string = []string{"dn"}
View Source
var LDAPAttrDefaultName []string = []string{"cn"}
View Source
var LDAPAttrDefaultPrefferedUsername []string = []string{"uid"}
Functions ¶
func CreateGithubIDPBuilder ¶
func CreateGithubIDPBuilder(ctx context.Context, state *GithubIdentityProvider) (*cmv1.GithubIdentityProviderBuilder, error)
func CreateGitlabIDPBuilder ¶
func CreateGitlabIDPBuilder(ctx context.Context, state *GitlabIdentityProvider) (*cmv1.GitlabIdentityProviderBuilder, error)
func CreateGoogleIDPBuilder ¶
func CreateGoogleIDPBuilder(ctx context.Context, mappingMethod string, state *GoogleIdentityProvider) (*cmv1.GoogleIdentityProviderBuilder, error)
func CreateHTPasswdIDPBuilder ¶
func CreateHTPasswdIDPBuilder(ctx context.Context, state *HTPasswdIdentityProvider) *cmv1.HTPasswdIdentityProviderBuilder
func CreateLDAPIDPBuilder ¶
func CreateLDAPIDPBuilder(ctx context.Context, state *LDAPIdentityProvider) (*cmv1.LDAPIdentityProviderBuilder, error)
func CreateOpenIDIDPBuilder ¶
func CreateOpenIDIDPBuilder(ctx context.Context, state *OpenIDIdentityProvider) (*cmv1.OpenIDIdentityProviderBuilder, error)
func GithubSchema ¶
func GithubSchema() tfsdk.NestedAttributes
func GithubValidators ¶
func GithubValidators() []tfsdk.AttributeValidator
func GitlabSchema ¶
func GitlabSchema() tfsdk.NestedAttributes
func GitlabValidators ¶
func GitlabValidators() []tfsdk.AttributeValidator
func GoogleSchema ¶
func GoogleSchema() tfsdk.NestedAttributes
func GoogleValidators ¶
func GoogleValidators() []tfsdk.AttributeValidator
func HTPasswdValidators ¶ added in v1.2.0
func HTPasswdValidators() []tfsdk.AttributeValidator
func HtpasswdSchema ¶
func HtpasswdSchema() tfsdk.NestedAttributes
func LDAPAttributesSchema ¶
func LDAPAttributesSchema() tfsdk.NestedAttributes
func LDAPSchema ¶
func LDAPSchema() tfsdk.NestedAttributes
func LDAPValidators ¶
func LDAPValidators() []tfsdk.AttributeValidator
func MappingMethodValidators ¶
func MappingMethodValidators() []tfsdk.AttributeValidator
func OpenidSchema ¶
func OpenidSchema() tfsdk.NestedAttributes
func ValidateHTPasswdPassword ¶ added in v1.2.0
func ValidateHTPasswdUsername ¶ added in v1.2.0
Types ¶
type GithubIdentityProvider ¶
type GitlabIdentityProvider ¶
type GoogleIdentityProvider ¶
type LDAPIdentityProvider ¶
type OpenIDIdentityProvider ¶
type OpenIDIdentityProvider struct { CA types.String `tfsdk:"ca"` Claims *OpenIDIdentityProviderClaims `tfsdk:"claims"` ClientID types.String `tfsdk:"client_id"` ClientSecret types.String `tfsdk:"client_secret"` ExtraScopes types.List `tfsdk:"extra_scopes"` ExtraAuthorizeParameters map[string]string `tfsdk:"extra_authorize_parameters"` Issuer types.String `tfsdk:"issuer"` }
Click to show internal directories.
Click to hide internal directories.