group

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

+gengo:operator:register=R +gengo:operator:tag=group

Package group GENERATED BY gengo:operator DON'T EDIT THIS FILE

Package group GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type BindGroupEnvCluster

type BindGroupEnvCluster struct {
	courierhttp.MethodPut `path:"/clusters/:clusterID"`
	ClusterID             cluster.ID `name:"clusterID" in:"path"`
}

func (BindGroupEnvCluster) MiddleOperators

func (BindGroupEnvCluster) MiddleOperators() courier.MiddleOperators

func (*BindGroupEnvCluster) Output

func (p *BindGroupEnvCluster) Output(ctx context.Context) (any, error)

func (*BindGroupEnvCluster) ResponseContent

func (*BindGroupEnvCluster) ResponseContent() any

func (BindGroupEnvCluster) RuntimeDoc

func (v BindGroupEnvCluster) RuntimeDoc(names ...string) ([]string, bool)

type CreateGroupRobot

type CreateGroupRobot struct {
	courierhttp.MethodPut `path:"/robots"`
	account.RobotInfo     `in:"body"`
}

func (CreateGroupRobot) MiddleOperators

func (CreateGroupRobot) MiddleOperators() courier.MiddleOperators

func (*CreateGroupRobot) Output

func (p *CreateGroupRobot) Output(ctx context.Context) (any, error)

func (*CreateGroupRobot) ResponseContent

func (*CreateGroupRobot) ResponseContent() any

func (CreateGroupRobot) RuntimeDoc

func (v CreateGroupRobot) RuntimeDoc(names ...string) ([]string, bool)

type DeleteGroup added in v0.4.0

type DeleteGroup struct {
	courierhttp.MethodDelete `path:"/groups/:groupName"`
	GroupName                string `name:"groupName" in:"path"`
}

func (DeleteGroup) MiddleOperators added in v0.4.0

func (DeleteGroup) MiddleOperators() courier.MiddleOperators

func (*DeleteGroup) Output added in v0.4.0

func (p *DeleteGroup) Output(ctx context.Context) (any, error)

func (*DeleteGroup) ResponseContent added in v0.4.0

func (*DeleteGroup) ResponseContent() any

func (DeleteGroup) RuntimeDoc added in v0.4.0

func (v DeleteGroup) RuntimeDoc(names ...string) ([]string, bool)

type DeleteGroupAccount

type DeleteGroupAccount struct {
	courierhttp.MethodDelete `path:"/accounts/:accountID"`
	AccountID                account.ID `name:"accountID" in:"path"`
}

func (DeleteGroupAccount) MiddleOperators

func (DeleteGroupAccount) MiddleOperators() courier.MiddleOperators

func (*DeleteGroupAccount) Output

func (p *DeleteGroupAccount) Output(ctx context.Context) (any, error)

func (*DeleteGroupAccount) ResponseContent

func (*DeleteGroupAccount) ResponseContent() any

func (DeleteGroupAccount) RuntimeDoc

func (v DeleteGroupAccount) RuntimeDoc(names ...string) ([]string, bool)

type DeleteGroupEnv added in v0.4.0

type DeleteGroupEnv struct {
	courierhttp.MethodDelete `path:"/envs/:envName"`
	EnvName                  string `name:"envName" in:"path"`
}

func (DeleteGroupEnv) MiddleOperators added in v0.4.0

func (DeleteGroupEnv) MiddleOperators() courier.MiddleOperators

func (*DeleteGroupEnv) Output added in v0.4.0

func (p *DeleteGroupEnv) Output(ctx context.Context) (any, error)

func (*DeleteGroupEnv) ResponseContent added in v0.4.0

func (*DeleteGroupEnv) ResponseContent() any

func (DeleteGroupEnv) RuntimeDoc added in v0.4.0

func (v DeleteGroupEnv) RuntimeDoc(names ...string) ([]string, bool)

type DeleteGroupEnvDeployment added in v0.4.0

type DeleteGroupEnvDeployment struct {
	courierhttp.MethodDelete `path:"/deployments/:deploymentName"`
	DeploymentName           string `name:"deploymentName" in:"path"`
}

func (DeleteGroupEnvDeployment) MiddleOperators added in v0.4.0

func (*DeleteGroupEnvDeployment) Output added in v0.4.0

func (p *DeleteGroupEnvDeployment) Output(ctx context.Context) (any, error)

func (*DeleteGroupEnvDeployment) ResponseContent added in v0.4.0

func (*DeleteGroupEnvDeployment) ResponseContent() any

func (DeleteGroupEnvDeployment) RuntimeDoc added in v0.4.0

func (v DeleteGroupEnvDeployment) RuntimeDoc(names ...string) ([]string, bool)

type GetGroup

type GetGroup struct {
	courierhttp.MethodGet `path:"/groups/:groupName"`
	GroupName             string `name:"groupName" in:"path"`
}

