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 DeleteKubepkgVersion ¶
type DeleteKubepkgVersion struct { courierhttp.MethodDelete `path:"/kubepkgs/:name/:channel/versions/:version"` Name string `name:"name" in:"path"` Channel kubepkg.Channel `name:"channel" in:"path"` Version string `name:"version" in:"path"` }
func (DeleteKubepkgVersion) MiddleOperators ¶
func (DeleteKubepkgVersion) MiddleOperators() courier.MiddleOperators
func (*DeleteKubepkgVersion) Output ¶
func (p *DeleteKubepkgVersion) Output(ctx context.Context) (any, error)
func (*DeleteKubepkgVersion) ResponseContent ¶
func (*DeleteKubepkgVersion) ResponseContent() any
func (DeleteKubepkgVersion) RuntimeDoc ¶
func (v DeleteKubepkgVersion) RuntimeDoc(names ...string) ([]string, bool)
type GetKubepkgRevision ¶
type GetKubepkgRevision struct { courierhttp.MethodGet `path:"/kubepkgs/:name/:channel/revisions/:revisionID"` Name string `name:"name" in:"path"` Channel kubepkg.Channel `name:"channel" in:"path"` RevisionID kubepkg.RevisionID `name:"revisionID" in:"path"` }
func (GetKubepkgRevision) MiddleOperators ¶
func (GetKubepkgRevision) MiddleOperators() courier.MiddleOperators
func (*GetKubepkgRevision) Output ¶
func (p *GetKubepkgRevision) Output(ctx context.Context) (any, error)
func (*GetKubepkgRevision) ResponseContent ¶
func (*GetKubepkgRevision) ResponseContent() any
func (GetKubepkgRevision) RuntimeDoc ¶
func (v GetKubepkgRevision) RuntimeDoc(names ...string) ([]string, bool)
type LatestKubepkgs ¶
type LatestKubepkgs struct { courierhttp.MethodGet `path:"/latest-kubepkgs"` GroupNameChannels []string `name:"names" in:"query"` }
func (*LatestKubepkgs) ResponseContent ¶
func (*LatestKubepkgs) ResponseContent() any
func (LatestKubepkgs) RuntimeDoc ¶
func (v LatestKubepkgs) RuntimeDoc(names ...string) ([]string, bool)
type ListKubepkg ¶
type ListKubepkg struct { courierhttp.MethodGet `path:"/kubepkgs"` kubepkg.KubepkgQueryParams }
func (ListKubepkg) MiddleOperators ¶
func (ListKubepkg) MiddleOperators() courier.MiddleOperators
func (*ListKubepkg) ResponseContent ¶
func (*ListKubepkg) ResponseContent() any
func (ListKubepkg) RuntimeDoc ¶
func (v ListKubepkg) RuntimeDoc(names ...string) ([]string, bool)
type ListKubepkgVersion ¶
type ListKubepkgVersion struct { courierhttp.MethodGet `path:"/kubepkgs/:name/:channel/versions"` Name string `name:"name" in:"path"` Channel kubepkg.Channel `name:"channel" in:"path"` }
func (ListKubepkgVersion) MiddleOperators ¶
func (ListKubepkgVersion) MiddleOperators() courier.MiddleOperators
func (*ListKubepkgVersion) Output ¶
func (p *ListKubepkgVersion) Output(ctx context.Context) (any, error)
func (*ListKubepkgVersion) ResponseContent ¶
func (*ListKubepkgVersion) ResponseContent() any
func (ListKubepkgVersion) RuntimeDoc ¶
func (v ListKubepkgVersion) RuntimeDoc(names ...string) ([]string, bool)
type PutKubepkgVersion ¶
type PutKubepkgVersion struct { courierhttp.MethodPut `path:"/kubepkgs/:name/:channel/versions"` Name string `name:"name" in:"path"` Channel kubepkg.Channel `name:"channel" in:"path"` Data kubepkg.VersionInfo `in:"body"` }
func (PutKubepkgVersion) MiddleOperators ¶
func (PutKubepkgVersion) MiddleOperators() courier.MiddleOperators
func (*PutKubepkgVersion) Output ¶
func (p *PutKubepkgVersion) Output(ctx context.Context) (any, error)
func (*PutKubepkgVersion) ResponseContent ¶
func (*PutKubepkgVersion) ResponseContent() any
func (PutKubepkgVersion) RuntimeDoc ¶
func (v PutKubepkgVersion) RuntimeDoc(names ...string) ([]string, bool)
Click to show internal directories.
Click to hide internal directories.