Documentation
¶
Index ¶
- func CreateCapp() gin.HandlerFunc
- func CreateNamespace() gin.HandlerFunc
- func CreateSecret() gin.HandlerFunc
- func CreateUser() gin.HandlerFunc
- func DeleteCapp() gin.HandlerFunc
- func DeleteNamespace() gin.HandlerFunc
- func DeleteSecret() gin.HandlerFunc
- func DeleteUser() gin.HandlerFunc
- func EditCappState() gin.HandlerFunc
- func GetCapp() gin.HandlerFunc
- func GetCappLogs() gin.HandlerFunc
- func GetCappRevision() gin.HandlerFunc
- func GetCappRevisions() gin.HandlerFunc
- func GetCappState() gin.HandlerFunc
- func GetCapps() gin.HandlerFunc
- func GetConfigMap() gin.HandlerFunc
- func GetContainers() gin.HandlerFunc
- func GetNamespace() gin.HandlerFunc
- func GetNamespaces() gin.HandlerFunc
- func GetPodLogs() gin.HandlerFunc
- func GetPods() gin.HandlerFunc
- func GetSecret() gin.HandlerFunc
- func GetSecrets() gin.HandlerFunc
- func GetUser() gin.HandlerFunc
- func GetUsers() gin.HandlerFunc
- func Login(tokenProvider auth.TokenProvider) gin.HandlerFunc
- func SetupRoutes(engine *gin.Engine, tokenProvider auth.TokenProvider, scheme *runtime.Scheme)
- func UpdateCapp() gin.HandlerFunc
- func UpdateSecret() gin.HandlerFunc
- func UpdateUser() gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCapp ¶
func CreateCapp() gin.HandlerFunc
func CreateNamespace ¶
func CreateNamespace() gin.HandlerFunc
func CreateSecret ¶
func CreateSecret() gin.HandlerFunc
CreateSecret creates a new secret in a specific namespace.
func CreateUser ¶
func CreateUser() gin.HandlerFunc
CreateUser creates a specific user in a specific namespace.
func DeleteCapp ¶
func DeleteCapp() gin.HandlerFunc
func DeleteNamespace ¶
func DeleteNamespace() gin.HandlerFunc
func DeleteSecret ¶
func DeleteSecret() gin.HandlerFunc
DeleteSecret deletes a specific secret in a specific namespace.
func DeleteUser ¶
func DeleteUser() gin.HandlerFunc
DeleteUser deletes a specific user from namespace.
func EditCappState ¶
func EditCappState() gin.HandlerFunc
func GetCapp ¶
func GetCapp() gin.HandlerFunc
func GetCappLogs ¶
func GetCappLogs() gin.HandlerFunc
GetCappLogs returns a handler function that fetches logs for a specified Capp.
func GetCappRevision ¶
func GetCappRevision() gin.HandlerFunc
func GetCappRevisions ¶
func GetCappRevisions() gin.HandlerFunc
func GetCappState ¶
func GetCappState() gin.HandlerFunc
func GetCapps ¶
func GetCapps() gin.HandlerFunc
func GetConfigMap ¶
func GetConfigMap() gin.HandlerFunc
GetConfigMap gets a specific config map from the specified namespace.
func GetContainers ¶
func GetContainers() gin.HandlerFunc
GetContainers returns a Gin handler function for retrieving containers information.
func GetNamespace ¶
func GetNamespace() gin.HandlerFunc
func GetNamespaces ¶
func GetNamespaces() gin.HandlerFunc
func GetPodLogs ¶
func GetPodLogs() gin.HandlerFunc
GetPodLogs returns a handler function that fetches logs for a specified pod and container.
func GetPods ¶
func GetPods() gin.HandlerFunc
GetPods returns a Gin handler function for retrieving pods of a specific capp.
func GetSecret ¶
func GetSecret() gin.HandlerFunc
GetSecret gets a specific secret from a specific namespace.
func GetSecrets ¶
func GetSecrets() gin.HandlerFunc
GetSecrets gets all secrets in a specific namespace.
func Login ¶
func Login(tokenProvider auth.TokenProvider) gin.HandlerFunc
Login handles user authentication and issues a token on successful login. If there's an error during authentication, it responds with an appropriate error message.
func SetupRoutes ¶
func UpdateCapp ¶
func UpdateCapp() gin.HandlerFunc
func UpdateSecret ¶
func UpdateSecret() gin.HandlerFunc
UpdateSecret updates a specific secret in a specific namespace.
func UpdateUser ¶
func UpdateUser() gin.HandlerFunc
UpdateUser updates a specific user in a specific namespace.
Types ¶
This section is empty.