Documentation ¶
Index ¶
- func CreatePipeline(d *schema.ResourceData, meta interface{}) error
- func DeletePipeline(d *schema.ResourceData, meta interface{}) error
- func Provider() terraform.ResourceProvider
- func ReadPipeline(d *schema.ResourceData, meta interface{}) error
- func UpdatePipeline(d *schema.ResourceData, meta interface{}) error
- type Client
- func (c *Client) Delete(pathParts []string) error
- func (c *Client) Get(pathParts []string, resBody interface{}) error
- func (c *Client) Patch(pathParts []string, reqBody, resBody interface{}) error
- func (c *Client) Post(pathParts []string, reqBody, resBody interface{}) error
- func (c *Client) Put(pathParts []string, reqBody, resBody interface{}) error
- type Pipeline
- type Step
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePipeline ¶
func CreatePipeline(d *schema.ResourceData, meta interface{}) error
func DeletePipeline ¶
func DeletePipeline(d *schema.ResourceData, meta interface{}) error
func Provider ¶
func Provider() terraform.ResourceProvider
func ReadPipeline ¶
func ReadPipeline(d *schema.ResourceData, meta interface{}) error
func UpdatePipeline ¶
func UpdatePipeline(d *schema.ResourceData, meta interface{}) error
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type Pipeline ¶
type Pipeline struct { Id string `json:"id,omitempty"` Environment map[string]string `json:"env,omitempty"` Slug string `json:"slug,omitempty"` WebURL string `json:"web_url,omitempty"` BuildsURL string `json:"builds_url,omitempty"` Url string `json:"url,omitempty"` DefaultBranch string `json:"default_branch,omitempty"` BadgeURL string `json:"badge_url,omitempty"` CreatedAt string `json:"created_at,omitempty"` Repository string `json:"repository,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` BranchConfiguration string `json:"branch_configuration,omitempty"` Provider repositoryProvider `json:"provider,omitempty"` ProviderSettings map[string]interface{} `json:"provider_settings,omitempty"` Steps []Step `json:"steps"` }
type Step ¶
type Step struct { Type string `json:"type"` Name string `json:"name,omitempty"` Command string `json:"command,omitempty"` Environment map[string]string `json:"env,omitempty"` TimeoutInMinutes int `json:"timeout_in_minutes,omitempty"` AgentQueryRules []string `json:"agent_query_rules,omitempty"` BranchConfiguration string `json:"branch_configuration,omitempty"` ArtifactPaths string `json:"artifact_paths,omitempty"` Concurrency int `json:"concurrency,omitempty"` Parallelism int `json:"parallelism,omitempty"` }
Click to show internal directories.
Click to hide internal directories.