func (*GetGroup) Output

func (p *GetGroup) Output(ctx context.Context) (any, error)

func (*GetGroup) ResponseContent

func (*GetGroup) ResponseContent() any

func (GetGroup) RuntimeDoc

func (v GetGroup) RuntimeDoc(names ...string) ([]string, bool)

type ListGroup

type ListGroup struct {
	courierhttp.MethodGet `path:"/groups"`
}

func (*ListGroup) Output

func (p *ListGroup) Output(ctx context.Context) (any, error)

func (*ListGroup) ResponseContent

func (*ListGroup) ResponseContent() any

func (ListGroup) RuntimeDoc

func (v ListGroup) RuntimeDoc(names ...string) ([]string, bool)

type ListGroupAccount

type ListGroupAccount struct {
	courierhttp.MethodGet `path:"/accounts"`
	group.UserQueryParams
}

func (ListGroupAccount) MiddleOperators

func (ListGroupAccount) MiddleOperators() courier.MiddleOperators

func (*ListGroupAccount) Output

func (p *ListGroupAccount) Output(ctx context.Context) (any, error)

func (*ListGroupAccount) ResponseContent

func (*ListGroupAccount) ResponseContent() any

func (ListGroupAccount) RuntimeDoc

func (v ListGroupAccount) RuntimeDoc(names ...string) ([]string, bool)

type ListGroupEnv

type ListGroupEnv struct {
	courierhttp.MethodGet `path:"/envs"`
}

func (ListGroupEnv) MiddleOperators

func (ListGroupEnv) MiddleOperators() courier.MiddleOperators

func (*ListGroupEnv) Output

func (p *ListGroupEnv) Output(ctx context.Context) (any, error)

func (*ListGroupEnv) ResponseContent

func (*ListGroupEnv) ResponseContent() any

func (ListGroupEnv) RuntimeDoc

func (v ListGroupEnv) RuntimeDoc(names ...string) ([]string, bool)

type ListGroupEnvClusterDeployments

type ListGroupEnvClusterDeployments struct {
	courierhttp.MethodGet `path:"/cluster/deployments"`
}

func (ListGroupEnvClusterDeployments) MiddleOperators

func (*ListGroupEnvClusterDeployments) Output

func (*ListGroupEnvClusterDeployments) ResponseContent

func (*ListGroupEnvClusterDeployments) ResponseContent() any

func (*ListGroupEnvClusterDeployments) ResponseErrors

func (*ListGroupEnvClusterDeployments) ResponseErrors() []error

func (ListGroupEnvClusterDeployments) RuntimeDoc

func (v ListGroupEnvClusterDeployments) RuntimeDoc(names ...string) ([]string, bool)

type ListGroupEnvDeployment

type ListGroupEnvDeployment struct {
	courierhttp.MethodGet `path:"/deployments"`
	Raw                   bool `name:"raw,omitempty" in:"query"`
	datatypes.Pager
}

func (ListGroupEnvDeployment) MiddleOperators

func (*ListGroupEnvDeployment) Output

func (p *ListGroupEnvDeployment) Output(ctx context.Context) (any, error)

func (*ListGroupEnvDeployment) ResponseContent

func (*ListGroupEnvDeployment) ResponseContent() any

func (ListGroupEnvDeployment) RuntimeDoc

func (v ListGroupEnvDeployment) RuntimeDoc(names ...string) ([]string, bool)

type ListGroupEnvDeploymentHistory added in v0.3.0

type ListGroupEnvDeploymentHistory struct {
	courierhttp.MethodGet `path:"/deployments/:deploymentID/histories"`
	DeploymentID          group.DeploymentID `in:"path" name:"deploymentID"`
	datatypes.Pager
}

func (ListGroupEnvDeploymentHistory) MiddleOperators added in v0.3.0

func (*ListGroupEnvDeploymentHistory) Output added in v0.3.0

func (*ListGroupEnvDeploymentHistory) ResponseContent added in v0.3.0

func (*ListGroupEnvDeploymentHistory) ResponseContent() any

func (ListGroupEnvDeploymentHistory) RuntimeDoc added in v0.3.0

func (v ListGroupEnvDeploymentHistory) RuntimeDoc(names ...string) ([]string, bool)

type ListGroupRobot

type ListGroupRobot struct {
	courierhttp.MethodGet `path:"/robots"`
	group.RobotQueryParams
}

func (ListGroupRobot) MiddleOperators

func (ListGroupRobot) MiddleOperators() courier.MiddleOperators

func (*ListGroupRobot) Output

func (p *ListGroupRobot) Output(ctx context.Context) (any, error)

func (*ListGroupRobot) ResponseContent

func (*ListGroupRobot) ResponseContent() any

func (ListGroupRobot) RuntimeDoc

func (v ListGroupRobot) RuntimeDoc(names ...string) ([]string, bool)

