Documentation
¶
Index ¶
- func AuthConfigToMap(auth *uiv1alpha1.AuthConfig) map[string]interface{}
- func BuildAuthConfig(authSpec *uiv1alpha1.AuthConfig) (map[string]interface{}, error)
- func ParseImageName(imageStr string) string
- func ParseImageTag(imageStr string) string
- func ValidateAuthConfig(auth *uiv1alpha1.AuthConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthConfigToMap ¶
func AuthConfigToMap(auth *uiv1alpha1.AuthConfig) map[string]interface{}
AuthConfigToMap converts AuthConfig to map[string]interface{}
func BuildAuthConfig ¶
func BuildAuthConfig(authSpec *uiv1alpha1.AuthConfig) (map[string]interface{}, error)
BuildAuthConfig builds the authentication configuration
func ParseImageName ¶
ParseImageName extracts the image name from a full image string (e.g., "nginx:1.21" -> "nginx")
func ParseImageTag ¶
ParseImageTag extracts the tag from a full image string (e.g., "nginx:1.21" -> "1.21") If no tag is present, returns "latest"
func ValidateAuthConfig ¶
func ValidateAuthConfig(auth *uiv1alpha1.AuthConfig) error
ValidateAuthConfig validates that all required auth fields are present
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.