Documentation ¶
Index ¶
- type Extension
- func (i *Extension) Create(req *apistructs.ExtensionCreateRequest) (*apistructs.Extension, error)
- func (i *Extension) CreateExtensionVersion(req *apistructs.ExtensionVersionCreateRequest) (*apistructs.ExtensionVersion, error)
- func (i *Extension) GetExtensionDefaultVersion(name string, yamlFormat bool) (*apistructs.ExtensionVersion, error)
- func (i *Extension) GetExtensionVersion(name string, version string, yamlFormat bool) (*apistructs.ExtensionVersion, error)
- func (i *Extension) QueryExtensionVersions(req *apistructs.ExtensionVersionQueryRequest) ([]*apistructs.ExtensionVersion, error)
- func (i *Extension) QueryExtensions(all string, typ string, labels string) ([]*apistructs.Extension, error)
- func (i *Extension) SearchExtensions(req apistructs.ExtensionSearchRequest) (map[string]*apistructs.ExtensionVersion, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extension ¶
type Extension struct {
// contains filtered or unexported fields
}
Extension Extension
func (*Extension) Create ¶
func (i *Extension) Create(req *apistructs.ExtensionCreateRequest) (*apistructs.Extension, error)
Create 创建Extension
func (*Extension) CreateExtensionVersion ¶
func (i *Extension) CreateExtensionVersion(req *apistructs.ExtensionVersionCreateRequest) (*apistructs.ExtensionVersion, error)
CreateExtensionVersion 创建插件版本
func (*Extension) GetExtensionDefaultVersion ¶
func (i *Extension) GetExtensionDefaultVersion(name string, yamlFormat bool) (*apistructs.ExtensionVersion, error)
GetExtensionDefaultVersion 获取extension默认版本
func (*Extension) GetExtensionVersion ¶
func (i *Extension) GetExtensionVersion(name string, version string, yamlFormat bool) (*apistructs.ExtensionVersion, error)
GetExtensionVersion 获取指定版本extension
func (*Extension) QueryExtensionVersions ¶
func (i *Extension) QueryExtensionVersions(req *apistructs.ExtensionVersionQueryRequest) ([]*apistructs.ExtensionVersion, error)
QueryExtensionVersion 查询扩展版本
func (*Extension) QueryExtensions ¶
func (i *Extension) QueryExtensions(all string, typ string, labels string) ([]*apistructs.Extension, error)
QueryExtensions 查询Extension列表
func (*Extension) SearchExtensions ¶
func (i *Extension) SearchExtensions(req apistructs.ExtensionSearchRequest) (map[string]*apistructs.ExtensionVersion, error)
SearchExtensions 批量查询扩展
Click to show internal directories.
Click to hide internal directories.