Documentation ¶
Overview ¶
TODO: Describe package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOperatorConfiguration ¶
func GetOperatorConfiguration() gin.HandlerFunc
GetOperatorConfiguration returns a gin.HandlerFunc that handles GET requests for operator configuration. It checks the access of the user and retrieves the operator configuration based on the cluster ID. If the operator configuration is not found, it returns a 404 error. If the cluster configuration is found, it checks the versions of the tasks and returns the operator configuration.
func GetTaskConfiguration ¶
func GetTaskConfiguration() gin.HandlerFunc
GetTaskConfiguration returns a gin.HandlerFunc that handles GET requests for task configuration. It checks the access of the user and retrieves the task configuration based on the cluster ID and task name. If the task configuration is not found, it returns a 404 error. If the task configuration is found, it returns the task configuration (apicontracts.OperatorJob).
Types ¶
This section is empty.