Documentation ¶
Index ¶
- type Client
- func (c *Client) GetProjectTerraformStates(pathWithNamespace string) (terraformStates TerraformStates, err error)
- func (c *Client) GetProjectsWithTerraformStates() (projects Projects, err error)
- func (c *Client) GetState(projectID, stateName, version string) (state []byte, err error)
- func (c *Client) Query(request string, response interface{}, vars map[string]interface{}) error
- type Project
- type ProjectTerraformStatesResponse
- type Projects
- type ProjectsResponse
- type TerraformState
- type TerraformStateLock
- type TerraformStates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client ..
func (*Client) GetProjectTerraformStates ¶
func (c *Client) GetProjectTerraformStates(pathWithNamespace string) (terraformStates TerraformStates, err error)
GetProjectTerraformStates ..
func (*Client) GetProjectsWithTerraformStates ¶
GetProjectsWithTerraformStates ..
type Project ¶
type Project struct { ID string PathWithNamespace string TerraformStates TerraformStates }
Project ..
type ProjectTerraformStatesResponse ¶
type ProjectTerraformStatesResponse struct { Project struct { TerraformStates struct { PageInfo struct { EndCursor string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` } `json:"pageInfo"` Nodes []struct { ID string `json:"id"` Name string `json:"name"` LockedAt *time.Time `json:"lockedAt"` LockedByUser *struct { PublicEmail string `json:"publicEmail"` } `json:"lockedByUser"` LatestVersion struct { Serial int `json:"serial"` CreatedAt time.Time `json:"createdAt"` CreatedByUser struct { PublicEmail string `json:"publicEmail"` } `json:"createdByUser"` } `json:"latestVersion"` } `json:"nodes"` } `json:"terraformStates"` } `json:"project"` }
ProjectTerraformStatesResponse ..
type ProjectsResponse ¶
type ProjectsResponse struct { Projects struct { PageInfo struct { EndCursor string `json:"endCursor"` HasNextPage bool `json:"hasNextPage"` } `json:"pageInfo"` Nodes []struct { ID string `json:"id"` FullPath string `json:"fullPath"` TerraformStates struct { Count int `json:"count"` } `json:"terraformStates"` } `json:"nodes"` } `json:"projects"` }
ProjectsResponse ..
type TerraformState ¶
type TerraformState struct { ID string Name string ProjectPathWithNamespace string LatestVersion struct { CreatedAt time.Time CreatedBy string Serial int } Lock *TerraformStateLock }
TerraformState ..
type TerraformStateLock ¶
TerraformStateLock ..
Click to show internal directories.
Click to hide internal directories.