restful

package
v0.0.0-...-2383c70 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointSet

type EndpointSet struct {
	Total int64                `json:"total"`
	Items []*endpoint.Endpoint `json:"items"`
}
type MenuSet struct {
	Total int64        `json:"total"`
	Items []*view.Menu `json:"items"`
}

type NamespaceSet

type NamespaceSet struct {
	Total int64                  `json:"total"`
	Items []*namespace.Namespace `json:"items"`
}

type PermissionRestfulApiHandler

type PermissionRestfulApiHandler struct {
	ioc.ObjectImpl
	// contains filtered or unexported fields
}

func (*PermissionRestfulApiHandler) Init

func (*PermissionRestfulApiHandler) Name

func (*PermissionRestfulApiHandler) QueryEndpoint

func (h *PermissionRestfulApiHandler) QueryEndpoint(r *restful.Request, w *restful.Response)

func (*PermissionRestfulApiHandler) QueryMenu

func (h *PermissionRestfulApiHandler) QueryMenu(r *restful.Request, w *restful.Response)

func (*PermissionRestfulApiHandler) QueryNamespace

func (h *PermissionRestfulApiHandler) QueryNamespace(r *restful.Request, w *restful.Response)

type PolicyRestfulApiHandler

type PolicyRestfulApiHandler struct {
	ioc.ObjectImpl
	// contains filtered or unexported fields
}

func (*PolicyRestfulApiHandler) CreatePolicy

func (h *PolicyRestfulApiHandler) CreatePolicy(r *restful.Request, w *restful.Response)

func (*PolicyRestfulApiHandler) DeletePolicy

func (h *PolicyRestfulApiHandler) DeletePolicy(r *restful.Request, w *restful.Response)

func (*PolicyRestfulApiHandler) DescribePolicy

func (h *PolicyRestfulApiHandler) DescribePolicy(r *restful.Request, w *restful.Response)

func (*PolicyRestfulApiHandler) Init

func (h *PolicyRestfulApiHandler) Init() error

func (*PolicyRestfulApiHandler) Name

func (h *PolicyRestfulApiHandler) Name() string

func (*PolicyRestfulApiHandler) QueryPolicy

func (h *PolicyRestfulApiHandler) QueryPolicy(r *restful.Request, w *restful.Response)

type PolicySet

type PolicySet struct {
	Total int64            `json:"total"`
	Items []*policy.Policy `json:"items"`
}

Jump to

Keyboard shortcuts

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