Documentation ¶
Index ¶
- type Component
- type ComponentConfig
- type Components
- type KeycloakClient
- type KeycloakController
- func (c *KeycloakController) AddCertificate() error
- func (c *KeycloakController) CreateResources(reg, patchReg *regv1.Registry) error
- func (c *KeycloakController) CreateUser(token, user, password string) error
- func (c *KeycloakController) DeleteRealm(namespace string, name string) error
- func (c *KeycloakController) GetAdminToken() (string, error)
- func (c *KeycloakController) GetDockerV2ClientName() string
- func (c *KeycloakController) GetRealmName() string
- type KeycloakTokenResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct { Name string `json:"name,omitempty"` ProviderID string `json:"providerId,omitempty"` ProviderType string `json:"providerType,omitempty"` ParentID string `json:"parentId,omitempty"` ComponentConfig *ComponentConfig `json:"config,omitempty"` SubType string `json:"subType,omitempty"` }
type ComponentConfig ¶
type ComponentConfig struct { Priority []string `json:"priority,omitempty"` Enabled []string `json:"enabled,omitempty"` Active []string `json:"active,omitempty"` Algorithm []string `json:"algorithm,omitempty"` PrivateKey []string `json:"privateKey,omitempty"` Certificate []string `json:"certificate,omitempty"` }
type Components ¶
type Components []Component
type KeycloakClient ¶
type KeycloakClient struct { *cmhttp.HttpClient // contains filtered or unexported fields }
func NewKeycloakClient ¶
func NewKeycloakClient(username, password, realm, service string) *KeycloakClient
func (*KeycloakClient) GetRealm ¶
func (c *KeycloakClient) GetRealm() string
func (*KeycloakClient) GetService ¶
func (c *KeycloakClient) GetService() string
type KeycloakController ¶
type KeycloakController struct {
// contains filtered or unexported fields
}
KeycloakController is ...
func NewKeycloakController ¶
func NewKeycloakController(namespace, name string) *KeycloakController
func (*KeycloakController) AddCertificate ¶
func (c *KeycloakController) AddCertificate() error
func (*KeycloakController) CreateResources ¶ added in v0.3.0
func (c *KeycloakController) CreateResources(reg, patchReg *regv1.Registry) error
CreateResources is ...
func (*KeycloakController) CreateUser ¶
func (c *KeycloakController) CreateUser(token, user, password string) error
CreateUser creates new user
func (*KeycloakController) DeleteRealm ¶
func (c *KeycloakController) DeleteRealm(namespace string, name string) error
DeleteRealm is ...
func (*KeycloakController) GetAdminToken ¶
func (c *KeycloakController) GetAdminToken() (string, error)
func (*KeycloakController) GetDockerV2ClientName ¶
func (c *KeycloakController) GetDockerV2ClientName() string
func (*KeycloakController) GetRealmName ¶
func (c *KeycloakController) GetRealmName() string
type KeycloakTokenResponse ¶
Click to show internal directories.
Click to hide internal directories.