Documentation ¶
Overview ¶
+gengo:operator:register=R +gengo:operator:tag=kubepkg
Package kubepkg GENERATED BY gengo:operator DON'T EDIT THIS FILE
Package kubepkg 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 ApplyKubePkg ¶
type ApplyKubePkg struct { courierhttp.MethodPut `path:"/kubepkgs"` // 通过 KubePkg.json 部署 KubePkg *v1alpha1.KubePkg `in:"body"` }
部署部署包
func (*ApplyKubePkg) ResponseContent ¶
func (*ApplyKubePkg) ResponseContent() any
func (ApplyKubePkg) RuntimeDoc ¶
func (v ApplyKubePkg) RuntimeDoc(names ...string) ([]string, bool)
type DelKubePkg ¶
type DelKubePkg struct { courierhttp.MethodDelete `path:"/kubepkgs/:name"` Name string `in:"path" name:"name"` Namespace string `in:"query" name:"namespace,omitempty" default:"default"` }
删除部署包
func (*DelKubePkg) ResponseContent ¶
func (*DelKubePkg) ResponseContent() any
func (*DelKubePkg) ResponseErrors ¶
func (*DelKubePkg) ResponseErrors() []error
func (DelKubePkg) RuntimeDoc ¶
func (v DelKubePkg) RuntimeDoc(names ...string) ([]string, bool)
type GetKubePkg ¶
type GetKubePkg struct { courierhttp.MethodGet `path:"/kubepkgs/:name"` Name string `in:"path" name:"name"` Namespace string `in:"query" name:"namespace,omitempty" default:"default"` }
查询部署包
func (*GetKubePkg) ResponseContent ¶
func (*GetKubePkg) ResponseContent() any
func (*GetKubePkg) ResponseErrors ¶
func (*GetKubePkg) ResponseErrors() []error
func (GetKubePkg) RuntimeDoc ¶
func (v GetKubePkg) RuntimeDoc(names ...string) ([]string, bool)
type ListKubePkg ¶
type ListKubePkg struct { courierhttp.MethodGet `path:"/kubepkgs"` Namespace string `name:"namespace,omitempty" in:"query"` }
部署包列表
func (*ListKubePkg) ResponseContent ¶
func (*ListKubePkg) ResponseContent() any
func (*ListKubePkg) ResponseErrors ¶
func (*ListKubePkg) ResponseErrors() []error
func (ListKubePkg) RuntimeDoc ¶
func (v ListKubePkg) RuntimeDoc(names ...string) ([]string, bool)
Click to show internal directories.
Click to hide internal directories.