Documentation ¶
Index ¶
- func CreateCapp() gin.HandlerFunc
- func CreateNamespace() gin.HandlerFunc
- func CreateSecret() gin.HandlerFunc
- func CreateServiceAccount() gin.HandlerFunc
- func CreateToken() gin.HandlerFunc
- func CreateUser() gin.HandlerFunc
- func DeleteCapp() gin.HandlerFunc
- func DeleteNamespace() gin.HandlerFunc
- func DeleteSecret() gin.HandlerFunc
- func DeleteServiceAccount() gin.HandlerFunc
- func DeleteUser() gin.HandlerFunc
- func EditCappState() gin.HandlerFunc
- func GetCapp() gin.HandlerFunc
- func GetCappDNS() 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 GetNamespace() gin.HandlerFunc
- func GetNamespaces() gin.HandlerFunc
- func GetPodLogs() gin.HandlerFunc
- func GetPods() gin.HandlerFunc
- func GetPodsContainers() gin.HandlerFunc
- func GetSecret() gin.HandlerFunc
- func GetSecrets() gin.HandlerFunc
- func GetServiceAccount() gin.HandlerFunc
- func GetServiceAccounts() gin.HandlerFunc
- func GetToken() gin.HandlerFunc
- func GetUser() gin.HandlerFunc
- func GetUsers() gin.HandlerFunc
- func Login(tokenProvider auth.TokenProvider) gin.HandlerFunc
- func RevokeToken() gin.HandlerFunc
- func ServeTerminal() gin.HandlerFunc
- func SetupRoutes(engine *gin.Engine, tokenProvider auth.TokenProvider, scheme *runtime.Scheme)
- func StartTerminal() gin.HandlerFunc
- 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 CreateServiceAccount ¶
func CreateServiceAccount() gin.HandlerFunc
CreateServiceAccount returns a Gin handler function for creating a service account.
func CreateToken ¶
func CreateToken() gin.HandlerFunc
CreateToken returns a Gin handler function for creating a service account token.
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 DeleteServiceAccount ¶
func DeleteServiceAccount() gin.HandlerFunc
DeleteServiceAccount returns a Gin handler function for deleting a service account.
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 GetCappDNS ¶
func GetCappDNS() 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 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 GetPodsContainers ¶
func GetPodsContainers() gin.HandlerFunc
GetPodsContainers returns a Gin handler function for retrieving containers information.
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 GetServiceAccount ¶
func GetServiceAccount() gin.HandlerFunc
GetServiceAccount returns a Gin handler function for retrieving a specific service account from a namespace.
func GetServiceAccounts ¶
func GetServiceAccounts() gin.HandlerFunc
GetServiceAccounts returns a Gin handler function for retrieving service accounts in a namespace.
func GetToken ¶
func GetToken() gin.HandlerFunc
GetToken returns a Gin handler function for retrieving token of a specific service account.
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 RevokeToken ¶
func RevokeToken() gin.HandlerFunc
RevokeToken returns a Gin handler function for revoking the tokens for a service account.
func ServeTerminal ¶
func ServeTerminal() gin.HandlerFunc
func SetupRoutes ¶
SetupRoutes initializes the API routes for version 1.
func StartTerminal ¶
func StartTerminal() gin.HandlerFunc
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.