Documentation
¶
Index ¶
- type BuildData
- type Config
- func (c *Config) CreateBuild(client *http.Client, owner, repo string) error
- func (c *Config) CreatePipeline(client *http.Client, pipeline *PipelineData) error
- func (c *Config) DeleteBuild(client *http.Client, pipelineName string, buildNumber string) error
- func (c *Config) DeletePipeline(client *http.Client, pipelineName string) error
- func (c *Config) GetBuild(client *http.Client, owner, repo string, buildNumber int) (*BuildData, error)
- func (c *Config) GetBuilds(client *http.Client, owner, repo string) ([]*BuildData, error)
- func (c *Config) GetPipeline(client *http.Client, pipelineName string) (*PipelineData, error)
- func (c *Config) GetPipelines(client *http.Client, pipelineName string) ([]*PipelineData, error)
- func (c *Config) GetRepos(client *http.Client) ([]*RepoData, error)
- func (c *Config) GetStages(client *http.Client, owner, repo string, buildNumber int) ([]*StageData, error)
- func (c *Config) ResumeBuild(client *http.Client, owner, repo string, buildNumber int) error
- type Error
- type PipelineData
- type RepoData
- type StageData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildData ¶
type BuildData struct { Number int `json:"number"` Status string `json:"status"` Created int64 `json:"created"` Finished int64 `json:"finished"` Event string `json:"event"` Author string `json:"author"` Commit string `json:"commit"` CurrentStage int `json:"current_stage"` Stages []*StageData `json:"stages"` }
type Config ¶
func GetConfigFromFile ¶
func (*Config) CreateBuild ¶
func (*Config) CreatePipeline ¶
func (c *Config) CreatePipeline(client *http.Client, pipeline *PipelineData) error
func (*Config) DeleteBuild ¶
func (*Config) DeletePipeline ¶
func (*Config) GetPipeline ¶
func (*Config) GetPipelines ¶
type PipelineData ¶
type StageData ¶
type StageData struct { Index int `json:"index"` Name string `json:"name"` Type string `json:"type"` Status string `json:"status"` Started int64 `json:"start-time"` Finished int64 `json:"end-time"` JobName string `json:"job_name"` Namespace string `json:"namespace"` PodName string `json:"pod_name"` }
Click to show internal directories.
Click to hide internal directories.