Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallGithubWebHook ¶
func CallGitlabWebHook ¶
Types ¶
type CiPipelineResource ¶
type CiPipelineResource struct { Version string `json:"version"` Kind string `json:"kind"` Metadata PipelineMetadata `json:"metadata"` }
type Client ¶
type Client struct { *httpclient.Client // contains filtered or unexported fields }
func (*Client) DeleteCIPipelines ¶
func (c *Client) DeleteCIPipelines(productName string, log *zap.SugaredLogger) error
func (*Client) ListCIPipelines ¶
func (c *Client) ListCIPipelines(productName string, log *zap.SugaredLogger) ([]*CiPipelineResource, error)
type PipelineMetadata ¶
type PipelineMetadata struct { Name string `json:"name"` Project string `json:"project"` ProjectID string `json:"projectId"` Revision int `json:"revision"` FilePath string `json:"filePath"` Source string `json:"source"` OriginYamlString string `json:"originYamlString"` ID string `json:"id"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.