role

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionGetRequest

type CollectionGetRequest struct {
	model.RoleQueryInputs `path:",inline" query:",inline"`

	runtime.RequestCollection[
		predicate.Role, role.OrderOption,
	] `query:",inline"`

	Kind string `query:"kind,omitempty"`
}

func (*CollectionGetRequest) Validate

func (r *CollectionGetRequest) Validate() error

type CollectionGetResponse

type CollectionGetResponse = []*model.RoleOutput

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func Handle

func Handle(mc model.ClientSet) Handler

func (Handler) CollectionGet

func (h Handler) CollectionGet(req CollectionGetRequest) (CollectionGetResponse, int, error)

func (Handler) Kind

func (Handler) Kind() string

Jump to

Keyboard shortcuts

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