Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) CheckTemplate(req *model.Template) (*model.CheckTemplateResponse, error)
- func (c *Client) CreateExecution(req *model.Execution) (*model.BaseExecutionResponse, error)
- func (c *Client) CreateTemplate(req *model.Template) (*model.BaseTemplateResponse, error)
- func (c *Client) DeleteTemplate(templateId string) (*model.BaseResponse, error)
- func (c *Client) GetExecutionDetail(executionId string) (*model.BaseExecutionResponse, error)
- func (c *Client) GetOperatorList(req *model.BasePageRequest) (*model.GetOperatorListResponse, error)
- func (c *Client) GetTemplateDetail(templateName, templateType string) (*model.BaseTemplateResponse, error)
- func (c *Client) GetTemplateList(req *model.GetTemplateListRequest) (*model.GetTemplateListResponse, error)
- func (c *Client) UpdateTemplate(req *model.Template) (*model.BaseResponse, error)
Constants ¶
View Source
const ( ProductName = "oos" DefaultBcmEndpoint = ProductName + "." + bce.DEFAULT_REGION + "." + bce.DEFAULT_DOMAIN )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client of OOS service is a kind of BceClient, so derived from BceClient
func NewClient ¶
NewClient make the oos service client with default configuration. Use `cli.Config.xxx` to access the config or change it to non-default value.
func (*Client) CheckTemplate ¶
CheckTemplate check template
func (*Client) CreateExecution ¶
CreateExecution create execution
func (*Client) CreateTemplate ¶
CreateTemplate create template
func (*Client) DeleteTemplate ¶
func (c *Client) DeleteTemplate(templateId string) (*model.BaseResponse, error)
DeleteTemplate delete template
func (*Client) GetExecutionDetail ¶
func (c *Client) GetExecutionDetail(executionId string) (*model.BaseExecutionResponse, error)
GetExecutionDetail get execution detail
func (*Client) GetOperatorList ¶
func (c *Client) GetOperatorList(req *model.BasePageRequest) (*model.GetOperatorListResponse, error)
GetOperatorList get operator list
func (*Client) GetTemplateDetail ¶
func (c *Client) GetTemplateDetail(templateName, templateType string) (*model.BaseTemplateResponse, error)
GetTemplateDetail get template detail by template name
func (*Client) GetTemplateList ¶
func (c *Client) GetTemplateList(req *model.GetTemplateListRequest) (*model.GetTemplateListResponse, error)
GetTemplateList get template list
func (*Client) UpdateTemplate ¶
UpdateTemplate update template
Click to show internal directories.
Click to hide internal directories.