oos

package
v0.9.185 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

type Client struct {
	*bce.BceClient
}

Client of OOS service is a kind of BceClient, so derived from BceClient

func NewClient

func NewClient(ak, sk, endpoint string) (*Client, error)

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

func (c *Client) CheckTemplate(req *model.Template) (*model.CheckTemplateResponse, error)

CheckTemplate check template

func (*Client) CreateExecution

func (c *Client) CreateExecution(req *model.Execution) (*model.BaseExecutionResponse, error)

CreateExecution create execution

func (*Client) CreateTemplate

func (c *Client) CreateTemplate(req *model.Template) (*model.BaseTemplateResponse, error)

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

GetTemplateList get template list

func (*Client) UpdateTemplate

func (c *Client) UpdateTemplate(req *model.Template) (*model.BaseResponse, error)

UpdateTemplate update template

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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