controllers

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AclRoleController

type AclRoleController struct {
	raiden.ControllerBase
	Http    string `path:"/acl/roles" type:"custom"`
	Payload *AclRoleRequest
	Result  AclRoleResponse
}

func (*AclRoleController) Get

func (c *AclRoleController) Get(ctx raiden.Context) error

type AclRoleItemResponse

type AclRoleItemResponse struct {
	Name         string                `json:"name"`
	InheritRoles []AclRoleItemResponse `json:"inherit_roles"`
}

type AclRoleRequest

type AclRoleRequest struct{}

type AclRoleResponse

type AclRoleResponse []AclRoleItemResponse

type AclUserPolicyController

type AclUserPolicyController struct {
	raiden.ControllerBase
	Http    string `path:"/acl/user/policies" type:"custom"`
	Payload *AclUserPolicyRequest
	Result  AclUserPolicyResponse
}

func (*AclUserPolicyController) Get

type AclUserPolicyRequest

type AclUserPolicyRequest struct{}

type AclUserPolicyResponse

type AclUserPolicyResponse []string

type AclUserRoleController

type AclUserRoleController struct {
	raiden.ControllerBase
	Http    string `path:"/acl/user/role" type:"custom"`
	Payload *AclUserRoleRequest
	Result  AclUserRoleResponse
}

func (*AclUserRoleController) Patch

func (c *AclUserRoleController) Patch(ctx raiden.Context) error

type AclUserRoleRequest

type AclUserRoleRequest struct {
	UserUuid string `json:"user_uuid" validate:"requiredForMethod=Patch"`
	Role     string `json:"role" validate:"requiredForMethod=Patch"`
}

type AclUserRoleResponse

type AclUserRoleResponse struct {
	Message string `json:"message"`
}

type StateReadyController

type StateReadyController struct {
	raiden.ControllerBase
	Http    string `path:"/state/ready" type:"custom"`
	Payload *StateReadyRequest
	Result  StateReadyResponse
}

func (*StateReadyController) Post

type StateReadyRequest

type StateReadyRequest struct {
}

type StateReadyResponse

type StateReadyResponse struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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