Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateWebHookUser(webHookUser *service.DomainWebHookUser, log *zap.SugaredLogger) error
- func (c *Client) GetEnvService(productName, envName string, log *zap.SugaredLogger) (*service.ProductResp, error)
- func (c *Client) GetHostInfo(hostID string, log *zap.SugaredLogger) (*service.PrivateKey, error)
- func (c *Client) GetService(serviceName, productName, serviceType string, revision int64, ...) (*service.Service, error)
- func (c *Client) GetWebHookUser(log *zap.SugaredLogger) (*service.DomainWebHookUser, error)
- func (c *Client) InitOperationStatData(log *zap.SugaredLogger) error
- func (c *Client) InitPullSonarDeliveryMeasure(log *zap.SugaredLogger) error
- func (c *Client) InitPullSonarRepos(log *zap.SugaredLogger) error
- func (c *Client) InitPullSonarStatScheduler(log *zap.SugaredLogger) error
- func (c *Client) InitPullSonarTestsMeasure(log *zap.SugaredLogger) error
- func (c *Client) InitStatData(log *zap.SugaredLogger) error
- func (c *Client) ListEnvs(log *zap.SugaredLogger) ([]*service.ProductRevision, error)
- func (c *Client) ListPipelines(log *zap.SugaredLogger) ([]*service.Pipeline, error)
- func (c *Client) ListTests(log *zap.SugaredLogger) ([]*service.TestingOpt, error)
- func (c *Client) ListWorkflows(log *zap.SugaredLogger) ([]*service.Workflow, error)
- func (c *Client) RunPipelineTask(args *service.TaskArgs, log *zap.SugaredLogger) error
- func (c *Client) RunTestTask(args *service.TestTaskArgs, log *zap.SugaredLogger) error
- func (c *Client) RunWorkflowTask(args *service.WorkflowTaskArgs, log *zap.SugaredLogger) error
- func (c *Client) ScheduleCall(api string, args interface{}, log *zap.SugaredLogger) error
- func (c *Client) TriggerCleanCache(log *zap.SugaredLogger) error
- func (c *Client) TriggerCleanProducts(log *zap.SugaredLogger) error
- func (c *Client) TriggerCleanconfigmaps(log *zap.SugaredLogger) error
- func (c *Client) TriggerCleanjobs(log *zap.SugaredLogger) error
- func (c *Client) TriggerSystemGc(log *zap.SugaredLogger) error
- func (c *Client) UpdateService(args *service.ServiceTmplObject, log *zap.SugaredLogger) error
- type CollieClient
- type DryRunFlag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewAslanClient ¶
NewAslanClient is to get aslan client func
func (*Client) CreateWebHookUser ¶
func (c *Client) CreateWebHookUser(webHookUser *service.DomainWebHookUser, log *zap.SugaredLogger) error
func (*Client) GetEnvService ¶
func (c *Client) GetEnvService(productName, envName string, log *zap.SugaredLogger) (*service.ProductResp, error)
func (*Client) GetHostInfo ¶
func (c *Client) GetHostInfo(hostID string, log *zap.SugaredLogger) (*service.PrivateKey, error)
func (*Client) GetService ¶
func (*Client) GetWebHookUser ¶
func (c *Client) GetWebHookUser(log *zap.SugaredLogger) (*service.DomainWebHookUser, error)
func (*Client) InitOperationStatData ¶
func (c *Client) InitOperationStatData(log *zap.SugaredLogger) error
func (*Client) InitPullSonarDeliveryMeasure ¶
func (c *Client) InitPullSonarDeliveryMeasure(log *zap.SugaredLogger) error
func (*Client) InitPullSonarRepos ¶
func (c *Client) InitPullSonarRepos(log *zap.SugaredLogger) error
func (*Client) InitPullSonarStatScheduler ¶
func (c *Client) InitPullSonarStatScheduler(log *zap.SugaredLogger) error
func (*Client) InitPullSonarTestsMeasure ¶
func (c *Client) InitPullSonarTestsMeasure(log *zap.SugaredLogger) error
func (*Client) InitStatData ¶
func (c *Client) InitStatData(log *zap.SugaredLogger) error
func (*Client) ListEnvs ¶
func (c *Client) ListEnvs(log *zap.SugaredLogger) ([]*service.ProductRevision, error)
func (*Client) ListPipelines ¶
func (*Client) ListTests ¶
func (c *Client) ListTests(log *zap.SugaredLogger) ([]*service.TestingOpt, error)
func (*Client) ListWorkflows ¶
ListWorkflows ...
func (*Client) RunPipelineTask ¶
RunPipelineTask ...
func (*Client) RunTestTask ¶
func (c *Client) RunTestTask(args *service.TestTaskArgs, log *zap.SugaredLogger) error
func (*Client) RunWorkflowTask ¶
func (c *Client) RunWorkflowTask(args *service.WorkflowTaskArgs, log *zap.SugaredLogger) error
func (*Client) ScheduleCall ¶
func (c *Client) ScheduleCall(api string, args interface{}, log *zap.SugaredLogger) error
func (*Client) TriggerCleanCache ¶
func (c *Client) TriggerCleanCache(log *zap.SugaredLogger) error
func (*Client) TriggerCleanProducts ¶ added in v1.2.0
func (c *Client) TriggerCleanProducts(log *zap.SugaredLogger) error
TriggerCleanProducts ...
func (*Client) TriggerCleanconfigmaps ¶
func (c *Client) TriggerCleanconfigmaps(log *zap.SugaredLogger) error
TriggerCleanconfigmaps ...
func (*Client) TriggerCleanjobs ¶
func (c *Client) TriggerCleanjobs(log *zap.SugaredLogger) error
TriggerCleanjobs ...
func (*Client) TriggerSystemGc ¶
func (c *Client) TriggerSystemGc(log *zap.SugaredLogger) error
func (*Client) UpdateService ¶
func (c *Client) UpdateService(args *service.ServiceTmplObject, log *zap.SugaredLogger) error
type CollieClient ¶
type CollieClient struct { *httpclient.Client // contains filtered or unexported fields }
func NewCollieClient ¶
func NewCollieClient(host string) *CollieClient
func (*CollieClient) ListColliePipelines ¶
func (c *CollieClient) ListColliePipelines(log *zap.SugaredLogger) ([]*service.PipelineResource, error)
func (*CollieClient) RunColliePipelineTask ¶
func (c *CollieClient) RunColliePipelineTask(args *service.CreateBuildRequest, log *zap.SugaredLogger) error
type DryRunFlag ¶
type DryRunFlag struct {
DryRun bool `json:"dryrun"`
}
DryRunFlag indicates whether a run is a dry run or not. If it is a dry run, the relevant API is supposed to be no-op except logging.
Click to show internal directories.
Click to hide internal directories.