projectoperator

package
v1.2.0-rc3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type CreateProjectOperator

type CreateProjectOperator struct {
	httpx.MethodPost
	ProjectID  types.SFID `in:"path" name:"projectID"`
	OperatorID types.SFID `in:"path" name:"operatorID"`
}

func (*CreateProjectOperator) Output

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

func (*CreateProjectOperator) Path

func (r *CreateProjectOperator) Path() string

type GetProjectOperator

type GetProjectOperator struct {
	httpx.MethodGet
	ProjectID types.SFID `in:"path" name:"projectID"`
}

func (*GetProjectOperator) Output

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

func (*GetProjectOperator) Path

func (r *GetProjectOperator) Path() string

type RemoveProjectOperator

type RemoveProjectOperator struct {
	httpx.MethodDelete
	ProjectID types.SFID `in:"path" name:"projectID"`
}

func (*RemoveProjectOperator) Output

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

func (*RemoveProjectOperator) Path

func (r *RemoveProjectOperator) Path() string

Jump to

Keyboard shortcuts

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