Documentation
¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- Variables
- type ApiClient
- func (self *ApiClient) AssignCloudCredentialsToProject(projectId string, credentialId string) (CloudCredentialsProjectAssignment, error)
- func (self *ApiClient) AssignTemplateToProject(id string, payload TemplateAssignmentToProjectPayload) (Template, error)
- func (self *ApiClient) AwsCredentials(id string) (ApiKey, error)
- func (self *ApiClient) AwsCredentialsCreate(request AwsCredentialsCreatePayload) (ApiKey, error)
- func (self *ApiClient) AwsCredentialsDelete(id string) error
- func (self *ApiClient) AwsCredentialsList() ([]ApiKey, error)
- func (self *ApiClient) CloudCredentialIdsInProject(projectId string) ([]string, error)
- func (self *ApiClient) ConfigurationVariableCreate(params ConfigurationVariableCreateParams) (ConfigurationVariable, error)
- func (self *ApiClient) ConfigurationVariableDelete(id string) error
- func (self *ApiClient) ConfigurationVariableUpdate(updateParams ConfigurationVariableUpdateParams) (ConfigurationVariable, error)
- func (self *ApiClient) ConfigurationVariablesById(id string) (ConfigurationVariable, error)
- func (self *ApiClient) ConfigurationVariablesByScope(scope Scope, scopeId string) ([]ConfigurationVariable, error)
- func (self *ApiClient) Environment(id string) (Environment, error)
- func (self *ApiClient) EnvironmentCreate(payload EnvironmentCreate) (Environment, error)
- func (self *ApiClient) EnvironmentDeploy(id string, payload DeployRequest) (EnvironmentDeployResponse, error)
- func (self *ApiClient) EnvironmentDestroy(id string) (Environment, error)
- func (self *ApiClient) EnvironmentScheduling(environmentId string) (EnvironmentScheduling, error)
- func (self *ApiClient) EnvironmentSchedulingDelete(environmentId string) error
- func (self *ApiClient) EnvironmentSchedulingUpdate(environmentId string, payload EnvironmentScheduling) (EnvironmentScheduling, error)
- func (self *ApiClient) EnvironmentUpdate(id string, payload EnvironmentUpdate) (Environment, error)
- func (self *ApiClient) EnvironmentUpdateTTL(id string, payload TTL) (Environment, error)
- func (self *ApiClient) Environments() ([]Environment, error)
- func (self *ApiClient) Organization() (Organization, error)
- func (self *ApiClient) Policy(projectId string) (Policy, error)
- func (self *ApiClient) PolicyUpdate(payload PolicyUpdatePayload) (Policy, error)
- func (self *ApiClient) Project(id string) (Project, error)
- func (self *ApiClient) ProjectCreate(payload ProjectCreatePayload) (Project, error)
- func (self *ApiClient) ProjectDelete(id string) error
- func (self *ApiClient) ProjectUpdate(id string, payload ProjectCreatePayload) (Project, error)
- func (self *ApiClient) Projects() ([]Project, error)
- func (self *ApiClient) RemoveCloudCredentialsFromProject(projectId string, credentialId string) error
- func (self *ApiClient) RemoveTemplateFromProject(templateId string, projectId string) error
- func (self *ApiClient) SshKeyCreate(payload SshKeyCreatePayload) (SshKey, error)
- func (self *ApiClient) SshKeyDelete(id string) error
- func (self *ApiClient) SshKeys() ([]SshKey, error)
- func (self *ApiClient) Team(id string) (Team, error)
- func (self *ApiClient) TeamCreate(payload TeamCreatePayload) (Team, error)
- func (self *ApiClient) TeamDelete(id string) error
- func (self *ApiClient) TeamProjectAssignmentCreateOrUpdate(payload TeamProjectAssignmentPayload) (TeamProjectAssignment, error)
- func (self *ApiClient) TeamProjectAssignmentDelete(assignmentId string) error
- func (self *ApiClient) TeamProjectAssignments(projectId string) ([]TeamProjectAssignment, error)
- func (self *ApiClient) TeamUpdate(id string, payload TeamUpdatePayload) (Team, error)
- func (self *ApiClient) Teams() ([]Team, error)
- func (self *ApiClient) Template(id string) (Template, error)
- func (self *ApiClient) TemplateCreate(payload TemplateCreatePayload) (Template, error)
- func (self *ApiClient) TemplateDelete(id string) error
- func (self *ApiClient) TemplateUpdate(id string, payload TemplateCreatePayload) (Template, error)
- func (self *ApiClient) Templates() ([]Template, error)
- func (self *ApiClient) WorkflowTrigger(environmentId string) ([]WorkflowTrigger, error)
- func (self *ApiClient) WorkflowTriggerUpsert(environmentId string, request WorkflowTriggerUpsertPayload) ([]WorkflowTrigger, error)
- type ApiClientInterface
- type ApiKey
- type AwsCredentialsCreatePayload
- type AwsCredentialsValuePayload
- type CloudCredentialIdsInProjectResponse
- type CloudCredentialsProjectAssignment
- type CloudCredentialsProjectAssignmentPatchPayload
- type ConfigurationChanges
- type ConfigurationVariable
- type ConfigurationVariableCreateParams
- type ConfigurationVariableSchema
- type ConfigurationVariableType
- type ConfigurationVariableUpdateParams
- type DeployRequest
- type DeploymentLog
- type Environment
- type EnvironmentCreate
- type EnvironmentDeployResponse
- type EnvironmentScheduling
- type EnvironmentSchedulingExpression
- type EnvironmentUpdate
- type Format
- type GitUserData
- type MockApiClientInterface
- func (m *MockApiClientInterface) AssignCloudCredentialsToProject(arg0, arg1 string) (CloudCredentialsProjectAssignment, error)
- func (m *MockApiClientInterface) AssignTemplateToProject(arg0 string, arg1 TemplateAssignmentToProjectPayload) (Template, error)
- func (m *MockApiClientInterface) AwsCredentials(arg0 string) (ApiKey, error)
- func (m *MockApiClientInterface) AwsCredentialsCreate(arg0 AwsCredentialsCreatePayload) (ApiKey, error)
- func (m *MockApiClientInterface) AwsCredentialsDelete(arg0 string) error
- func (m *MockApiClientInterface) AwsCredentialsList() ([]ApiKey, error)
- func (m *MockApiClientInterface) CloudCredentialIdsInProject(arg0 string) ([]string, error)
- func (m *MockApiClientInterface) ConfigurationVariableCreate(arg0 ConfigurationVariableCreateParams) (ConfigurationVariable, error)
- func (m *MockApiClientInterface) ConfigurationVariableDelete(arg0 string) error
- func (m *MockApiClientInterface) ConfigurationVariableUpdate(arg0 ConfigurationVariableUpdateParams) (ConfigurationVariable, error)
- func (m *MockApiClientInterface) ConfigurationVariablesById(arg0 string) (ConfigurationVariable, error)
- func (m *MockApiClientInterface) ConfigurationVariablesByScope(arg0 Scope, arg1 string) ([]ConfigurationVariable, error)
- func (m *MockApiClientInterface) EXPECT() *MockApiClientInterfaceMockRecorder
- func (m *MockApiClientInterface) Environment(arg0 string) (Environment, error)
- func (m *MockApiClientInterface) EnvironmentCreate(arg0 EnvironmentCreate) (Environment, error)
- func (m *MockApiClientInterface) EnvironmentDeploy(arg0 string, arg1 DeployRequest) (EnvironmentDeployResponse, error)
- func (m *MockApiClientInterface) EnvironmentDestroy(arg0 string) (Environment, error)
- func (m *MockApiClientInterface) EnvironmentScheduling(arg0 string) (EnvironmentScheduling, error)
- func (m *MockApiClientInterface) EnvironmentSchedulingDelete(arg0 string) error
- func (m *MockApiClientInterface) EnvironmentSchedulingUpdate(arg0 string, arg1 EnvironmentScheduling) (EnvironmentScheduling, error)
- func (m *MockApiClientInterface) EnvironmentUpdate(arg0 string, arg1 EnvironmentUpdate) (Environment, error)
- func (m *MockApiClientInterface) EnvironmentUpdateTTL(arg0 string, arg1 TTL) (Environment, error)
- func (m *MockApiClientInterface) Environments() ([]Environment, error)
- func (m *MockApiClientInterface) Organization() (Organization, error)
- func (m *MockApiClientInterface) Policy(arg0 string) (Policy, error)
- func (m *MockApiClientInterface) PolicyUpdate(arg0 PolicyUpdatePayload) (Policy, error)
- func (m *MockApiClientInterface) Project(arg0 string) (Project, error)
- func (m *MockApiClientInterface) ProjectCreate(arg0 ProjectCreatePayload) (Project, error)
- func (m *MockApiClientInterface) ProjectDelete(arg0 string) error
- func (m *MockApiClientInterface) ProjectUpdate(arg0 string, arg1 ProjectCreatePayload) (Project, error)
- func (m *MockApiClientInterface) Projects() ([]Project, error)
- func (m *MockApiClientInterface) RemoveCloudCredentialsFromProject(arg0, arg1 string) error
- func (m *MockApiClientInterface) RemoveTemplateFromProject(arg0, arg1 string) error
- func (m *MockApiClientInterface) SshKeyCreate(arg0 SshKeyCreatePayload) (SshKey, error)
- func (m *MockApiClientInterface) SshKeyDelete(arg0 string) error
- func (m *MockApiClientInterface) SshKeys() ([]SshKey, error)
- func (m *MockApiClientInterface) Team(arg0 string) (Team, error)
- func (m *MockApiClientInterface) TeamCreate(arg0 TeamCreatePayload) (Team, error)
- func (m *MockApiClientInterface) TeamDelete(arg0 string) error
- func (m *MockApiClientInterface) TeamProjectAssignmentCreateOrUpdate(arg0 TeamProjectAssignmentPayload) (TeamProjectAssignment, error)
- func (m *MockApiClientInterface) TeamProjectAssignmentDelete(arg0 string) error
- func (m *MockApiClientInterface) TeamProjectAssignments(arg0 string) ([]TeamProjectAssignment, error)
- func (m *MockApiClientInterface) TeamUpdate(arg0 string, arg1 TeamUpdatePayload) (Team, error)
- func (m *MockApiClientInterface) Teams() ([]Team, error)
- func (m *MockApiClientInterface) Template(arg0 string) (Template, error)
- func (m *MockApiClientInterface) TemplateCreate(arg0 TemplateCreatePayload) (Template, error)
- func (m *MockApiClientInterface) TemplateDelete(arg0 string) error
- func (m *MockApiClientInterface) TemplateUpdate(arg0 string, arg1 TemplateCreatePayload) (Template, error)
- func (m *MockApiClientInterface) Templates() ([]Template, error)
- func (m *MockApiClientInterface) WorkflowTrigger(arg0 string) ([]WorkflowTrigger, error)
- func (m *MockApiClientInterface) WorkflowTriggerUpsert(arg0 string, arg1 WorkflowTriggerUpsertPayload) ([]WorkflowTrigger, error)
- type MockApiClientInterfaceMockRecorder
- func (mr *MockApiClientInterfaceMockRecorder) AssignCloudCredentialsToProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AssignTemplateToProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AwsCredentials(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsList() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialIdsInProject(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariables(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariablesById(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Environment(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) EnvironmentCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) EnvironmentDeploy(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) EnvironmentDestroy(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) EnvironmentScheduling(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) EnvironmentSchedulingDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) EnvironmentSchedulingUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdateTTL(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Environments() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Organization() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Policy(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) PolicyUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Project(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ProjectCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ProjectDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ProjectUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Projects() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) RemoveCloudCredentialsFromProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) RemoveTemplateFromProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) SshKeyCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) SshKeyDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) SshKeys() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Team(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentCreateOrUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignments(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Teams() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Template(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TemplateCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TemplateDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TemplateUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Templates() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) WorkflowTrigger(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) WorkflowTriggerUpsert(arg0, arg1 interface{}) *gomock.Call
- type Organization
- type Policy
- type PolicyUpdatePayload
- type Project
- type ProjectCreatePayload
- type Role
- type Scope
- type SshKey
- type SshKeyCreatePayload
- type TTL
- type TTLType
- type Team
- type TeamCreatePayload
- type TeamProjectAssignment
- type TeamProjectAssignmentPayload
- type TeamUpdatePayload
- type Template
- type TemplateAssignmentToProject
- type TemplateAssignmentToProjectPayload
- type TemplateCreatePayload
- type TemplateRetry
- type TemplateRetryOn
- type TemplateSshKey
- type TemplateType
- type User
- type WorkflowTrigger
- type WorkflowTriggerUpsertPayload
Constants ¶
This section is empty.
Variables ¶
var VariableTypes = map[string]ConfigurationVariableType{ "terraform": ConfigurationVariableTypeTerraform, "environment": ConfigurationVariableTypeEnvironment, }
Functions ¶
This section is empty.
Types ¶
type ApiClient ¶
type ApiClient struct {
// contains filtered or unexported fields
}
func (*ApiClient) AssignCloudCredentialsToProject ¶ added in v0.0.6
func (self *ApiClient) AssignCloudCredentialsToProject(projectId string, credentialId string) (CloudCredentialsProjectAssignment, error)
func (*ApiClient) AssignTemplateToProject ¶ added in v0.0.6
func (self *ApiClient) AssignTemplateToProject(id string, payload TemplateAssignmentToProjectPayload) (Template, error)
func (*ApiClient) AwsCredentials ¶ added in v0.0.4
func (*ApiClient) AwsCredentialsCreate ¶ added in v0.0.4
func (self *ApiClient) AwsCredentialsCreate(request AwsCredentialsCreatePayload) (ApiKey, error)
func (*ApiClient) AwsCredentialsDelete ¶ added in v0.0.4
func (*ApiClient) AwsCredentialsList ¶ added in v0.0.4
func (*ApiClient) CloudCredentialIdsInProject ¶ added in v0.0.6
func (*ApiClient) ConfigurationVariableCreate ¶
func (self *ApiClient) ConfigurationVariableCreate(params ConfigurationVariableCreateParams) (ConfigurationVariable, error)
func (*ApiClient) ConfigurationVariableDelete ¶
func (*ApiClient) ConfigurationVariableUpdate ¶
func (self *ApiClient) ConfigurationVariableUpdate(updateParams ConfigurationVariableUpdateParams) (ConfigurationVariable, error)
func (*ApiClient) ConfigurationVariablesById ¶ added in v0.2.25
func (self *ApiClient) ConfigurationVariablesById(id string) (ConfigurationVariable, error)
func (*ApiClient) ConfigurationVariablesByScope ¶ added in v0.2.25
func (self *ApiClient) ConfigurationVariablesByScope(scope Scope, scopeId string) ([]ConfigurationVariable, error)
func (*ApiClient) Environment ¶ added in v0.0.21
func (self *ApiClient) Environment(id string) (Environment, error)
func (*ApiClient) EnvironmentCreate ¶ added in v0.0.21
func (self *ApiClient) EnvironmentCreate(payload EnvironmentCreate) (Environment, error)
func (*ApiClient) EnvironmentDeploy ¶ added in v0.0.21
func (self *ApiClient) EnvironmentDeploy(id string, payload DeployRequest) (EnvironmentDeployResponse, error)
func (*ApiClient) EnvironmentDestroy ¶ added in v0.0.21
func (self *ApiClient) EnvironmentDestroy(id string) (Environment, error)
func (*ApiClient) EnvironmentScheduling ¶ added in v0.0.23
func (self *ApiClient) EnvironmentScheduling(environmentId string) (EnvironmentScheduling, error)
func (*ApiClient) EnvironmentSchedulingDelete ¶ added in v0.0.23
func (*ApiClient) EnvironmentSchedulingUpdate ¶ added in v0.0.23
func (self *ApiClient) EnvironmentSchedulingUpdate(environmentId string, payload EnvironmentScheduling) (EnvironmentScheduling, error)
func (*ApiClient) EnvironmentUpdate ¶ added in v0.0.21
func (self *ApiClient) EnvironmentUpdate(id string, payload EnvironmentUpdate) (Environment, error)
func (*ApiClient) EnvironmentUpdateTTL ¶ added in v0.0.21
func (self *ApiClient) EnvironmentUpdateTTL(id string, payload TTL) (Environment, error)
func (*ApiClient) Environments ¶ added in v0.0.21
func (self *ApiClient) Environments() ([]Environment, error)
func (*ApiClient) Organization ¶
func (self *ApiClient) Organization() (Organization, error)
func (*ApiClient) PolicyUpdate ¶ added in v0.0.15
func (self *ApiClient) PolicyUpdate(payload PolicyUpdatePayload) (Policy, error)
PolicyUpdate updates a policy through the API
func (*ApiClient) ProjectCreate ¶
func (self *ApiClient) ProjectCreate(payload ProjectCreatePayload) (Project, error)
func (*ApiClient) ProjectDelete ¶
func (*ApiClient) ProjectUpdate ¶ added in v0.0.4
func (self *ApiClient) ProjectUpdate(id string, payload ProjectCreatePayload) (Project, error)
func (*ApiClient) RemoveCloudCredentialsFromProject ¶ added in v0.0.6
func (*ApiClient) RemoveTemplateFromProject ¶ added in v0.0.6
func (*ApiClient) SshKeyCreate ¶
func (self *ApiClient) SshKeyCreate(payload SshKeyCreatePayload) (SshKey, error)
func (*ApiClient) SshKeyDelete ¶
func (*ApiClient) TeamCreate ¶ added in v0.0.13
func (self *ApiClient) TeamCreate(payload TeamCreatePayload) (Team, error)
func (*ApiClient) TeamDelete ¶ added in v0.0.13
func (*ApiClient) TeamProjectAssignmentCreateOrUpdate ¶ added in v0.0.13
func (self *ApiClient) TeamProjectAssignmentCreateOrUpdate(payload TeamProjectAssignmentPayload) (TeamProjectAssignment, error)
func (*ApiClient) TeamProjectAssignmentDelete ¶ added in v0.0.13
func (*ApiClient) TeamProjectAssignments ¶ added in v0.0.13
func (self *ApiClient) TeamProjectAssignments(projectId string) ([]TeamProjectAssignment, error)
func (*ApiClient) TeamUpdate ¶ added in v0.0.13
func (self *ApiClient) TeamUpdate(id string, payload TeamUpdatePayload) (Team, error)
func (*ApiClient) TemplateCreate ¶
func (self *ApiClient) TemplateCreate(payload TemplateCreatePayload) (Template, error)
func (*ApiClient) TemplateDelete ¶
func (*ApiClient) TemplateUpdate ¶
func (self *ApiClient) TemplateUpdate(id string, payload TemplateCreatePayload) (Template, error)
func (*ApiClient) WorkflowTrigger ¶ added in v0.0.23
func (self *ApiClient) WorkflowTrigger(environmentId string) ([]WorkflowTrigger, error)
func (*ApiClient) WorkflowTriggerUpsert ¶ added in v0.0.23
func (self *ApiClient) WorkflowTriggerUpsert(environmentId string, request WorkflowTriggerUpsertPayload) ([]WorkflowTrigger, error)
type ApiClientInterface ¶ added in v0.0.6
type ApiClientInterface interface { ConfigurationVariablesByScope(scope Scope, scopeId string) ([]ConfigurationVariable, error) ConfigurationVariablesById(id string) (ConfigurationVariable, error) ConfigurationVariableCreate(params ConfigurationVariableCreateParams) (ConfigurationVariable, error) ConfigurationVariableUpdate(params ConfigurationVariableUpdateParams) (ConfigurationVariable, error) ConfigurationVariableDelete(id string) error Organization() (Organization, error) Policy(projectId string) (Policy, error) PolicyUpdate(payload PolicyUpdatePayload) (Policy, error) Projects() ([]Project, error) Project(id string) (Project, error) ProjectCreate(payload ProjectCreatePayload) (Project, error) ProjectUpdate(id string, payload ProjectCreatePayload) (Project, error) ProjectDelete(id string) error Template(id string) (Template, error) Templates() ([]Template, error) TemplateCreate(payload TemplateCreatePayload) (Template, error) TemplateUpdate(id string, payload TemplateCreatePayload) (Template, error) TemplateDelete(id string) error AssignTemplateToProject(id string, payload TemplateAssignmentToProjectPayload) (Template, error) RemoveTemplateFromProject(templateId string, projectId string) error SshKeys() ([]SshKey, error) SshKeyCreate(payload SshKeyCreatePayload) (SshKey, error) SshKeyDelete(id string) error AwsCredentials(id string) (ApiKey, error) AwsCredentialsList() ([]ApiKey, error) AwsCredentialsCreate(request AwsCredentialsCreatePayload) (ApiKey, error) AwsCredentialsDelete(id string) error AssignCloudCredentialsToProject(projectId string, credentialId string) (CloudCredentialsProjectAssignment, error) RemoveCloudCredentialsFromProject(projectId string, credentialId string) error CloudCredentialIdsInProject(projectId string) ([]string, error) Team(id string) (Team, error) Teams() ([]Team, error) TeamCreate(payload TeamCreatePayload) (Team, error) TeamUpdate(id string, payload TeamUpdatePayload) (Team, error) TeamDelete(id string) error TeamProjectAssignmentCreateOrUpdate(payload TeamProjectAssignmentPayload) (TeamProjectAssignment, error) TeamProjectAssignmentDelete(assignmentId string) error TeamProjectAssignments(projectId string) ([]TeamProjectAssignment, error) Environments() ([]Environment, error) Environment(id string) (Environment, error) EnvironmentCreate(payload EnvironmentCreate) (Environment, error) EnvironmentDestroy(id string) (Environment, error) EnvironmentUpdate(id string, payload EnvironmentUpdate) (Environment, error) EnvironmentDeploy(id string, payload DeployRequest) (EnvironmentDeployResponse, error) EnvironmentUpdateTTL(id string, payload TTL) (Environment, error) EnvironmentScheduling(environmentId string) (EnvironmentScheduling, error) EnvironmentSchedulingUpdate(environmentId string, payload EnvironmentScheduling) (EnvironmentScheduling, error) EnvironmentSchedulingDelete(environmentId string) error WorkflowTrigger(environmentId string) ([]WorkflowTrigger, error) WorkflowTriggerUpsert(environmentId string, request WorkflowTriggerUpsertPayload) ([]WorkflowTrigger, error) // contains filtered or unexported methods }
func NewApiClient ¶
func NewApiClient(client http.HttpClientInterface) ApiClientInterface
type AwsCredentialsCreatePayload ¶ added in v0.0.4
type AwsCredentialsCreatePayload struct { Name string `json:"name"` OrganizationId string `json:"organizationId"` Type string `json:"type"` Value AwsCredentialsValuePayload `json:"value"` }
type AwsCredentialsValuePayload ¶ added in v0.0.4
type CloudCredentialIdsInProjectResponse ¶ added in v0.0.6
type CloudCredentialIdsInProjectResponse struct {
CredentialIds []string `json:"credentialIds"`
}
type CloudCredentialsProjectAssignment ¶ added in v0.0.6
type CloudCredentialsProjectAssignmentPatchPayload ¶ added in v0.0.6
type CloudCredentialsProjectAssignmentPatchPayload struct {
CredentialIds []string `json:"credentialIds"`
}
type ConfigurationChanges ¶ added in v0.0.21
type ConfigurationChanges []ConfigurationVariable
type ConfigurationVariable ¶
type ConfigurationVariable struct { ScopeId string `json:"scopeId,omitempty"` Value string `json:"value"` OrganizationId string `json:"organizationId,omitempty"` UserId string `json:"userId,omitempty"` IsSensitive *bool `json:"isSensitive,omitempty"` Scope Scope `json:"scope,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name"` Description string `json:"description,omitempty"` Type *ConfigurationVariableType `json:"type,omitempty"` Schema *ConfigurationVariableSchema `json:"schema,omitempty"` ToDelete *bool `json:"toDelete,omitempty"` IsReadonly *bool `json:"isReadonly,omitempty"` IsRequired *bool `json:"isRequired,omitempty"` }
type ConfigurationVariableCreateParams ¶ added in v0.0.23
type ConfigurationVariableType ¶
type ConfigurationVariableType int
const ( ConfigurationVariableTypeEnvironment ConfigurationVariableType = 0 ConfigurationVariableTypeTerraform ConfigurationVariableType = 1 )
type ConfigurationVariableUpdateParams ¶ added in v0.0.23
type ConfigurationVariableUpdateParams struct { CommonParams ConfigurationVariableCreateParams Id string }
type DeployRequest ¶ added in v0.0.21
type DeployRequest struct { BlueprintId string `json:"blueprintId,omitempty"` BlueprintRevision string `json:"blueprintRevision,omitempty"` BlueprintRepository string `json:"blueprintRepository,omitempty"` ConfigurationChanges *ConfigurationChanges `json:"configurationChanges,omitempty"` TTL *TTL `json:"ttl,omitempty"` EnvName string `json:"envName,omitempty"` UserRequiresApproval *bool `json:"userRequiresApproval,omitempty"` }
type DeploymentLog ¶ added in v0.0.21
type Environment ¶ added in v0.0.21
type Environment struct { Id string `json:"id"` Name string `json:"name"` ProjectId string `json:"projectId"` WorkspaceName string `json:"workspaceName,omitempty"` RequiresApproval *bool `json:"requiresApproval,omitempty"` ContinuousDeployment *bool `json:"continuousDeployment,omitempty"` PullRequestPlanDeployments *bool `json:"pullRequestPlanDeployments,omitempty"` AutoDeployOnPathChangesOnly *bool `json:"autoDeployOnPathChangesOnly,omitempty"` AutoDeployByCustomGlob string `json:"autoDeployByCustomGlob,omitempty"` Status string `json:"status"` LifespanEndAt string `json:"lifespanEndAt"` LatestDeploymentLogId string `json:"latestDeploymentLogId"` LatestDeploymentLog DeploymentLog `json:"latestDeploymentLog"` }
type EnvironmentCreate ¶ added in v0.0.21
type EnvironmentCreate struct { Name string `json:"name"` ProjectId string `json:"projectId"` DeployRequest *DeployRequest `json:"deployRequest"` WorkspaceName string `json:"workspaceName,omitempty"` RequiresApproval *bool `json:"requiresApproval,omitempty"` ContinuousDeployment *bool `json:"continuousDeployment,omitempty"` PullRequestPlanDeployments *bool `json:"pullRequestPlanDeployments,omitempty"` AutoDeployOnPathChangesOnly *bool `json:"autoDeployOnPathChangesOnly,omitempty"` AutoDeployByCustomGlob string `json:"autoDeployByCustomGlob,omitempty"` ConfigurationChanges *ConfigurationChanges `json:"configurationChanges,omitempty"` TTL *TTL `json:"ttl,omitempty"` }
type EnvironmentDeployResponse ¶ added in v0.0.21
type EnvironmentDeployResponse struct {
Id string `json:"id"`
}
type EnvironmentScheduling ¶ added in v0.0.23
type EnvironmentScheduling struct { Deploy *EnvironmentSchedulingExpression `json:"deploy,omitempty"` Destroy *EnvironmentSchedulingExpression `json:"destroy,omitempty"` }
type EnvironmentSchedulingExpression ¶ added in v0.0.23
type EnvironmentUpdate ¶ added in v0.0.21
type EnvironmentUpdate struct { Name string `json:"name,omitempty"` RequiresApproval *bool `json:"requiresApproval,omitempty"` IsArchived *bool `json:"isArchived,omitempty"` ContinuousDeployment *bool `json:"continuousDeployment,omitempty"` PullRequestPlanDeployments *bool `json:"pullRequestPlanDeployments,omitempty"` AutoDeployOnPathChangesOnly *bool `json:"autoDeployOnPathChangesOnly,omitempty"` AutoDeployByCustomGlob string `json:"autoDeployByCustomGlob,omitempty"` }
type GitUserData ¶ added in v0.0.21
type MockApiClientInterface ¶ added in v0.0.6
type MockApiClientInterface struct {
// contains filtered or unexported fields
}
MockApiClientInterface is a mock of ApiClientInterface interface.
func NewMockApiClientInterface ¶ added in v0.0.6
func NewMockApiClientInterface(ctrl *gomock.Controller) *MockApiClientInterface
NewMockApiClientInterface creates a new mock instance.
func (*MockApiClientInterface) AssignCloudCredentialsToProject ¶ added in v0.0.6
func (m *MockApiClientInterface) AssignCloudCredentialsToProject(arg0, arg1 string) (CloudCredentialsProjectAssignment, error)
AssignCloudCredentialsToProject mocks base method.
func (*MockApiClientInterface) AssignTemplateToProject ¶ added in v0.0.6
func (m *MockApiClientInterface) AssignTemplateToProject(arg0 string, arg1 TemplateAssignmentToProjectPayload) (Template, error)
AssignTemplateToProject mocks base method.
func (*MockApiClientInterface) AwsCredentials ¶ added in v0.0.6
func (m *MockApiClientInterface) AwsCredentials(arg0 string) (ApiKey, error)
AwsCredentials mocks base method.
func (*MockApiClientInterface) AwsCredentialsCreate ¶ added in v0.0.6
func (m *MockApiClientInterface) AwsCredentialsCreate(arg0 AwsCredentialsCreatePayload) (ApiKey, error)
AwsCredentialsCreate mocks base method.
func (*MockApiClientInterface) AwsCredentialsDelete ¶ added in v0.0.6
func (m *MockApiClientInterface) AwsCredentialsDelete(arg0 string) error
AwsCredentialsDelete mocks base method.
func (*MockApiClientInterface) AwsCredentialsList ¶ added in v0.0.6
func (m *MockApiClientInterface) AwsCredentialsList() ([]ApiKey, error)
AwsCredentialsList mocks base method.
func (*MockApiClientInterface) CloudCredentialIdsInProject ¶ added in v0.0.6
func (m *MockApiClientInterface) CloudCredentialIdsInProject(arg0 string) ([]string, error)
CloudCredentialIdsInProject mocks base method.
func (*MockApiClientInterface) ConfigurationVariableCreate ¶ added in v0.0.6
func (m *MockApiClientInterface) ConfigurationVariableCreate(arg0 ConfigurationVariableCreateParams) (ConfigurationVariable, error)
ConfigurationVariableCreate mocks base method.
func (*MockApiClientInterface) ConfigurationVariableDelete ¶ added in v0.0.6
func (m *MockApiClientInterface) ConfigurationVariableDelete(arg0 string) error
ConfigurationVariableDelete mocks base method.
func (*MockApiClientInterface) ConfigurationVariableUpdate ¶ added in v0.0.6
func (m *MockApiClientInterface) ConfigurationVariableUpdate(arg0 ConfigurationVariableUpdateParams) (ConfigurationVariable, error)
ConfigurationVariableUpdate mocks base method.
func (*MockApiClientInterface) ConfigurationVariablesById ¶ added in v0.2.25
func (m *MockApiClientInterface) ConfigurationVariablesById(arg0 string) (ConfigurationVariable, error)
ConfigurationVariablesById mocks base method.
func (*MockApiClientInterface) ConfigurationVariablesByScope ¶ added in v0.2.25
func (m *MockApiClientInterface) ConfigurationVariablesByScope(arg0 Scope, arg1 string) ([]ConfigurationVariable, error)
ConfigurationVariables mocks base method.
func (*MockApiClientInterface) EXPECT ¶ added in v0.0.6
func (m *MockApiClientInterface) EXPECT() *MockApiClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApiClientInterface) Environment ¶ added in v0.0.21
func (m *MockApiClientInterface) Environment(arg0 string) (Environment, error)
Environment mocks base method.
func (*MockApiClientInterface) EnvironmentCreate ¶ added in v0.0.21
func (m *MockApiClientInterface) EnvironmentCreate(arg0 EnvironmentCreate) (Environment, error)
EnvironmentCreate mocks base method.
func (*MockApiClientInterface) EnvironmentDeploy ¶ added in v0.0.21
func (m *MockApiClientInterface) EnvironmentDeploy(arg0 string, arg1 DeployRequest) (EnvironmentDeployResponse, error)
EnvironmentDeploy mocks base method.
func (*MockApiClientInterface) EnvironmentDestroy ¶ added in v0.0.21
func (m *MockApiClientInterface) EnvironmentDestroy(arg0 string) (Environment, error)
EnvironmentDestroy mocks base method.
func (*MockApiClientInterface) EnvironmentScheduling ¶ added in v0.0.23
func (m *MockApiClientInterface) EnvironmentScheduling(arg0 string) (EnvironmentScheduling, error)
EnvironmentScheduling mocks base method.
func (*MockApiClientInterface) EnvironmentSchedulingDelete ¶ added in v0.0.23
func (m *MockApiClientInterface) EnvironmentSchedulingDelete(arg0 string) error
EnvironmentSchedulingDelete mocks base method.
func (*MockApiClientInterface) EnvironmentSchedulingUpdate ¶ added in v0.0.23
func (m *MockApiClientInterface) EnvironmentSchedulingUpdate(arg0 string, arg1 EnvironmentScheduling) (EnvironmentScheduling, error)
EnvironmentSchedulingUpdate mocks base method.
func (*MockApiClientInterface) EnvironmentUpdate ¶ added in v0.0.21
func (m *MockApiClientInterface) EnvironmentUpdate(arg0 string, arg1 EnvironmentUpdate) (Environment, error)
EnvironmentUpdate mocks base method.
func (*MockApiClientInterface) EnvironmentUpdateTTL ¶ added in v0.0.21
func (m *MockApiClientInterface) EnvironmentUpdateTTL(arg0 string, arg1 TTL) (Environment, error)
EnvironmentUpdateTTL mocks base method.
func (*MockApiClientInterface) Environments ¶ added in v0.0.21
func (m *MockApiClientInterface) Environments() ([]Environment, error)
Environments mocks base method.
func (*MockApiClientInterface) Organization ¶ added in v0.0.6
func (m *MockApiClientInterface) Organization() (Organization, error)
Organization mocks base method.
func (*MockApiClientInterface) Policy ¶ added in v0.0.15
func (m *MockApiClientInterface) Policy(arg0 string) (Policy, error)
Policy mocks base method.
func (*MockApiClientInterface) PolicyUpdate ¶ added in v0.0.15
func (m *MockApiClientInterface) PolicyUpdate(arg0 PolicyUpdatePayload) (Policy, error)
PolicyUpdate mocks base method.
func (*MockApiClientInterface) Project ¶ added in v0.0.6
func (m *MockApiClientInterface) Project(arg0 string) (Project, error)
Project mocks base method.
func (*MockApiClientInterface) ProjectCreate ¶ added in v0.0.6
func (m *MockApiClientInterface) ProjectCreate(arg0 ProjectCreatePayload) (Project, error)
ProjectCreate mocks base method.
func (*MockApiClientInterface) ProjectDelete ¶ added in v0.0.6
func (m *MockApiClientInterface) ProjectDelete(arg0 string) error
ProjectDelete mocks base method.
func (*MockApiClientInterface) ProjectUpdate ¶ added in v0.0.6
func (m *MockApiClientInterface) ProjectUpdate(arg0 string, arg1 ProjectCreatePayload) (Project, error)
ProjectUpdate mocks base method.
func (*MockApiClientInterface) Projects ¶ added in v0.0.6
func (m *MockApiClientInterface) Projects() ([]Project, error)
Projects mocks base method.
func (*MockApiClientInterface) RemoveCloudCredentialsFromProject ¶ added in v0.0.6
func (m *MockApiClientInterface) RemoveCloudCredentialsFromProject(arg0, arg1 string) error
RemoveCloudCredentialsFromProject mocks base method.
func (*MockApiClientInterface) RemoveTemplateFromProject ¶ added in v0.0.6
func (m *MockApiClientInterface) RemoveTemplateFromProject(arg0, arg1 string) error
RemoveTemplateFromProject mocks base method.
func (*MockApiClientInterface) SshKeyCreate ¶ added in v0.0.6
func (m *MockApiClientInterface) SshKeyCreate(arg0 SshKeyCreatePayload) (SshKey, error)
SshKeyCreate mocks base method.
func (*MockApiClientInterface) SshKeyDelete ¶ added in v0.0.6
func (m *MockApiClientInterface) SshKeyDelete(arg0 string) error
SshKeyDelete mocks base method.
func (*MockApiClientInterface) SshKeys ¶ added in v0.0.6
func (m *MockApiClientInterface) SshKeys() ([]SshKey, error)
SshKeys mocks base method.
func (*MockApiClientInterface) Team ¶ added in v0.0.13
func (m *MockApiClientInterface) Team(arg0 string) (Team, error)
Team mocks base method.
func (*MockApiClientInterface) TeamCreate ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamCreate(arg0 TeamCreatePayload) (Team, error)
TeamCreate mocks base method.
func (*MockApiClientInterface) TeamDelete ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamDelete(arg0 string) error
TeamDelete mocks base method.
func (*MockApiClientInterface) TeamProjectAssignmentCreateOrUpdate ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamProjectAssignmentCreateOrUpdate(arg0 TeamProjectAssignmentPayload) (TeamProjectAssignment, error)
TeamProjectAssignmentCreateOrUpdate mocks base method.
func (*MockApiClientInterface) TeamProjectAssignmentDelete ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamProjectAssignmentDelete(arg0 string) error
TeamProjectAssignmentDelete mocks base method.
func (*MockApiClientInterface) TeamProjectAssignments ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamProjectAssignments(arg0 string) ([]TeamProjectAssignment, error)
TeamProjectAssignments mocks base method.
func (*MockApiClientInterface) TeamUpdate ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamUpdate(arg0 string, arg1 TeamUpdatePayload) (Team, error)
TeamUpdate mocks base method.
func (*MockApiClientInterface) Teams ¶ added in v0.0.13
func (m *MockApiClientInterface) Teams() ([]Team, error)
Teams mocks base method.
func (*MockApiClientInterface) Template ¶ added in v0.0.6
func (m *MockApiClientInterface) Template(arg0 string) (Template, error)
Template mocks base method.
func (*MockApiClientInterface) TemplateCreate ¶ added in v0.0.6
func (m *MockApiClientInterface) TemplateCreate(arg0 TemplateCreatePayload) (Template, error)
TemplateCreate mocks base method.
func (*MockApiClientInterface) TemplateDelete ¶ added in v0.0.6
func (m *MockApiClientInterface) TemplateDelete(arg0 string) error
TemplateDelete mocks base method.
func (*MockApiClientInterface) TemplateUpdate ¶ added in v0.0.6
func (m *MockApiClientInterface) TemplateUpdate(arg0 string, arg1 TemplateCreatePayload) (Template, error)
TemplateUpdate mocks base method.
func (*MockApiClientInterface) Templates ¶ added in v0.0.6
func (m *MockApiClientInterface) Templates() ([]Template, error)
Templates mocks base method.
func (*MockApiClientInterface) WorkflowTrigger ¶ added in v0.0.23
func (m *MockApiClientInterface) WorkflowTrigger(arg0 string) ([]WorkflowTrigger, error)
WorkflowTrigger mocks base method.
func (*MockApiClientInterface) WorkflowTriggerUpsert ¶ added in v0.0.23
func (m *MockApiClientInterface) WorkflowTriggerUpsert(arg0 string, arg1 WorkflowTriggerUpsertPayload) ([]WorkflowTrigger, error)
WorkflowTriggerUpsert mocks base method.
type MockApiClientInterfaceMockRecorder ¶ added in v0.0.6
type MockApiClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockApiClientInterfaceMockRecorder is the mock recorder for MockApiClientInterface.
func (*MockApiClientInterfaceMockRecorder) AssignCloudCredentialsToProject ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AssignCloudCredentialsToProject(arg0, arg1 interface{}) *gomock.Call
AssignCloudCredentialsToProject indicates an expected call of AssignCloudCredentialsToProject.
func (*MockApiClientInterfaceMockRecorder) AssignTemplateToProject ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AssignTemplateToProject(arg0, arg1 interface{}) *gomock.Call
AssignTemplateToProject indicates an expected call of AssignTemplateToProject.
func (*MockApiClientInterfaceMockRecorder) AwsCredentials ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AwsCredentials(arg0 interface{}) *gomock.Call
AwsCredentials indicates an expected call of AwsCredentials.
func (*MockApiClientInterfaceMockRecorder) AwsCredentialsCreate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsCreate(arg0 interface{}) *gomock.Call
AwsCredentialsCreate indicates an expected call of AwsCredentialsCreate.
func (*MockApiClientInterfaceMockRecorder) AwsCredentialsDelete ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsDelete(arg0 interface{}) *gomock.Call
AwsCredentialsDelete indicates an expected call of AwsCredentialsDelete.
func (*MockApiClientInterfaceMockRecorder) AwsCredentialsList ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsList() *gomock.Call
AwsCredentialsList indicates an expected call of AwsCredentialsList.
func (*MockApiClientInterfaceMockRecorder) CloudCredentialIdsInProject ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialIdsInProject(arg0 interface{}) *gomock.Call
CloudCredentialIdsInProject indicates an expected call of CloudCredentialIdsInProject.
func (*MockApiClientInterfaceMockRecorder) ConfigurationVariableCreate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableCreate(arg0 interface{}) *gomock.Call
ConfigurationVariableCreate indicates an expected call of ConfigurationVariableCreate.
func (*MockApiClientInterfaceMockRecorder) ConfigurationVariableDelete ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableDelete(arg0 interface{}) *gomock.Call
ConfigurationVariableDelete indicates an expected call of ConfigurationVariableDelete.
func (*MockApiClientInterfaceMockRecorder) ConfigurationVariableUpdate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableUpdate(arg0 interface{}) *gomock.Call
ConfigurationVariableUpdate indicates an expected call of ConfigurationVariableUpdate.
func (*MockApiClientInterfaceMockRecorder) ConfigurationVariables ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariables(arg0, arg1 interface{}) *gomock.Call
ConfigurationVariables indicates an expected call of ConfigurationVariables.
func (*MockApiClientInterfaceMockRecorder) ConfigurationVariablesById ¶ added in v0.2.25
func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariablesById(arg0 interface{}) *gomock.Call
ConfigurationVariablesById indicates an expected call of ConfigurationVariablesById.
func (*MockApiClientInterfaceMockRecorder) Environment ¶ added in v0.0.21
func (mr *MockApiClientInterfaceMockRecorder) Environment(arg0 interface{}) *gomock.Call
Environment indicates an expected call of Environment.
func (*MockApiClientInterfaceMockRecorder) EnvironmentCreate ¶ added in v0.0.21
func (mr *MockApiClientInterfaceMockRecorder) EnvironmentCreate(arg0 interface{}) *gomock.Call
EnvironmentCreate indicates an expected call of EnvironmentCreate.
func (*MockApiClientInterfaceMockRecorder) EnvironmentDeploy ¶ added in v0.0.21
func (mr *MockApiClientInterfaceMockRecorder) EnvironmentDeploy(arg0, arg1 interface{}) *gomock.Call
EnvironmentDeploy indicates an expected call of EnvironmentDeploy.
func (*MockApiClientInterfaceMockRecorder) EnvironmentDestroy ¶ added in v0.0.21
func (mr *MockApiClientInterfaceMockRecorder) EnvironmentDestroy(arg0 interface{}) *gomock.Call
EnvironmentDestroy indicates an expected call of EnvironmentDestroy.
func (*MockApiClientInterfaceMockRecorder) EnvironmentScheduling ¶ added in v0.0.23
func (mr *MockApiClientInterfaceMockRecorder) EnvironmentScheduling(arg0 interface{}) *gomock.Call
EnvironmentScheduling indicates an expected call of EnvironmentScheduling.
func (*MockApiClientInterfaceMockRecorder) EnvironmentSchedulingDelete ¶ added in v0.0.23
func (mr *MockApiClientInterfaceMockRecorder) EnvironmentSchedulingDelete(arg0 interface{}) *gomock.Call
EnvironmentSchedulingDelete indicates an expected call of EnvironmentSchedulingDelete.
func (*MockApiClientInterfaceMockRecorder) EnvironmentSchedulingUpdate ¶ added in v0.0.23
func (mr *MockApiClientInterfaceMockRecorder) EnvironmentSchedulingUpdate(arg0, arg1 interface{}) *gomock.Call
EnvironmentSchedulingUpdate indicates an expected call of EnvironmentSchedulingUpdate.
func (*MockApiClientInterfaceMockRecorder) EnvironmentUpdate ¶ added in v0.0.21
func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdate(arg0, arg1 interface{}) *gomock.Call
EnvironmentUpdate indicates an expected call of EnvironmentUpdate.
func (*MockApiClientInterfaceMockRecorder) EnvironmentUpdateTTL ¶ added in v0.0.21
func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdateTTL(arg0, arg1 interface{}) *gomock.Call
EnvironmentUpdateTTL indicates an expected call of EnvironmentUpdateTTL.
func (*MockApiClientInterfaceMockRecorder) Environments ¶ added in v0.0.21
func (mr *MockApiClientInterfaceMockRecorder) Environments() *gomock.Call
Environments indicates an expected call of Environments.
func (*MockApiClientInterfaceMockRecorder) Organization ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) Organization() *gomock.Call
Organization indicates an expected call of Organization.
func (*MockApiClientInterfaceMockRecorder) Policy ¶ added in v0.0.15
func (mr *MockApiClientInterfaceMockRecorder) Policy(arg0 interface{}) *gomock.Call
Policy indicates an expected call of Policy.
func (*MockApiClientInterfaceMockRecorder) PolicyUpdate ¶ added in v0.0.15
func (mr *MockApiClientInterfaceMockRecorder) PolicyUpdate(arg0 interface{}) *gomock.Call
PolicyUpdate indicates an expected call of PolicyUpdate.
func (*MockApiClientInterfaceMockRecorder) Project ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) Project(arg0 interface{}) *gomock.Call
Project indicates an expected call of Project.
func (*MockApiClientInterfaceMockRecorder) ProjectCreate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ProjectCreate(arg0 interface{}) *gomock.Call
ProjectCreate indicates an expected call of ProjectCreate.
func (*MockApiClientInterfaceMockRecorder) ProjectDelete ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ProjectDelete(arg0 interface{}) *gomock.Call
ProjectDelete indicates an expected call of ProjectDelete.
func (*MockApiClientInterfaceMockRecorder) ProjectUpdate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ProjectUpdate(arg0, arg1 interface{}) *gomock.Call
ProjectUpdate indicates an expected call of ProjectUpdate.
func (*MockApiClientInterfaceMockRecorder) Projects ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) Projects() *gomock.Call
Projects indicates an expected call of Projects.
func (*MockApiClientInterfaceMockRecorder) RemoveCloudCredentialsFromProject ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) RemoveCloudCredentialsFromProject(arg0, arg1 interface{}) *gomock.Call
RemoveCloudCredentialsFromProject indicates an expected call of RemoveCloudCredentialsFromProject.
func (*MockApiClientInterfaceMockRecorder) RemoveTemplateFromProject ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) RemoveTemplateFromProject(arg0, arg1 interface{}) *gomock.Call
RemoveTemplateFromProject indicates an expected call of RemoveTemplateFromProject.
func (*MockApiClientInterfaceMockRecorder) SshKeyCreate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) SshKeyCreate(arg0 interface{}) *gomock.Call
SshKeyCreate indicates an expected call of SshKeyCreate.
func (*MockApiClientInterfaceMockRecorder) SshKeyDelete ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) SshKeyDelete(arg0 interface{}) *gomock.Call
SshKeyDelete indicates an expected call of SshKeyDelete.
func (*MockApiClientInterfaceMockRecorder) SshKeys ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) SshKeys() *gomock.Call
SshKeys indicates an expected call of SshKeys.
func (*MockApiClientInterfaceMockRecorder) Team ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) Team(arg0 interface{}) *gomock.Call
Team indicates an expected call of Team.
func (*MockApiClientInterfaceMockRecorder) TeamCreate ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamCreate(arg0 interface{}) *gomock.Call
TeamCreate indicates an expected call of TeamCreate.
func (*MockApiClientInterfaceMockRecorder) TeamDelete ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamDelete(arg0 interface{}) *gomock.Call
TeamDelete indicates an expected call of TeamDelete.
func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignmentCreateOrUpdate ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentCreateOrUpdate(arg0 interface{}) *gomock.Call
TeamProjectAssignmentCreateOrUpdate indicates an expected call of TeamProjectAssignmentCreateOrUpdate.
func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignmentDelete ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentDelete(arg0 interface{}) *gomock.Call
TeamProjectAssignmentDelete indicates an expected call of TeamProjectAssignmentDelete.
func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignments ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignments(arg0 interface{}) *gomock.Call
TeamProjectAssignments indicates an expected call of TeamProjectAssignments.
func (*MockApiClientInterfaceMockRecorder) TeamUpdate ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamUpdate(arg0, arg1 interface{}) *gomock.Call
TeamUpdate indicates an expected call of TeamUpdate.
func (*MockApiClientInterfaceMockRecorder) Teams ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) Teams() *gomock.Call
Teams indicates an expected call of Teams.
func (*MockApiClientInterfaceMockRecorder) Template ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) Template(arg0 interface{}) *gomock.Call
Template indicates an expected call of Template.
func (*MockApiClientInterfaceMockRecorder) TemplateCreate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) TemplateCreate(arg0 interface{}) *gomock.Call
TemplateCreate indicates an expected call of TemplateCreate.
func (*MockApiClientInterfaceMockRecorder) TemplateDelete ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) TemplateDelete(arg0 interface{}) *gomock.Call
TemplateDelete indicates an expected call of TemplateDelete.
func (*MockApiClientInterfaceMockRecorder) TemplateUpdate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) TemplateUpdate(arg0, arg1 interface{}) *gomock.Call
TemplateUpdate indicates an expected call of TemplateUpdate.
func (*MockApiClientInterfaceMockRecorder) Templates ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) Templates() *gomock.Call
Templates indicates an expected call of Templates.
func (*MockApiClientInterfaceMockRecorder) WorkflowTrigger ¶ added in v0.0.23
func (mr *MockApiClientInterfaceMockRecorder) WorkflowTrigger(arg0 interface{}) *gomock.Call
WorkflowTrigger indicates an expected call of WorkflowTrigger.
func (*MockApiClientInterfaceMockRecorder) WorkflowTriggerUpsert ¶ added in v0.0.23
func (mr *MockApiClientInterfaceMockRecorder) WorkflowTriggerUpsert(arg0, arg1 interface{}) *gomock.Call
WorkflowTriggerUpsert indicates an expected call of WorkflowTriggerUpsert.
type Organization ¶
type Policy ¶ added in v0.0.15
type Policy struct { Id string `json:"id"` ProjectId string `json:"projectId"` NumberOfEnvironments int `json:"numberOfEnvironments"` NumberOfEnvironmentsTotal int `json:"numberOfEnvironmentsTotal"` RequiresApprovalDefault bool `json:"requiresApprovalDefault"` IncludeCostEstimation bool `json:"includeCostEstimation"` SkipApplyWhenPlanIsEmpty bool `json:"skipApplyWhenPlanIsEmpty"` DisableDestroyEnvironments bool `json:"disableDestroyEnvironments"` SkipRedundantDeployments bool `json:"skipRedundantDeployments"` UpdatedBy string `json:"updatedBy"` RunPullRequestPlanDefault bool `json:"runPullRequestPlanDefault"` ContinuousDeploymentDefault bool `json:"continuousDeploymentDefault"` }
type PolicyUpdatePayload ¶ added in v0.0.15
type PolicyUpdatePayload struct { ProjectId string `json:"projectId"` NumberOfEnvironments int `json:"numberOfEnvironments"` NumberOfEnvironmentsTotal int `json:"numberOfEnvironmentsTotal"` RequiresApprovalDefault bool `json:"requiresApprovalDefault"` IncludeCostEstimation bool `json:"includeCostEstimation"` SkipApplyWhenPlanIsEmpty bool `json:"skipApplyWhenPlanIsEmpty"` DisableDestroyEnvironments bool `json:"disableDestroyEnvironments"` SkipRedundantDeployments bool `json:"skipRedundantDeployments"` RunPullRequestPlanDefault bool `json:"runPullRequestPlanDefault"` ContinuousDeploymentDefault bool `json:"continuousDeploymentDefault"` }
func (PolicyUpdatePayload) MarshalJSON ¶ added in v0.0.18
func (p PolicyUpdatePayload) MarshalJSON() ([]byte, error)
type Project ¶
type Project struct { IsArchived bool `json:"isArchived"` OrganizationId string `json:"organizationId"` UpdatedAt string `json:"updatedAt"` CreatedAt string `json:"createdAt"` Id string `json:"id"` Name string `json:"name"` CreatedBy string `json:"createdBy"` Role string `json:"role"` CreatedByUser User `json:"createdByUser"` Description string `json:"description"` }
type ProjectCreatePayload ¶ added in v0.0.7
type SshKey ¶
type SshKey struct { User User `json:"user"` UserId string `json:"userId"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` OrganizationId string `json:"organizationId"` Value string `json:"value"` }
type SshKeyCreatePayload ¶
type TeamCreatePayload ¶ added in v0.0.13
type TeamProjectAssignment ¶ added in v0.0.13
type TeamProjectAssignmentPayload ¶ added in v0.0.13
type TeamUpdatePayload ¶ added in v0.0.13
type Template ¶
type Template struct { Author User `json:"author"` AuthorId string `json:"authorId"` CreatedAt string `json:"createdAt"` Href string `json:"href"` Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` OrganizationId string `json:"organizationId"` Path string `json:"path"` Revision string `json:"revision"` ProjectId string `json:"projectId"` ProjectIds []string `json:"projectIds"` Repository string `json:"repository"` Retry TemplateRetry `json:"retry"` SshKeys []TemplateSshKey `json:"sshKeys"` Type string `json:"type"` GithubInstallationId int `json:"githubInstallationId"` TokenId string `json:"tokenId,omitempty"` GitlabProjectId int `json:"gitlabProjectId,omitempty"` UpdatedAt string `json:"updatedAt"` TerraformVersion string `json:"terraformVersion"` IsDeleted bool `json:"isDeleted,omitempty"` }
type TemplateAssignmentToProject ¶ added in v0.0.6
type TemplateAssignmentToProjectPayload ¶ added in v0.0.6
type TemplateAssignmentToProjectPayload struct {
ProjectId string `json:"projectId"`
}
type TemplateCreatePayload ¶
type TemplateCreatePayload struct { Retry TemplateRetry `json:"retry"` SshKeys []TemplateSshKey `json:"sshKeys,omitempty"` Type TemplateType `json:"type"` Description string `json:"description"` Name string `json:"name"` Repository string `json:"repository"` Path string `json:"path"` IsGitLab bool `json:"isGitLab"` TokenName string `json:"tokenName"` TokenId string `json:"tokenId,omitempty"` GithubInstallationId int `json:"githubInstallationId,omitempty"` GitlabProjectId int `json:"gitlabProjectId,omitempty"` Revision string `json:"revision"` OrganizationId string `json:"organizationId"` TerraformVersion string `json:"terraformVersion"` }
type TemplateRetry ¶
type TemplateRetry struct { OnDeploy *TemplateRetryOn `json:"onDeploy"` OnDestroy *TemplateRetryOn `json:"onDestroy"` }
type TemplateRetryOn ¶
type TemplateSshKey ¶
type TemplateType ¶
type TemplateType string
const ( TemplateTypeTerraform TemplateType = "terraform" TemplateTypeTerragrunt TemplateType = "terragrunt" )
type User ¶
type User struct { CreatedAt string `json:"created_at"` Email string `json:"email"` FamilyName string `json:"family_name"` GivenName string `json:"given_name"` Name string `json:"name"` Picture string `json:"picture"` UserId string `json:"user_id"` LastLogin string `json:"last_login"` AppMetadata map[string]interface{} `json:"app_metadata"` }
type WorkflowTrigger ¶ added in v0.0.23
type WorkflowTrigger struct {
Id string `json:"id"`
}
type WorkflowTriggerUpsertPayload ¶ added in v0.0.23
type WorkflowTriggerUpsertPayload struct {
DownstreamEnvironmentIds []string `json:"downstreamEnvironmentIds"`
}