type PutGroup

type PutGroup struct {
	courierhttp.MethodPut `path:"/groups/:groupName"`
	GroupName             string     `name:"groupName" in:"path"`
	Info                  group.Info `in:"body"`
}

func (PutGroup) MiddleOperators

func (PutGroup) MiddleOperators() courier.MiddleOperators

func (*PutGroup) Output

func (p *PutGroup) Output(ctx context.Context) (any, error)

func (*PutGroup) ResponseContent

func (*PutGroup) ResponseContent() any

func (PutGroup) RuntimeDoc

func (v PutGroup) RuntimeDoc(names ...string) ([]string, bool)

type PutGroupAccount

type PutGroupAccount struct {
	courierhttp.MethodPut `path:"/accounts/:accountID"`
	AccountID             account.ID `name:"accountID" in:"path"`
	group.RoleInfo        `in:"body"`
}

func (PutGroupAccount) MiddleOperators

func (PutGroupAccount) MiddleOperators() courier.MiddleOperators

func (*PutGroupAccount) Output

func (p *PutGroupAccount) Output(ctx context.Context) (any, error)

func (*PutGroupAccount) ResponseContent

func (*PutGroupAccount) ResponseContent() any

func (PutGroupAccount) RuntimeDoc

func (v PutGroupAccount) RuntimeDoc(names ...string) ([]string, bool)

type PutGroupEnv

type PutGroupEnv struct {
	courierhttp.MethodPut `path:"/envs/:envName"`
	EnvName               string        `name:"envName" in:"path"`
	Info                  group.EnvInfo ` in:"body"`
}

func (PutGroupEnv) MiddleOperators

func (PutGroupEnv) MiddleOperators() courier.MiddleOperators

func (*PutGroupEnv) Output

func (p *PutGroupEnv) Output(ctx context.Context) (any, error)

func (*PutGroupEnv) ResponseContent

func (*PutGroupEnv) ResponseContent() any

func (PutGroupEnv) RuntimeDoc

func (v PutGroupEnv) RuntimeDoc(names ...string) ([]string, bool)

type PutGroupEnvDeployment

type PutGroupEnvDeployment struct {
	courierhttp.MethodPut `path:"/deployments"`
	KubePkg               *v1alpha1.KubePkg `in:"body"`
}

func (PutGroupEnvDeployment) MiddleOperators

func (PutGroupEnvDeployment) MiddleOperators() courier.MiddleOperators

func (*PutGroupEnvDeployment) Output

func (p *PutGroupEnvDeployment) Output(ctx context.Context) (any, error)

func (*PutGroupEnvDeployment) ResponseContent

func (*PutGroupEnvDeployment) ResponseContent() any

func (PutGroupEnvDeployment) RuntimeDoc

func (v PutGroupEnvDeployment) RuntimeDoc(names ...string) ([]string, bool)

type RefreshGroupRobotToken

type RefreshGroupRobotToken struct {
	courierhttp.MethodPut      `path:"/robots/:robotID/tokens"`
	RobotID                    account.ID `name:"robotID" in:"path"`
	RefreshGroupRobotTokenData `in:"body"`
}

func (RefreshGroupRobotToken) MiddleOperators

func (*RefreshGroupRobotToken) Output

func (p *RefreshGroupRobotToken) Output(ctx context.Context) (any, error)

func (*RefreshGroupRobotToken) ResponseContent

func (*RefreshGroupRobotToken) ResponseContent() any

func (RefreshGroupRobotToken) RuntimeDoc

func (v RefreshGroupRobotToken) RuntimeDoc(names ...string) ([]string, bool)

type RefreshGroupRobotTokenData

type RefreshGroupRobotTokenData struct {
	group.RoleInfo
	// 秒
	ExpiresIn int `json:"expiresIn"`
}

func (RefreshGroupRobotTokenData) RuntimeDoc

func (v RefreshGroupRobotTokenData) RuntimeDoc(names ...string) ([]string, bool)

type UnbindGroupEnvCluster

type UnbindGroupEnvCluster struct {
	courierhttp.MethodDelete `path:"/clusters/:clusterID"`
	ClusterID                cluster.ID `name:"clusterID" in:"path"`
}

func (UnbindGroupEnvCluster) MiddleOperators

func (UnbindGroupEnvCluster) MiddleOperators() courier.MiddleOperators

func (*UnbindGroupEnvCluster) Output

func (p *UnbindGroupEnvCluster) Output(ctx context.Context) (any, error)

func (*UnbindGroupEnvCluster) ResponseContent

func (*UnbindGroupEnvCluster) ResponseContent() any

func (UnbindGroupEnvCluster) RuntimeDoc

func (v UnbindGroupEnvCluster) RuntimeDoc(names ...string) ([]string, bool)

Directories

Path Synopsis
Package operator GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package operator GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Jump to

Keyboard shortcuts

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