v1

package
v0.0.0-...-8149b9c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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 GetUser

func GetUser() gin.HandlerFunc

GetUser fetches a specific user from namespace.

func GetUsers

func GetUsers() gin.HandlerFunc

GetUsers fetches all users from 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 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

func SetupRoutes(engine *gin.Engine, tokenProvider auth.TokenProvider, scheme *runtime.Scheme)

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.

Directories

Path Synopsis
doc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL