operator

package
v1.5.5-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Root = kit.NewRouter(httptransport.Group("/operator"))

Functions

This section is empty.

Types

type CreateOperator

type CreateOperator struct {
	httpx.MethodPost
	operator.CreateReq `in:"body"`
}

func (*CreateOperator) Output

func (r *CreateOperator) Output(ctx context.Context) (interface{}, error)

type ListOperator added in v1.2.2

type ListOperator struct {
	httpx.MethodGet
	operator.ListReq
}

func (*ListOperator) Output added in v1.2.2

func (r *ListOperator) Output(ctx context.Context) (interface{}, error)

func (*ListOperator) Path added in v1.2.2

func (r *ListOperator) Path() string

type RemoveOperator

type RemoveOperator struct {
	httpx.MethodDelete
	OperatorID types.SFID `in:"path" name:"operatorID"`
}

func (*RemoveOperator) Output

func (r *RemoveOperator) Output(ctx context.Context) (interface{}, error)

func (*RemoveOperator) Path

func (r *RemoveOperator) Path() string

Jump to

Keyboard shortcuts

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