Documentation ¶
Index ¶
- Variables
- func GetWeb(c *providers.Provider) (providers.ClowderProvider, error)
- func NewLocalWebProvider(p *providers.Provider) (providers.ClowderProvider, error)
- func NewWebProvider(p *providers.Provider) (providers.ClowderProvider, error)
- type AuthStruct
- type Client
- type ClientResponse
- type KeyCloakClient
- type KeycloakConfig
- type Realm
- type RealmResponse
- type User
- type UserResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var CoreService = rc.NewMultiResourceIdent(ProvName, "core_service", &core.Service{})
CoreService is the service for the apps deployments.
View Source
var ProvName = "web"
ProvName sets the provider name identifier
View Source
var WebBOPDeployment = rc.NewSingleResourceIdent(ProvName, "web_bop_deployment", &apps.Deployment{})
WebBOPDeployment is the mocked bop deployment
View Source
var WebBOPIngress = rc.NewSingleResourceIdent(ProvName, "web_bop_ingress", &networking.Ingress{})
WebKeycloakIngress is the mocked bop ingress
View Source
var WebBOPService = rc.NewSingleResourceIdent(ProvName, "web_bop_service", &core.Service{})
WebKeycloakService is the mocked keycloak deployment
View Source
var WebIngress = rc.NewMultiResourceIdent(ProvName, "web_ingress", &networking.Ingress{})
WebIngress is the mocked secret config
View Source
var WebKeycloakDeployment = rc.NewSingleResourceIdent(ProvName, "web_keycloak_deployment", &apps.Deployment{}, rc.ResourceOptions{WriteNow: true})
WebKeycloakDeployment is the mocked keycloak deployment
View Source
var WebKeycloakIngress = rc.NewSingleResourceIdent(ProvName, "web_keycloak_ingress", &networking.Ingress{})
WebKeycloakIngress is the keycloak ingress
View Source
var WebKeycloakSecret = rc.NewSingleResourceIdent(ProvName, "web_keycloak_secret", &core.Secret{}, rc.ResourceOptions{WriteNow: true})
WebKeycloakSecret is the mocked secret config
View Source
var WebKeycloakService = rc.NewSingleResourceIdent(ProvName, "web_keycloak_service", &core.Service{}, rc.ResourceOptions{WriteNow: true})
WebKeycloakService is the mocked keycloak deployment
View Source
var WebSecret = rc.NewMultiResourceIdent(ProvName, "web_secret", &core.Secret{})
WebSecret is the mocked secret config
Functions ¶
func GetWeb ¶
func GetWeb(c *providers.Provider) (providers.ClowderProvider, error)
GetEnd returns the correct end provider.
func NewLocalWebProvider ¶ added in v0.21.0
func NewLocalWebProvider(p *providers.Provider) (providers.ClowderProvider, error)
func NewWebProvider ¶
func NewWebProvider(p *providers.Provider) (providers.ClowderProvider, error)
Types ¶
type AuthStruct ¶ added in v0.21.0
type AuthStruct struct {
AccessToken string `json:"access_token"`
}
type ClientResponse ¶ added in v0.21.0
type ClientResponse []Client
type KeyCloakClient ¶ added in v0.21.0
type KeyCloakClient struct { BaseURL string Username string Password string AccessToken string Ctx context.Context Log logr.Logger }
func NewKeyCloakClient ¶ added in v0.21.0
type KeycloakConfig ¶ added in v0.21.0
type RealmResponse ¶ added in v0.21.0
type RealmResponse []Realm
type UserResponse ¶ added in v0.21.0
type UserResponse []User
Click to show internal directories.
Click to hide internal directories.