Documentation ¶
Overview ¶
+gengo:operator:register=R +gengo:operator:tag=cluster
Package cluster GENERATED BY gengo:operator DON'T EDIT THIS FILE
Package cluster GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var R = courier.NewRouter(&authoperator.ValidAccount{})
Functions ¶
This section is empty.
Types ¶
type CreateClusterAgentResources ¶ added in v0.5.4
type CreateClusterAgentResources struct { courierhttp.MethodPost `path:"/clusters/:name/agent/resources"` Name string `name:"name" in:"path"` }
func (*CreateClusterAgentResources) Output ¶ added in v0.5.4
func (p *CreateClusterAgentResources) Output(ctx context.Context) (any, error)
func (*CreateClusterAgentResources) ResponseContent ¶ added in v0.5.4
func (*CreateClusterAgentResources) ResponseContent() any
func (CreateClusterAgentResources) RuntimeDoc ¶ added in v0.5.4
func (v CreateClusterAgentResources) RuntimeDoc(names ...string) ([]string, bool)
type GetClusterStatus ¶
type GetClusterStatus struct { courierhttp.MethodGet `path:"/clusters/:name/status"` Name string `name:"name" in:"path"` }
func (GetClusterStatus) MiddleOperators ¶
func (GetClusterStatus) MiddleOperators() courier.MiddleOperators
func (*GetClusterStatus) Output ¶
func (p *GetClusterStatus) Output(ctx context.Context) (any, error)
func (*GetClusterStatus) ResponseContent ¶
func (*GetClusterStatus) ResponseContent() any
func (GetClusterStatus) RuntimeDoc ¶
func (v GetClusterStatus) RuntimeDoc(names ...string) ([]string, bool)
type ListCluster ¶
type ListCluster struct {
courierhttp.MethodGet `path:"/clusters"`
}
func (*ListCluster) ResponseContent ¶
func (*ListCluster) ResponseContent() any
func (ListCluster) RuntimeDoc ¶
func (v ListCluster) RuntimeDoc(names ...string) ([]string, bool)
type PutCluster ¶
type PutCluster struct { courierhttp.MethodPut `path:"/clusters/:name"` Name string `name:"name" in:"path"` Info cluster.Info `in:"body"` }
func (PutCluster) MiddleOperators ¶
func (PutCluster) MiddleOperators() courier.MiddleOperators
func (*PutCluster) ResponseContent ¶
func (*PutCluster) ResponseContent() any
func (PutCluster) RuntimeDoc ¶
func (v PutCluster) RuntimeDoc(names ...string) ([]string, bool)
type RenameCluster ¶
type RenameCluster struct { courierhttp.MethodPut `path:"/clusters/:name/rename/:newName"` Name string `name:"name" in:"path"` NewName string `name:"newName" in:"path"` }
func (RenameCluster) MiddleOperators ¶
func (RenameCluster) MiddleOperators() courier.MiddleOperators
func (*RenameCluster) ResponseContent ¶
func (*RenameCluster) ResponseContent() any
func (RenameCluster) RuntimeDoc ¶
func (v RenameCluster) RuntimeDoc(names ...string) ([]string, bool)
Click to show internal directories.
Click to hide internal directories.