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 ¶
- Variables
- type BindGroupEnvCluster
- type CreateGroupRobot
- type DeleteGroup
- type DeleteGroupAccount
- type DeleteGroupEnv
- type DeleteGroupEnvDeployment
- type GetGroup
- type ListGroup
- type ListGroupAccount
- type ListGroupEnv
- type ListGroupEnvClusterDeployments
- func (ListGroupEnvClusterDeployments) MiddleOperators() courier.MiddleOperators
- func (p *ListGroupEnvClusterDeployments) Output(ctx context.Context) (any, error)
- func (*ListGroupEnvClusterDeployments) ResponseContent() any
- func (*ListGroupEnvClusterDeployments) ResponseErrors() []error
- func (v ListGroupEnvClusterDeployments) RuntimeDoc(names ...string) ([]string, bool)
- type ListGroupEnvDeployment
- type ListGroupEnvDeploymentHistory
- func (ListGroupEnvDeploymentHistory) MiddleOperators() courier.MiddleOperators
- func (r *ListGroupEnvDeploymentHistory) Output(ctx context.Context) (any, error)
- func (*ListGroupEnvDeploymentHistory) ResponseContent() any
- func (v ListGroupEnvDeploymentHistory) RuntimeDoc(names ...string) ([]string, bool)
- type ListGroupRobot
- type PutGroup
- type PutGroupAccount
- type PutGroupEnv
- type PutGroupEnvDeployment
- type RefreshGroupRobotToken
- type RefreshGroupRobotTokenData
- type UnbindGroupEnvCluster
Constants ¶
This section is empty.
Variables ¶
View Source
var R = courier.NewRouter(&authoperator.ValidAccount{})
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) MiddleOperators() courier.MiddleOperators
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) ResponseContent ¶
type ListGroup ¶
type ListGroup struct {
courierhttp.MethodGet `path:"/groups"`
}
func (*ListGroup) ResponseContent ¶
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) 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) MiddleOperators() courier.MiddleOperators
func (*ListGroupEnvClusterDeployments) Output ¶
func (p *ListGroupEnvClusterDeployments) Output(ctx context.Context) (any, error)
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) MiddleOperators() courier.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) MiddleOperators() courier.MiddleOperators
func (*ListGroupEnvDeploymentHistory) Output ¶ added in v0.3.0
func (r *ListGroupEnvDeploymentHistory) Output(ctx context.Context) (any, error)
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) 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) ResponseContent ¶
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) 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) 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) MiddleOperators() courier.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 ¶
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)
Source Files ¶
- api.go
- group__delete.go
- group__get.go
- group__list.go
- group__put.go
- group_account__delete.go
- group_account__list.go
- group_account__put.go
- group_robot__create.go
- group_robot__list.go
- group_robot__refresh_token.go
- groupenv__cluster_deployments__list.go
- groupenv__delete.go
- groupenv__list.go
- groupenv__put.go
- groupenvcluster__bind.go
- groupenvcluster__unbind.go
- groupenvdeployment__delete.go
- groupenvdeployment__list.go
- groupenvdeployment__put.go
- groupenvdeploymenthistory__list.go
- zz_generated.operator.go
- zz_generated.runtimedoc.go
Click to show internal directories.
Click to hide internal directories.