kubepkg

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: 13 Imported by: 0

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

Functions

This section is empty.

Types

type ApplyKubePkg

type ApplyKubePkg struct {
	courierhttp.MethodPut `path:"/kubepkgs"`
	// 通过 KubePkg.json 部署
	KubePkg *v1alpha1.KubePkg `in:"body"`
}

部署部署包

func (*ApplyKubePkg) Output

func (req *ApplyKubePkg) Output(ctx context.Context) (any, error)

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) Output

func (req *DelKubePkg) Output(ctx context.Context) (any, error)

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) Output

func (req *GetKubePkg) Output(ctx context.Context) (any, error)

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) Output

func (req *ListKubePkg) Output(ctx context.Context) (any, error)

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)

Jump to

Keyboard shortcuts

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