Documentation ¶
Index ¶
- func CreateKeycloak(kc *v1alpha1.Keycloak) error
- func CreateKeycloakClient(kcc *keycloakv1alpha1.KeycloakClient) (*keycloakv1alpha1.KeycloakClient, error)
- func CreateKeycloakRealm(kcr *keycloakv1alpha1.KeycloakRealm) error
- func CreateLabel(namespace string) map[string]string
- func CreateSecret(secret *v1.Secret) (*v1.Secret, error)
- func DeleteKeycloak(name string) error
- func DeleteKeycloakClient(kcc keycloakv1alpha1.KeycloakClient) error
- func DeleteKeycloakRealm(name string) error
- func DeleteSecret(name string) error
- func GetKeycloak(name string) (*keycloakv1alpha1.Keycloak, error)
- func GetNamespacedKeycloak(namespace string, name string) (*keycloakv1alpha1.Keycloak, error)
- func GetNamespacedKeycloakClient(namespace string, objectName string) (*keycloakv1alpha1.KeycloakClient, error)
- func GetNamespacedKeycloakRealm(namespace string, objectName string) (*keycloakv1alpha1.KeycloakRealm, error)
- func GetSecret(objectName string) (*v1.Secret, error)
- func GetSuccessfulResponseBody(url string) ([]byte, error)
- func ListSecret() (*v1.SecretList, error)
- func MakeAuthenticatedClient(keycloakCR keycloakv1alpha1.Keycloak) (common.KeycloakInterface, error)
- func UpdateKeycloakClient(namespace string, client *keycloakv1alpha1.KeycloakClient) (*keycloakv1alpha1.KeycloakClient, error)
- func WaitForClientToBeFailing(namespace string, name string) error
- func WaitForClientToBeReady(namespace string, name string) error
- func WaitForCondition(c kubernetes.Interface, cond Condition) error
- func WaitForConditionWithClient(keycloakCR keycloakv1alpha1.Keycloak, cond ClientCondition) error
- func WaitForKeycloakToBeReady(namespace string, name string) error
- func WaitForRealmToBeReady(namespace string) error
- func WaitForResponse(url string, condition ResponseCondition) error
- func WaitForSuccessResponse(url string) error
- func WaitForSuccessResponseToContain(url string, expectedString string) error
- type ClientCondition
- type Condition
- type ResponseCondition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKeycloak ¶
func CreateKeycloakClient ¶
func CreateKeycloakClient(kcc *keycloakv1alpha1.KeycloakClient) (*keycloakv1alpha1.KeycloakClient, error)
func CreateKeycloakRealm ¶
func CreateKeycloakRealm(kcr *keycloakv1alpha1.KeycloakRealm) error
func CreateLabel ¶
func DeleteKeycloak ¶
func DeleteKeycloakClient ¶
func DeleteKeycloakClient(kcc keycloakv1alpha1.KeycloakClient) error
func DeleteKeycloakRealm ¶
func DeleteSecret ¶
func GetKeycloak ¶
func GetKeycloak(name string) (*keycloakv1alpha1.Keycloak, error)
func GetNamespacedKeycloak ¶
func GetNamespacedKeycloak(namespace string, name string) (*keycloakv1alpha1.Keycloak, error)
func GetNamespacedKeycloakClient ¶
func GetNamespacedKeycloakClient(namespace string, objectName string) (*keycloakv1alpha1.KeycloakClient, error)
func GetNamespacedKeycloakRealm ¶
func GetNamespacedKeycloakRealm(namespace string, objectName string) (*keycloakv1alpha1.KeycloakRealm, error)
func ListSecret ¶ added in v0.6.0
func ListSecret() (*v1.SecretList, error)
func MakeAuthenticatedClient ¶
func MakeAuthenticatedClient(keycloakCR keycloakv1alpha1.Keycloak) (common.KeycloakInterface, error)
func UpdateKeycloakClient ¶
func UpdateKeycloakClient(namespace string, client *keycloakv1alpha1.KeycloakClient) (*keycloakv1alpha1.KeycloakClient, error)
func WaitForClientToBeReady ¶
func WaitForCondition ¶
func WaitForCondition(c kubernetes.Interface, cond Condition) error
func WaitForConditionWithClient ¶
func WaitForConditionWithClient(keycloakCR keycloakv1alpha1.Keycloak, cond ClientCondition) error
func WaitForRealmToBeReady ¶
func WaitForResponse ¶
func WaitForResponse(url string, condition ResponseCondition) error
func WaitForSuccessResponse ¶
Types ¶
type ClientCondition ¶
type ClientCondition func(authenticatedClient common.KeycloakInterface) error
type Condition ¶
type Condition func(c kubernetes.Interface) error
type ResponseCondition ¶
Click to show internal directories.
Click to hide internal directories.