Documentation
¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- Constants
- Variables
- type Agent
- type ApiClient
- func (client *ApiClient) Agents() ([]Agent, error)
- func (client *ApiClient) ApiKeyCreate(payload ApiKeyCreatePayload) (*ApiKey, error)
- func (client *ApiClient) ApiKeyDelete(id string) error
- func (client *ApiClient) ApiKeys() ([]ApiKey, error)
- func (client *ApiClient) AssignAgentsToProjects(payload AssignProjectsAgentsAssignmentsPayload) (*ProjectsAgentsAssignments, error)
- func (client *ApiClient) AssignCloudCredentialsToProject(projectId string, credentialId string) (CloudCredentialsProjectAssignment, error)
- func (client *ApiClient) AssignCostCredentialsToProject(projectId string, credentialId string) (CostCredentialProjectAssignment, error)
- func (client *ApiClient) AssignTemplateToProject(id string, payload TemplateAssignmentToProjectPayload) (Template, error)
- func (client *ApiClient) AwsCredentialsCreate(request AwsCredentialsCreatePayload) (Credentials, error)
- func (client *ApiClient) AzureCredentialsCreate(request AzureCredentialsCreatePayload) (Credentials, error)
- func (client *ApiClient) CloudCredentialIdsInProject(projectId string) ([]string, error)
- func (client *ApiClient) CloudCredentials(id string) (Credentials, error)
- func (client *ApiClient) CloudCredentialsDelete(id string) error
- func (client *ApiClient) CloudCredentialsList() ([]Credentials, error)
- func (client *ApiClient) ConfigurationVariableCreate(params ConfigurationVariableCreateParams) (ConfigurationVariable, error)
- func (client *ApiClient) ConfigurationVariableDelete(id string) error
- func (client *ApiClient) ConfigurationVariableUpdate(updateParams ConfigurationVariableUpdateParams) (ConfigurationVariable, error)
- func (client *ApiClient) ConfigurationVariablesById(id string) (ConfigurationVariable, error)
- func (client *ApiClient) ConfigurationVariablesByScope(scope Scope, scopeId string) ([]ConfigurationVariable, error)
- func (client *ApiClient) CostCredentialIdsInProject(projectId string) ([]CostCredentialProjectAssignment, error)
- func (client *ApiClient) Deployment(id string) (DeploymentLog, error)
- func (client *ApiClient) Environment(id string) (Environment, error)
- func (client *ApiClient) EnvironmentCreate(payload EnvironmentCreate) (Environment, error)
- func (client *ApiClient) EnvironmentDeploy(id string, payload DeployRequest) (EnvironmentDeployResponse, error)
- func (client *ApiClient) EnvironmentDestroy(id string) (EnvironmentDeployResponse, error)
- func (client *ApiClient) EnvironmentDriftDetection(environmentId string) (EnvironmentSchedulingExpression, error)
- func (client *ApiClient) EnvironmentScheduling(environmentId string) (EnvironmentScheduling, error)
- func (client *ApiClient) EnvironmentSchedulingDelete(environmentId string) error
- func (client *ApiClient) EnvironmentSchedulingUpdate(environmentId string, payload EnvironmentScheduling) (EnvironmentScheduling, error)
- func (client *ApiClient) EnvironmentStopDriftDetection(environmentId string) error
- func (client *ApiClient) EnvironmentUpdate(id string, payload EnvironmentUpdate) (Environment, error)
- func (client *ApiClient) EnvironmentUpdateDriftDetection(environmentId string, payload EnvironmentSchedulingExpression) (EnvironmentSchedulingExpression, error)
- func (client *ApiClient) EnvironmentUpdateTTL(id string, payload TTL) (Environment, error)
- func (client *ApiClient) Environments() ([]Environment, error)
- func (client *ApiClient) GcpCredentialsCreate(request GcpCredentialsCreatePayload) (Credentials, error)
- func (client *ApiClient) GitToken(id string) (*GitToken, error)
- func (client *ApiClient) GitTokenCreate(payload GitTokenCreatePayload) (*GitToken, error)
- func (client *ApiClient) GitTokenDelete(id string) error
- func (client *ApiClient) GitTokens() ([]GitToken, error)
- func (client *ApiClient) GoogleCostCredentialsCreate(request GoogleCostCredentialsCreatePayload) (Credentials, error)
- func (client *ApiClient) Module(id string) (*Module, error)
- func (client *ApiClient) ModuleCreate(payload ModuleCreatePayload) (*Module, error)
- func (client *ApiClient) ModuleDelete(id string) error
- func (client *ApiClient) ModuleUpdate(id string, payload ModuleUpdatePayload) (*Module, error)
- func (client *ApiClient) Modules() ([]Module, error)
- func (client *ApiClient) NotificationCreate(payload NotificationCreatePayload) (*Notification, error)
- func (client *ApiClient) NotificationDelete(id string) error
- func (client *ApiClient) NotificationProjectAssignmentUpdate(projectId string, endpointId string, ...) (*NotificationProjectAssignment, error)
- func (client *ApiClient) NotificationProjectAssignments(projectId string) ([]NotificationProjectAssignment, error)
- func (client *ApiClient) NotificationUpdate(id string, payload NotificationUpdatePayload) (*Notification, error)
- func (client *ApiClient) Notifications() ([]Notification, error)
- func (client *ApiClient) Organization() (Organization, error)
- func (client *ApiClient) OrganizationPolicyUpdate(payload OrganizationPolicyUpdatePayload) (*Organization, error)
- func (client *ApiClient) Policy(projectId string) (Policy, error)
- func (client *ApiClient) PolicyUpdate(payload PolicyUpdatePayload) (Policy, error)
- func (client *ApiClient) Project(id string) (Project, error)
- func (client *ApiClient) ProjectCreate(payload ProjectCreatePayload) (Project, error)
- func (client *ApiClient) ProjectDelete(id string) error
- func (client *ApiClient) ProjectEnvironments(projectId string) ([]Environment, error)
- func (client *ApiClient) ProjectUpdate(id string, payload ProjectCreatePayload) (Project, error)
- func (client *ApiClient) Projects() ([]Project, error)
- func (client *ApiClient) ProjectsAgentsAssignments() (*ProjectsAgentsAssignments, error)
- func (client *ApiClient) RemoveCloudCredentialsFromProject(projectId string, credentialId string) error
- func (client *ApiClient) RemoveCostCredentialsFromProject(projectId string, credentialId string) error
- func (client *ApiClient) RemoveTemplateFromProject(templateId string, projectId string) error
- func (client *ApiClient) SshKeyCreate(payload SshKeyCreatePayload) (*SshKey, error)
- func (client *ApiClient) SshKeyDelete(id string) error
- func (client *ApiClient) SshKeys() ([]SshKey, error)
- func (client *ApiClient) Team(id string) (Team, error)
- func (client *ApiClient) TeamCreate(payload TeamCreatePayload) (Team, error)
- func (client *ApiClient) TeamDelete(id string) error
- func (client *ApiClient) TeamProjectAssignmentCreateOrUpdate(payload TeamProjectAssignmentPayload) (TeamProjectAssignment, error)
- func (client *ApiClient) TeamProjectAssignmentDelete(assignmentId string) error
- func (client *ApiClient) TeamProjectAssignments(projectId string) ([]TeamProjectAssignment, error)
- func (client *ApiClient) TeamUpdate(id string, payload TeamUpdatePayload) (Team, error)
- func (client *ApiClient) Teams() ([]Team, error)
- func (client *ApiClient) Template(id string) (Template, error)
- func (client *ApiClient) TemplateCreate(payload TemplateCreatePayload) (Template, error)
- func (client *ApiClient) TemplateDelete(id string) error
- func (client *ApiClient) TemplateUpdate(id string, payload TemplateCreatePayload) (Template, error)
- func (client *ApiClient) Templates() ([]Template, error)
- func (client *ApiClient) Users() ([]OrganizationUser, error)
- func (client *ApiClient) WorkflowTrigger(environmentId string) ([]WorkflowTrigger, error)
- func (client *ApiClient) WorkflowTriggerUpsert(environmentId string, request WorkflowTriggerUpsertPayload) ([]WorkflowTrigger, error)
- type ApiClientInterface
- type ApiKey
- type ApiKeyCreatePayload
- type ApiKeyCreatePayloadWith
- type AssignProjectsAgentsAssignmentsPayload
- type AwsCredentialsCreatePayload
- type AwsCredentialsType
- type AwsCredentialsValuePayload
- type AzureCredentialsCreatePayload
- type AzureCredentialsType
- type AzureCredentialsValuePayload
- type CloudCredentialIdsInProjectResponse
- type CloudCredentialsProjectAssignment
- type ConfigurationChanges
- type ConfigurationVariable
- type ConfigurationVariableCreateParams
- type ConfigurationVariableSchema
- type ConfigurationVariableType
- type ConfigurationVariableUpdateParams
- type CostCredentialProjectAssignment
- type Credentials
- type DeployRequest
- type DeploymentLog
- type Environment
- type EnvironmentCreate
- type EnvironmentDeployResponse
- type EnvironmentScheduling
- type EnvironmentSchedulingExpression
- type EnvironmentUpdate
- type Format
- type GcpCredentialsCreatePayload
- type GcpCredentialsType
- type GcpCredentialsValuePayload
- type GitToken
- type GitTokenCreatePayload
- type GitTokenCreatePayloadWith
- type GoogleCostCredentialsCreatePayload
- type GoogleCostCredentialsValuePayload
- type MockApiClientInterface
- func (m *MockApiClientInterface) Agents() ([]Agent, error)
- func (m *MockApiClientInterface) ApiKeyCreate(arg0 ApiKeyCreatePayload) (*ApiKey, error)
- func (m *MockApiClientInterface) ApiKeyDelete(arg0 string) error
- func (m *MockApiClientInterface) ApiKeys() ([]ApiKey, error)
- func (m *MockApiClientInterface) AssignAgentsToProjects(arg0 AssignProjectsAgentsAssignmentsPayload) (*ProjectsAgentsAssignments, error)
- func (m *MockApiClientInterface) AssignCloudCredentialsToProject(arg0, arg1 string) (CloudCredentialsProjectAssignment, error)
- func (m *MockApiClientInterface) AssignCostCredentialsToProject(arg0, arg1 string) (CostCredentialProjectAssignment, error)
- func (m *MockApiClientInterface) AssignTemplateToProject(arg0 string, arg1 TemplateAssignmentToProjectPayload) (Template, error)
- func (m *MockApiClientInterface) AwsCredentialsCreate(arg0 AwsCredentialsCreatePayload) (Credentials, error)
- func (m *MockApiClientInterface) AzureCredentialsCreate(arg0 AzureCredentialsCreatePayload) (Credentials, error)
- func (m *MockApiClientInterface) CloudCredentialIdsInProject(arg0 string) ([]string, error)
- func (m *MockApiClientInterface) CloudCredentials(arg0 string) (Credentials, error)
- func (m *MockApiClientInterface) CloudCredentialsDelete(arg0 string) error
- func (m *MockApiClientInterface) CloudCredentialsList() ([]Credentials, 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) CostCredentialIdsInProject(arg0 string) ([]CostCredentialProjectAssignment, error)
- func (m *MockApiClientInterface) Deployment(arg0 string) (DeploymentLog, 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) (EnvironmentDeployResponse, error)
- func (m *MockApiClientInterface) EnvironmentDriftDetection(arg0 string) (EnvironmentSchedulingExpression, 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) EnvironmentStopDriftDetection(arg0 string) error
- func (m *MockApiClientInterface) EnvironmentUpdate(arg0 string, arg1 EnvironmentUpdate) (Environment, error)
- func (m *MockApiClientInterface) EnvironmentUpdateDriftDetection(arg0 string, arg1 EnvironmentSchedulingExpression) (EnvironmentSchedulingExpression, error)
- func (m *MockApiClientInterface) EnvironmentUpdateTTL(arg0 string, arg1 TTL) (Environment, error)
- func (m *MockApiClientInterface) Environments() ([]Environment, error)
- func (m *MockApiClientInterface) GcpCredentialsCreate(arg0 GcpCredentialsCreatePayload) (Credentials, error)
- func (m *MockApiClientInterface) GitToken(arg0 string) (*GitToken, error)
- func (m *MockApiClientInterface) GitTokenCreate(arg0 GitTokenCreatePayload) (*GitToken, error)
- func (m *MockApiClientInterface) GitTokenDelete(arg0 string) error
- func (m *MockApiClientInterface) GitTokens() ([]GitToken, error)
- func (m *MockApiClientInterface) GoogleCostCredentialsCreate(arg0 GoogleCostCredentialsCreatePayload) (Credentials, error)
- func (m *MockApiClientInterface) Module(arg0 string) (*Module, error)
- func (m *MockApiClientInterface) ModuleCreate(arg0 ModuleCreatePayload) (*Module, error)
- func (m *MockApiClientInterface) ModuleDelete(arg0 string) error
- func (m *MockApiClientInterface) ModuleUpdate(arg0 string, arg1 ModuleUpdatePayload) (*Module, error)
- func (m *MockApiClientInterface) Modules() ([]Module, error)
- func (m *MockApiClientInterface) NotificationCreate(arg0 NotificationCreatePayload) (*Notification, error)
- func (m *MockApiClientInterface) NotificationDelete(arg0 string) error
- func (m *MockApiClientInterface) NotificationProjectAssignmentUpdate(arg0, arg1 string, arg2 NotificationProjectAssignmentUpdatePayload) (*NotificationProjectAssignment, error)
- func (m *MockApiClientInterface) NotificationProjectAssignments(arg0 string) ([]NotificationProjectAssignment, error)
- func (m *MockApiClientInterface) NotificationUpdate(arg0 string, arg1 NotificationUpdatePayload) (*Notification, error)
- func (m *MockApiClientInterface) Notifications() ([]Notification, error)
- func (m *MockApiClientInterface) Organization() (Organization, error)
- func (m *MockApiClientInterface) OrganizationPolicyUpdate(arg0 OrganizationPolicyUpdatePayload) (*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) ProjectEnvironments(arg0 string) ([]Environment, error)
- func (m *MockApiClientInterface) ProjectUpdate(arg0 string, arg1 ProjectCreatePayload) (Project, error)
- func (m *MockApiClientInterface) Projects() ([]Project, error)
- func (m *MockApiClientInterface) ProjectsAgentsAssignments() (*ProjectsAgentsAssignments, error)
- func (m *MockApiClientInterface) RemoveCloudCredentialsFromProject(arg0, arg1 string) error
- func (m *MockApiClientInterface) RemoveCostCredentialsFromProject(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) Users() ([]OrganizationUser, error)
- func (m *MockApiClientInterface) WorkflowTrigger(arg0 string) ([]WorkflowTrigger, error)
- func (m *MockApiClientInterface) WorkflowTriggerUpsert(arg0 string, arg1 WorkflowTriggerUpsertPayload) ([]WorkflowTrigger, error)
- type MockApiClientInterfaceMockRecorder
- func (mr *MockApiClientInterfaceMockRecorder) Agents() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ApiKeyCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ApiKeyDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ApiKeys() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AssignAgentsToProjects(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AssignCloudCredentialsToProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AssignCostCredentialsToProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AssignTemplateToProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AzureCredentialsCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialIdsInProject(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) CloudCredentials(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialsDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialsList() *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) ConfigurationVariablesById(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariablesByScope(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) CostCredentialIdsInProject(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Deployment(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) EnvironmentDriftDetection(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) EnvironmentStopDriftDetection(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdateDriftDetection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdateTTL(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Environments() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) GcpCredentialsCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) GitToken(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) GitTokenCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) GitTokenDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) GitTokens() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) GoogleCostCredentialsCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Module(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ModuleCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ModuleDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ModuleUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Modules() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) NotificationCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) NotificationDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) NotificationProjectAssignmentUpdate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) NotificationProjectAssignments(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) NotificationUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Notifications() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Organization() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) OrganizationPolicyUpdate(arg0 interface{}) *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) ProjectEnvironments(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ProjectUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Projects() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ProjectsAgentsAssignments() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) RemoveCloudCredentialsFromProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) RemoveCostCredentialsFromProject(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) Users() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) WorkflowTrigger(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) WorkflowTriggerUpsert(arg0, arg1 interface{}) *gomock.Call
- type Module
- type ModuleCreatePayload
- type ModuleCreatePayloadWith
- type ModuleSshKey
- type ModuleUpdatePayload
- type NotFoundError
- type Notification
- type NotificationCreatePayload
- type NotificationCreatePayloadWith
- type NotificationProjectAssignment
- type NotificationProjectAssignmentUpdatePayload
- type NotificationType
- type NotificationUpdatePayload
- type Organization
- type OrganizationPolicyUpdatePayload
- type OrganizationUser
- type Paginated
- type Pagination
- type Policy
- type PolicyUpdatePayload
- type Project
- type ProjectCreatePayload
- type ProjectsAgentsAssignments
- 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 ¶
const ( GoogleCostCredentialsType GcpCredentialsType = "GCP_CREDENTIALS" AzureCostCredentialsType AzureCredentialsType = "AZURE_CREDENTIALS" AwsCostCredentialsType AwsCredentialsType = "AWS_ASSUMED_ROLE" AwsAssumedRoleCredentialsType AwsCredentialsType = "AWS_ASSUMED_ROLE_FOR_DEPLOYMENT" AwsAccessKeysCredentialsType AwsCredentialsType = "AWS_ACCESS_KEYS_FOR_DEPLOYMENT" GcpServiceAccountCredentialsType GcpCredentialsType = "GCP_SERVICE_ACCOUNT_FOR_DEPLOYMENT" AzureServicePrincipalCredentialsType AzureCredentialsType = "AZURE_SERVICE_PRINCIPAL_FOR_DEPLOYMENT" )
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) ApiKeyCreate ¶ added in v0.2.32
func (client *ApiClient) ApiKeyCreate(payload ApiKeyCreatePayload) (*ApiKey, error)
func (*ApiClient) ApiKeyDelete ¶ added in v0.2.32
func (*ApiClient) AssignAgentsToProjects ¶ added in v1.0.0
func (client *ApiClient) AssignAgentsToProjects(payload AssignProjectsAgentsAssignmentsPayload) (*ProjectsAgentsAssignments, error)
func (*ApiClient) AssignCloudCredentialsToProject ¶ added in v0.0.6
func (client *ApiClient) AssignCloudCredentialsToProject(projectId string, credentialId string) (CloudCredentialsProjectAssignment, error)
func (*ApiClient) AssignCostCredentialsToProject ¶ added in v0.2.32
func (client *ApiClient) AssignCostCredentialsToProject(projectId string, credentialId string) (CostCredentialProjectAssignment, error)
func (*ApiClient) AssignTemplateToProject ¶ added in v0.0.6
func (client *ApiClient) AssignTemplateToProject(id string, payload TemplateAssignmentToProjectPayload) (Template, error)
func (*ApiClient) AwsCredentialsCreate ¶ added in v0.0.4
func (client *ApiClient) AwsCredentialsCreate(request AwsCredentialsCreatePayload) (Credentials, error)
func (*ApiClient) AzureCredentialsCreate ¶ added in v0.2.30
func (client *ApiClient) AzureCredentialsCreate(request AzureCredentialsCreatePayload) (Credentials, error)
func (*ApiClient) CloudCredentialIdsInProject ¶ added in v0.0.6
func (*ApiClient) CloudCredentials ¶ added in v0.2.29
func (client *ApiClient) CloudCredentials(id string) (Credentials, error)
func (*ApiClient) CloudCredentialsDelete ¶ added in v0.2.29
func (*ApiClient) CloudCredentialsList ¶ added in v0.2.29
func (client *ApiClient) CloudCredentialsList() ([]Credentials, error)
func (*ApiClient) ConfigurationVariableCreate ¶
func (client *ApiClient) ConfigurationVariableCreate(params ConfigurationVariableCreateParams) (ConfigurationVariable, error)
func (*ApiClient) ConfigurationVariableDelete ¶
func (*ApiClient) ConfigurationVariableUpdate ¶
func (client *ApiClient) ConfigurationVariableUpdate(updateParams ConfigurationVariableUpdateParams) (ConfigurationVariable, error)
func (*ApiClient) ConfigurationVariablesById ¶ added in v0.2.25
func (client *ApiClient) ConfigurationVariablesById(id string) (ConfigurationVariable, error)
func (*ApiClient) ConfigurationVariablesByScope ¶ added in v0.2.25
func (client *ApiClient) ConfigurationVariablesByScope(scope Scope, scopeId string) ([]ConfigurationVariable, error)
func (*ApiClient) CostCredentialIdsInProject ¶ added in v0.2.32
func (client *ApiClient) CostCredentialIdsInProject(projectId string) ([]CostCredentialProjectAssignment, error)
func (*ApiClient) Deployment ¶ added in v0.2.32
func (client *ApiClient) Deployment(id string) (DeploymentLog, error)
func (*ApiClient) Environment ¶ added in v0.0.21
func (client *ApiClient) Environment(id string) (Environment, error)
func (*ApiClient) EnvironmentCreate ¶ added in v0.0.21
func (client *ApiClient) EnvironmentCreate(payload EnvironmentCreate) (Environment, error)
func (*ApiClient) EnvironmentDeploy ¶ added in v0.0.21
func (client *ApiClient) EnvironmentDeploy(id string, payload DeployRequest) (EnvironmentDeployResponse, error)
func (*ApiClient) EnvironmentDestroy ¶ added in v0.0.21
func (client *ApiClient) EnvironmentDestroy(id string) (EnvironmentDeployResponse, error)
func (*ApiClient) EnvironmentDriftDetection ¶ added in v0.2.29
func (client *ApiClient) EnvironmentDriftDetection(environmentId string) (EnvironmentSchedulingExpression, error)
func (*ApiClient) EnvironmentScheduling ¶ added in v0.0.23
func (client *ApiClient) EnvironmentScheduling(environmentId string) (EnvironmentScheduling, error)
func (*ApiClient) EnvironmentSchedulingDelete ¶ added in v0.0.23
func (*ApiClient) EnvironmentSchedulingUpdate ¶ added in v0.0.23
func (client *ApiClient) EnvironmentSchedulingUpdate(environmentId string, payload EnvironmentScheduling) (EnvironmentScheduling, error)
func (*ApiClient) EnvironmentStopDriftDetection ¶ added in v0.2.29
func (*ApiClient) EnvironmentUpdate ¶ added in v0.0.21
func (client *ApiClient) EnvironmentUpdate(id string, payload EnvironmentUpdate) (Environment, error)
func (*ApiClient) EnvironmentUpdateDriftDetection ¶ added in v0.2.29
func (client *ApiClient) EnvironmentUpdateDriftDetection(environmentId string, payload EnvironmentSchedulingExpression) (EnvironmentSchedulingExpression, error)
func (*ApiClient) EnvironmentUpdateTTL ¶ added in v0.0.21
func (client *ApiClient) EnvironmentUpdateTTL(id string, payload TTL) (Environment, error)
func (*ApiClient) Environments ¶ added in v0.0.21
func (client *ApiClient) Environments() ([]Environment, error)
func (*ApiClient) GcpCredentialsCreate ¶ added in v0.2.29
func (client *ApiClient) GcpCredentialsCreate(request GcpCredentialsCreatePayload) (Credentials, error)
func (*ApiClient) GitTokenCreate ¶ added in v0.2.32
func (client *ApiClient) GitTokenCreate(payload GitTokenCreatePayload) (*GitToken, error)
func (*ApiClient) GitTokenDelete ¶ added in v0.2.32
func (*ApiClient) GoogleCostCredentialsCreate ¶ added in v0.2.32
func (client *ApiClient) GoogleCostCredentialsCreate(request GoogleCostCredentialsCreatePayload) (Credentials, error)
func (*ApiClient) ModuleCreate ¶ added in v0.2.32
func (client *ApiClient) ModuleCreate(payload ModuleCreatePayload) (*Module, error)
func (*ApiClient) ModuleDelete ¶ added in v0.2.32
func (*ApiClient) ModuleUpdate ¶ added in v0.2.32
func (client *ApiClient) ModuleUpdate(id string, payload ModuleUpdatePayload) (*Module, error)
func (*ApiClient) NotificationCreate ¶ added in v0.2.32
func (client *ApiClient) NotificationCreate(payload NotificationCreatePayload) (*Notification, error)
func (*ApiClient) NotificationDelete ¶ added in v0.2.32
func (*ApiClient) NotificationProjectAssignmentUpdate ¶ added in v0.2.32
func (client *ApiClient) NotificationProjectAssignmentUpdate(projectId string, endpointId string, payload NotificationProjectAssignmentUpdatePayload) (*NotificationProjectAssignment, error)
func (*ApiClient) NotificationProjectAssignments ¶ added in v0.2.32
func (client *ApiClient) NotificationProjectAssignments(projectId string) ([]NotificationProjectAssignment, error)
func (*ApiClient) NotificationUpdate ¶ added in v0.2.32
func (client *ApiClient) NotificationUpdate(id string, payload NotificationUpdatePayload) (*Notification, error)
func (*ApiClient) Notifications ¶ added in v0.2.32
func (client *ApiClient) Notifications() ([]Notification, error)
func (*ApiClient) Organization ¶
func (client *ApiClient) Organization() (Organization, error)
func (*ApiClient) OrganizationPolicyUpdate ¶ added in v0.2.32
func (client *ApiClient) OrganizationPolicyUpdate(payload OrganizationPolicyUpdatePayload) (*Organization, error)
func (*ApiClient) PolicyUpdate ¶ added in v0.0.15
func (client *ApiClient) PolicyUpdate(payload PolicyUpdatePayload) (Policy, error)
PolicyUpdate updates a policy through the API
func (*ApiClient) ProjectCreate ¶
func (client *ApiClient) ProjectCreate(payload ProjectCreatePayload) (Project, error)
func (*ApiClient) ProjectDelete ¶
func (*ApiClient) ProjectEnvironments ¶ added in v0.2.32
func (client *ApiClient) ProjectEnvironments(projectId string) ([]Environment, error)
func (*ApiClient) ProjectUpdate ¶ added in v0.0.4
func (client *ApiClient) ProjectUpdate(id string, payload ProjectCreatePayload) (Project, error)
func (*ApiClient) ProjectsAgentsAssignments ¶ added in v1.0.0
func (client *ApiClient) ProjectsAgentsAssignments() (*ProjectsAgentsAssignments, error)
func (*ApiClient) RemoveCloudCredentialsFromProject ¶ added in v0.0.6
func (*ApiClient) RemoveCostCredentialsFromProject ¶ added in v0.2.32
func (*ApiClient) RemoveTemplateFromProject ¶ added in v0.0.6
func (*ApiClient) SshKeyCreate ¶
func (client *ApiClient) SshKeyCreate(payload SshKeyCreatePayload) (*SshKey, error)
func (*ApiClient) SshKeyDelete ¶
func (*ApiClient) TeamCreate ¶ added in v0.0.13
func (client *ApiClient) TeamCreate(payload TeamCreatePayload) (Team, error)
func (*ApiClient) TeamDelete ¶ added in v0.0.13
func (*ApiClient) TeamProjectAssignmentCreateOrUpdate ¶ added in v0.0.13
func (client *ApiClient) TeamProjectAssignmentCreateOrUpdate(payload TeamProjectAssignmentPayload) (TeamProjectAssignment, error)
func (*ApiClient) TeamProjectAssignmentDelete ¶ added in v0.0.13
func (*ApiClient) TeamProjectAssignments ¶ added in v0.0.13
func (client *ApiClient) TeamProjectAssignments(projectId string) ([]TeamProjectAssignment, error)
func (*ApiClient) TeamUpdate ¶ added in v0.0.13
func (client *ApiClient) TeamUpdate(id string, payload TeamUpdatePayload) (Team, error)
func (*ApiClient) TemplateCreate ¶
func (client *ApiClient) TemplateCreate(payload TemplateCreatePayload) (Template, error)
func (*ApiClient) TemplateDelete ¶
func (*ApiClient) TemplateUpdate ¶
func (client *ApiClient) TemplateUpdate(id string, payload TemplateCreatePayload) (Template, error)
func (*ApiClient) Users ¶ added in v1.0.3
func (client *ApiClient) Users() ([]OrganizationUser, error)
func (*ApiClient) WorkflowTrigger ¶ added in v0.0.23
func (client *ApiClient) WorkflowTrigger(environmentId string) ([]WorkflowTrigger, error)
func (*ApiClient) WorkflowTriggerUpsert ¶ added in v0.0.23
func (client *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) OrganizationPolicyUpdate(OrganizationPolicyUpdatePayload) (*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 CloudCredentials(id string) (Credentials, error) CloudCredentialsList() ([]Credentials, error) AwsCredentialsCreate(request AwsCredentialsCreatePayload) (Credentials, error) CloudCredentialsDelete(id string) error GcpCredentialsCreate(request GcpCredentialsCreatePayload) (Credentials, error) GoogleCostCredentialsCreate(request GoogleCostCredentialsCreatePayload) (Credentials, error) AzureCredentialsCreate(request AzureCredentialsCreatePayload) (Credentials, error) AssignCloudCredentialsToProject(projectId string, credentialId string) (CloudCredentialsProjectAssignment, error) RemoveCloudCredentialsFromProject(projectId string, credentialId string) error CloudCredentialIdsInProject(projectId string) ([]string, error) AssignCostCredentialsToProject(projectId string, credentialId string) (CostCredentialProjectAssignment, error) CostCredentialIdsInProject(projectId string) ([]CostCredentialProjectAssignment, error) RemoveCostCredentialsFromProject(projectId string, credentialId 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) ProjectEnvironments(projectId string) ([]Environment, error) Environment(id string) (Environment, error) EnvironmentCreate(payload EnvironmentCreate) (Environment, error) EnvironmentDestroy(id string) (EnvironmentDeployResponse, 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 Deployment(id string) (DeploymentLog, error) WorkflowTrigger(environmentId string) ([]WorkflowTrigger, error) WorkflowTriggerUpsert(environmentId string, request WorkflowTriggerUpsertPayload) ([]WorkflowTrigger, error) EnvironmentDriftDetection(environmentId string) (EnvironmentSchedulingExpression, error) EnvironmentUpdateDriftDetection(environmentId string, payload EnvironmentSchedulingExpression) (EnvironmentSchedulingExpression, error) EnvironmentStopDriftDetection(environmentId string) error Notifications() ([]Notification, error) NotificationCreate(payload NotificationCreatePayload) (*Notification, error) NotificationDelete(id string) error NotificationUpdate(id string, payload NotificationUpdatePayload) (*Notification, error) NotificationProjectAssignments(projectId string) ([]NotificationProjectAssignment, error) NotificationProjectAssignmentUpdate(projectId string, endpointId string, payload NotificationProjectAssignmentUpdatePayload) (*NotificationProjectAssignment, error) ModuleCreate(payload ModuleCreatePayload) (*Module, error) Module(id string) (*Module, error) ModuleDelete(id string) error ModuleUpdate(id string, payload ModuleUpdatePayload) (*Module, error) Modules() ([]Module, error) GitToken(id string) (*GitToken, error) GitTokens() ([]GitToken, error) GitTokenCreate(payload GitTokenCreatePayload) (*GitToken, error) GitTokenDelete(id string) error ApiKeyCreate(payload ApiKeyCreatePayload) (*ApiKey, error) ApiKeyDelete(id string) error ApiKeys() ([]ApiKey, error) AssignAgentsToProjects(payload AssignProjectsAgentsAssignmentsPayload) (*ProjectsAgentsAssignments, error) ProjectsAgentsAssignments() (*ProjectsAgentsAssignments, error) Agents() ([]Agent, error) Users() ([]OrganizationUser, error) // contains filtered or unexported methods }
func NewApiClient ¶
func NewApiClient(client http.HttpClientInterface) ApiClientInterface
type ApiKey ¶ added in v0.0.4
type ApiKey struct { Id string `json:"id"` Name string `json:"name"` ApiKeyId string `json:"apiKeyId"` ApiKeySecret string `json:"apiKeySecret"` LastUsedAt string `json:"lastUsedAt"` OrganizationId string `json:"organizationId"` CreatedAt string `json:"createdAt"` CreatedBy string `json:"createdBy"` CreatedByUser User `json:"createdByUser"` }
type ApiKeyCreatePayload ¶ added in v0.2.32
type ApiKeyCreatePayload struct {
Name string `json:"name"`
}
type ApiKeyCreatePayloadWith ¶ added in v0.2.32
type ApiKeyCreatePayloadWith struct { ApiKeyCreatePayload OrganizationId string `json:"organizationId"` }
type AssignProjectsAgentsAssignmentsPayload ¶ added in v1.0.0
type AssignProjectsAgentsAssignmentsPayload map[string]interface{}
Key is project id. Value is agent id.
type AwsCredentialsCreatePayload ¶ added in v0.0.4
type AwsCredentialsCreatePayload struct { Name string `json:"name"` OrganizationId string `json:"organizationId"` Type AwsCredentialsType `json:"type"` Value AwsCredentialsValuePayload `json:"value"` }
type AwsCredentialsType ¶ added in v0.2.29
type AwsCredentialsType string
type AwsCredentialsValuePayload ¶ added in v0.0.4
type AzureCredentialsCreatePayload ¶ added in v0.2.30
type AzureCredentialsCreatePayload struct { Name string `json:"name"` OrganizationId string `json:"organizationId"` Type AzureCredentialsType `json:"type"` Value AzureCredentialsValuePayload `json:"value"` }
type AzureCredentialsType ¶ added in v0.2.30
type AzureCredentialsType string
type AzureCredentialsValuePayload ¶ added in v0.2.30
type CloudCredentialIdsInProjectResponse ¶ added in v0.0.6
type CloudCredentialIdsInProjectResponse struct {
CredentialIds []string `json:"credentialIds"`
}
type CloudCredentialsProjectAssignment ¶ added in v0.0.6
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"` Regex string `json:"regex,omitempty"` }
type ConfigurationVariableCreateParams ¶ added in v0.0.23
type ConfigurationVariableType ¶
type ConfigurationVariableType int
const ( ConfigurationVariableTypeEnvironment ConfigurationVariableType = 0 ConfigurationVariableTypeTerraform ConfigurationVariableType = 1 )
func (*ConfigurationVariableType) ReadResourceData ¶ added in v1.0.5
func (c *ConfigurationVariableType) ReadResourceData(fieldName string, d *schema.ResourceData) error
func (*ConfigurationVariableType) WriteResourceData ¶ added in v1.0.5
func (c *ConfigurationVariableType) WriteResourceData(fieldName string, d *schema.ResourceData) error
type ConfigurationVariableUpdateParams ¶ added in v0.0.23
type ConfigurationVariableUpdateParams struct { CommonParams ConfigurationVariableCreateParams Id string }
type CostCredentialProjectAssignment ¶ added in v0.2.32
type Credentials ¶ added in v0.2.32
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"` IsArchived bool `json:"isArchived"` TerragruntWorkingDirectory string `json:"terragruntWorkingDirectory,omitempty"` }
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"` TerragruntWorkingDirectory string `json:"terragruntWorkingDirectory,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"` TerragruntWorkingDirectory string `json:"terragruntWorkingDirectory,omitempty"` }
type GcpCredentialsCreatePayload ¶ added in v0.2.29
type GcpCredentialsCreatePayload struct { Name string `json:"name"` OrganizationId string `json:"organizationId"` Type GcpCredentialsType `json:"type"` Value GcpCredentialsValuePayload `json:"value"` }
type GcpCredentialsType ¶ added in v0.2.29
type GcpCredentialsType string
type GcpCredentialsValuePayload ¶ added in v0.2.29
type GitTokenCreatePayload ¶ added in v0.2.32
type GitTokenCreatePayloadWith ¶ added in v0.2.32
type GitTokenCreatePayloadWith struct { GitTokenCreatePayload OrganizationId string `json:"organizationId"` Type string `json:"type"` }
type GoogleCostCredentialsCreatePayload ¶ added in v0.2.32
type GoogleCostCredentialsCreatePayload struct { Name string `json:"name"` OrganizationId string `json:"organizationId"` Type GcpCredentialsType `json:"type"` Value GoogleCostCredentialsValuePayload `json:"value"` }
type GoogleCostCredentialsValuePayload ¶ added in v1.0.0
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) Agents ¶ added in v1.0.0
func (m *MockApiClientInterface) Agents() ([]Agent, error)
Agents mocks base method.
func (*MockApiClientInterface) ApiKeyCreate ¶ added in v0.2.32
func (m *MockApiClientInterface) ApiKeyCreate(arg0 ApiKeyCreatePayload) (*ApiKey, error)
ApiKeyCreate mocks base method.
func (*MockApiClientInterface) ApiKeyDelete ¶ added in v0.2.32
func (m *MockApiClientInterface) ApiKeyDelete(arg0 string) error
ApiKeyDelete mocks base method.
func (*MockApiClientInterface) ApiKeys ¶ added in v0.2.32
func (m *MockApiClientInterface) ApiKeys() ([]ApiKey, error)
ApiKeys mocks base method.
func (*MockApiClientInterface) AssignAgentsToProjects ¶ added in v1.0.0
func (m *MockApiClientInterface) AssignAgentsToProjects(arg0 AssignProjectsAgentsAssignmentsPayload) (*ProjectsAgentsAssignments, error)
AssignAgentsToProjects mocks base method.
func (*MockApiClientInterface) AssignCloudCredentialsToProject ¶ added in v0.0.6
func (m *MockApiClientInterface) AssignCloudCredentialsToProject(arg0, arg1 string) (CloudCredentialsProjectAssignment, error)
AssignCloudCredentialsToProject mocks base method.
func (*MockApiClientInterface) AssignCostCredentialsToProject ¶ added in v0.2.32
func (m *MockApiClientInterface) AssignCostCredentialsToProject(arg0, arg1 string) (CostCredentialProjectAssignment, error)
AssignCostCredentialsToProject 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) AwsCredentialsCreate ¶ added in v0.0.6
func (m *MockApiClientInterface) AwsCredentialsCreate(arg0 AwsCredentialsCreatePayload) (Credentials, error)
AwsCredentialsCreate mocks base method.
func (*MockApiClientInterface) AzureCredentialsCreate ¶ added in v0.2.30
func (m *MockApiClientInterface) AzureCredentialsCreate(arg0 AzureCredentialsCreatePayload) (Credentials, error)
AzureCredentialsCreate 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) CloudCredentials ¶ added in v0.2.29
func (m *MockApiClientInterface) CloudCredentials(arg0 string) (Credentials, error)
CloudCredentials mocks base method.
func (*MockApiClientInterface) CloudCredentialsDelete ¶ added in v0.2.29
func (m *MockApiClientInterface) CloudCredentialsDelete(arg0 string) error
CloudCredentialsDelete mocks base method.
func (*MockApiClientInterface) CloudCredentialsList ¶ added in v0.2.29
func (m *MockApiClientInterface) CloudCredentialsList() ([]Credentials, error)
CloudCredentialsList 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)
ConfigurationVariablesByScope mocks base method.
func (*MockApiClientInterface) CostCredentialIdsInProject ¶ added in v0.2.32
func (m *MockApiClientInterface) CostCredentialIdsInProject(arg0 string) ([]CostCredentialProjectAssignment, error)
CostCredentialIdsInProject mocks base method.
func (*MockApiClientInterface) Deployment ¶ added in v0.2.32
func (m *MockApiClientInterface) Deployment(arg0 string) (DeploymentLog, error)
Deployment 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) (EnvironmentDeployResponse, error)
EnvironmentDestroy mocks base method.
func (*MockApiClientInterface) EnvironmentDriftDetection ¶ added in v0.2.29
func (m *MockApiClientInterface) EnvironmentDriftDetection(arg0 string) (EnvironmentSchedulingExpression, error)
EnvironmentDriftDetection 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) EnvironmentStopDriftDetection ¶ added in v0.2.29
func (m *MockApiClientInterface) EnvironmentStopDriftDetection(arg0 string) error
EnvironmentStopDriftDetection 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) EnvironmentUpdateDriftDetection ¶ added in v0.2.29
func (m *MockApiClientInterface) EnvironmentUpdateDriftDetection(arg0 string, arg1 EnvironmentSchedulingExpression) (EnvironmentSchedulingExpression, error)
EnvironmentUpdateDriftDetection 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) GcpCredentialsCreate ¶ added in v0.2.29
func (m *MockApiClientInterface) GcpCredentialsCreate(arg0 GcpCredentialsCreatePayload) (Credentials, error)
GcpCredentialsCreate mocks base method.
func (*MockApiClientInterface) GitToken ¶ added in v0.2.32
func (m *MockApiClientInterface) GitToken(arg0 string) (*GitToken, error)
GitToken mocks base method.
func (*MockApiClientInterface) GitTokenCreate ¶ added in v0.2.32
func (m *MockApiClientInterface) GitTokenCreate(arg0 GitTokenCreatePayload) (*GitToken, error)
GitTokenCreate mocks base method.
func (*MockApiClientInterface) GitTokenDelete ¶ added in v0.2.32
func (m *MockApiClientInterface) GitTokenDelete(arg0 string) error
GitTokenDelete mocks base method.
func (*MockApiClientInterface) GitTokens ¶ added in v0.2.32
func (m *MockApiClientInterface) GitTokens() ([]GitToken, error)
GitTokens mocks base method.
func (*MockApiClientInterface) GoogleCostCredentialsCreate ¶ added in v0.2.32
func (m *MockApiClientInterface) GoogleCostCredentialsCreate(arg0 GoogleCostCredentialsCreatePayload) (Credentials, error)
GoogleCostCredentialsCreate mocks base method.
func (*MockApiClientInterface) Module ¶ added in v0.2.32
func (m *MockApiClientInterface) Module(arg0 string) (*Module, error)
Module mocks base method.
func (*MockApiClientInterface) ModuleCreate ¶ added in v0.2.32
func (m *MockApiClientInterface) ModuleCreate(arg0 ModuleCreatePayload) (*Module, error)
ModuleCreate mocks base method.
func (*MockApiClientInterface) ModuleDelete ¶ added in v0.2.32
func (m *MockApiClientInterface) ModuleDelete(arg0 string) error
ModuleDelete mocks base method.
func (*MockApiClientInterface) ModuleUpdate ¶ added in v0.2.32
func (m *MockApiClientInterface) ModuleUpdate(arg0 string, arg1 ModuleUpdatePayload) (*Module, error)
ModuleUpdate mocks base method.
func (*MockApiClientInterface) Modules ¶ added in v0.2.32
func (m *MockApiClientInterface) Modules() ([]Module, error)
Modules mocks base method.
func (*MockApiClientInterface) NotificationCreate ¶ added in v0.2.32
func (m *MockApiClientInterface) NotificationCreate(arg0 NotificationCreatePayload) (*Notification, error)
NotificationCreate mocks base method.
func (*MockApiClientInterface) NotificationDelete ¶ added in v0.2.32
func (m *MockApiClientInterface) NotificationDelete(arg0 string) error
NotificationDelete mocks base method.
func (*MockApiClientInterface) NotificationProjectAssignmentUpdate ¶ added in v0.2.32
func (m *MockApiClientInterface) NotificationProjectAssignmentUpdate(arg0, arg1 string, arg2 NotificationProjectAssignmentUpdatePayload) (*NotificationProjectAssignment, error)
NotificationProjectAssignmentUpdate mocks base method.
func (*MockApiClientInterface) NotificationProjectAssignments ¶ added in v0.2.32
func (m *MockApiClientInterface) NotificationProjectAssignments(arg0 string) ([]NotificationProjectAssignment, error)
NotificationProjectAssignments mocks base method.
func (*MockApiClientInterface) NotificationUpdate ¶ added in v0.2.32
func (m *MockApiClientInterface) NotificationUpdate(arg0 string, arg1 NotificationUpdatePayload) (*Notification, error)
NotificationUpdate mocks base method.
func (*MockApiClientInterface) Notifications ¶ added in v0.2.32
func (m *MockApiClientInterface) Notifications() ([]Notification, error)
Notifications mocks base method.
func (*MockApiClientInterface) Organization ¶ added in v0.0.6
func (m *MockApiClientInterface) Organization() (Organization, error)
Organization mocks base method.
func (*MockApiClientInterface) OrganizationPolicyUpdate ¶ added in v0.2.32
func (m *MockApiClientInterface) OrganizationPolicyUpdate(arg0 OrganizationPolicyUpdatePayload) (*Organization, error)
OrganizationPolicyUpdate 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) ProjectEnvironments ¶ added in v0.2.32
func (m *MockApiClientInterface) ProjectEnvironments(arg0 string) ([]Environment, error)
ProjectEnvironments 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) ProjectsAgentsAssignments ¶ added in v1.0.0
func (m *MockApiClientInterface) ProjectsAgentsAssignments() (*ProjectsAgentsAssignments, error)
ProjectsAgentsAssignments 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) RemoveCostCredentialsFromProject ¶ added in v0.2.32
func (m *MockApiClientInterface) RemoveCostCredentialsFromProject(arg0, arg1 string) error
RemoveCostCredentialsFromProject 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) Users ¶ added in v1.0.3
func (m *MockApiClientInterface) Users() ([]OrganizationUser, error)
Users 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) Agents ¶ added in v1.0.0
func (mr *MockApiClientInterfaceMockRecorder) Agents() *gomock.Call
Agents indicates an expected call of Agents.
func (*MockApiClientInterfaceMockRecorder) ApiKeyCreate ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) ApiKeyCreate(arg0 interface{}) *gomock.Call
ApiKeyCreate indicates an expected call of ApiKeyCreate.
func (*MockApiClientInterfaceMockRecorder) ApiKeyDelete ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) ApiKeyDelete(arg0 interface{}) *gomock.Call
ApiKeyDelete indicates an expected call of ApiKeyDelete.
func (*MockApiClientInterfaceMockRecorder) ApiKeys ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) ApiKeys() *gomock.Call
ApiKeys indicates an expected call of ApiKeys.
func (*MockApiClientInterfaceMockRecorder) AssignAgentsToProjects ¶ added in v1.0.0
func (mr *MockApiClientInterfaceMockRecorder) AssignAgentsToProjects(arg0 interface{}) *gomock.Call
AssignAgentsToProjects indicates an expected call of AssignAgentsToProjects.
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) AssignCostCredentialsToProject ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) AssignCostCredentialsToProject(arg0, arg1 interface{}) *gomock.Call
AssignCostCredentialsToProject indicates an expected call of AssignCostCredentialsToProject.
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) AwsCredentialsCreate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsCreate(arg0 interface{}) *gomock.Call
AwsCredentialsCreate indicates an expected call of AwsCredentialsCreate.
func (*MockApiClientInterfaceMockRecorder) AzureCredentialsCreate ¶ added in v0.2.30
func (mr *MockApiClientInterfaceMockRecorder) AzureCredentialsCreate(arg0 interface{}) *gomock.Call
AzureCredentialsCreate indicates an expected call of AzureCredentialsCreate.
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) CloudCredentials ¶ added in v0.2.29
func (mr *MockApiClientInterfaceMockRecorder) CloudCredentials(arg0 interface{}) *gomock.Call
CloudCredentials indicates an expected call of CloudCredentials.
func (*MockApiClientInterfaceMockRecorder) CloudCredentialsDelete ¶ added in v0.2.29
func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialsDelete(arg0 interface{}) *gomock.Call
CloudCredentialsDelete indicates an expected call of CloudCredentialsDelete.
func (*MockApiClientInterfaceMockRecorder) CloudCredentialsList ¶ added in v0.2.29
func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialsList() *gomock.Call
CloudCredentialsList indicates an expected call of CloudCredentialsList.
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) ConfigurationVariablesById ¶ added in v0.2.25
func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariablesById(arg0 interface{}) *gomock.Call
ConfigurationVariablesById indicates an expected call of ConfigurationVariablesById.
func (*MockApiClientInterfaceMockRecorder) ConfigurationVariablesByScope ¶ added in v0.2.27
func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariablesByScope(arg0, arg1 interface{}) *gomock.Call
ConfigurationVariablesByScope indicates an expected call of ConfigurationVariablesByScope.
func (*MockApiClientInterfaceMockRecorder) CostCredentialIdsInProject ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) CostCredentialIdsInProject(arg0 interface{}) *gomock.Call
CostCredentialIdsInProject indicates an expected call of CostCredentialIdsInProject.
func (*MockApiClientInterfaceMockRecorder) Deployment ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) Deployment(arg0 interface{}) *gomock.Call
Deployment indicates an expected call of Deployment.
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) EnvironmentDriftDetection ¶ added in v0.2.29
func (mr *MockApiClientInterfaceMockRecorder) EnvironmentDriftDetection(arg0 interface{}) *gomock.Call
EnvironmentDriftDetection indicates an expected call of EnvironmentDriftDetection.
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) EnvironmentStopDriftDetection ¶ added in v0.2.29
func (mr *MockApiClientInterfaceMockRecorder) EnvironmentStopDriftDetection(arg0 interface{}) *gomock.Call
EnvironmentStopDriftDetection indicates an expected call of EnvironmentStopDriftDetection.
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) EnvironmentUpdateDriftDetection ¶ added in v0.2.29
func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdateDriftDetection(arg0, arg1 interface{}) *gomock.Call
EnvironmentUpdateDriftDetection indicates an expected call of EnvironmentUpdateDriftDetection.
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) GcpCredentialsCreate ¶ added in v0.2.29
func (mr *MockApiClientInterfaceMockRecorder) GcpCredentialsCreate(arg0 interface{}) *gomock.Call
GcpCredentialsCreate indicates an expected call of GcpCredentialsCreate.
func (*MockApiClientInterfaceMockRecorder) GitToken ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) GitToken(arg0 interface{}) *gomock.Call
GitToken indicates an expected call of GitToken.
func (*MockApiClientInterfaceMockRecorder) GitTokenCreate ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) GitTokenCreate(arg0 interface{}) *gomock.Call
GitTokenCreate indicates an expected call of GitTokenCreate.
func (*MockApiClientInterfaceMockRecorder) GitTokenDelete ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) GitTokenDelete(arg0 interface{}) *gomock.Call
GitTokenDelete indicates an expected call of GitTokenDelete.
func (*MockApiClientInterfaceMockRecorder) GitTokens ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) GitTokens() *gomock.Call
GitTokens indicates an expected call of GitTokens.
func (*MockApiClientInterfaceMockRecorder) GoogleCostCredentialsCreate ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) GoogleCostCredentialsCreate(arg0 interface{}) *gomock.Call
GoogleCostCredentialsCreate indicates an expected call of GoogleCostCredentialsCreate.
func (*MockApiClientInterfaceMockRecorder) Module ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) Module(arg0 interface{}) *gomock.Call
Module indicates an expected call of Module.
func (*MockApiClientInterfaceMockRecorder) ModuleCreate ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) ModuleCreate(arg0 interface{}) *gomock.Call
ModuleCreate indicates an expected call of ModuleCreate.
func (*MockApiClientInterfaceMockRecorder) ModuleDelete ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) ModuleDelete(arg0 interface{}) *gomock.Call
ModuleDelete indicates an expected call of ModuleDelete.
func (*MockApiClientInterfaceMockRecorder) ModuleUpdate ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) ModuleUpdate(arg0, arg1 interface{}) *gomock.Call
ModuleUpdate indicates an expected call of ModuleUpdate.
func (*MockApiClientInterfaceMockRecorder) Modules ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) Modules() *gomock.Call
Modules indicates an expected call of Modules.
func (*MockApiClientInterfaceMockRecorder) NotificationCreate ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) NotificationCreate(arg0 interface{}) *gomock.Call
NotificationCreate indicates an expected call of NotificationCreate.
func (*MockApiClientInterfaceMockRecorder) NotificationDelete ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) NotificationDelete(arg0 interface{}) *gomock.Call
NotificationDelete indicates an expected call of NotificationDelete.
func (*MockApiClientInterfaceMockRecorder) NotificationProjectAssignmentUpdate ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) NotificationProjectAssignmentUpdate(arg0, arg1, arg2 interface{}) *gomock.Call
NotificationProjectAssignmentUpdate indicates an expected call of NotificationProjectAssignmentUpdate.
func (*MockApiClientInterfaceMockRecorder) NotificationProjectAssignments ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) NotificationProjectAssignments(arg0 interface{}) *gomock.Call
NotificationProjectAssignments indicates an expected call of NotificationProjectAssignments.
func (*MockApiClientInterfaceMockRecorder) NotificationUpdate ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) NotificationUpdate(arg0, arg1 interface{}) *gomock.Call
NotificationUpdate indicates an expected call of NotificationUpdate.
func (*MockApiClientInterfaceMockRecorder) Notifications ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) Notifications() *gomock.Call
Notifications indicates an expected call of Notifications.
func (*MockApiClientInterfaceMockRecorder) Organization ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) Organization() *gomock.Call
Organization indicates an expected call of Organization.
func (*MockApiClientInterfaceMockRecorder) OrganizationPolicyUpdate ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) OrganizationPolicyUpdate(arg0 interface{}) *gomock.Call
OrganizationPolicyUpdate indicates an expected call of OrganizationPolicyUpdate.
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) ProjectEnvironments ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) ProjectEnvironments(arg0 interface{}) *gomock.Call
ProjectEnvironments indicates an expected call of ProjectEnvironments.
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) ProjectsAgentsAssignments ¶ added in v1.0.0
func (mr *MockApiClientInterfaceMockRecorder) ProjectsAgentsAssignments() *gomock.Call
ProjectsAgentsAssignments indicates an expected call of ProjectsAgentsAssignments.
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) RemoveCostCredentialsFromProject ¶ added in v0.2.32
func (mr *MockApiClientInterfaceMockRecorder) RemoveCostCredentialsFromProject(arg0, arg1 interface{}) *gomock.Call
RemoveCostCredentialsFromProject indicates an expected call of RemoveCostCredentialsFromProject.
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) Users ¶ added in v1.0.3
func (mr *MockApiClientInterfaceMockRecorder) Users() *gomock.Call
Users indicates an expected call of Users.
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 Module ¶ added in v0.2.32
type Module struct { ModuleName string `json:"moduleName"` ModuleProvider string `json:"moduleProvider"` Repository string `json:"repository"` Description string `json:"description"` LogoUrl string `json:"logoUrl"` TokenId string `json:"tokenId"` TokenName string `json:"tokenName"` GithubInstallationId *int `json:"githubInstallationId"` BitbucketClientKey *string `json:"bitbucketClientKey"` IsGitlab bool `json:"isGitLab"` SshKeys []ModuleSshKey `json:"sshkeys"` Type string `json:"type"` Id string `json:"id"` OrganizationId string `json:"organizationId"` Author User `json:"author"` AuthorId string `json:"authorId"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` IsDeleted bool `json:"isDeleted"` }
type ModuleCreatePayload ¶ added in v0.2.32
type ModuleCreatePayload struct { ModuleName string `json:"moduleName"` ModuleProvider string `json:"moduleProvider"` Repository string `json:"repository"` Description string `json:"description,omitempty"` LogoUrl string `json:"logoUrl,omitempty"` TokenId string `json:"tokenId,omitempty"` TokenName string `json:"tokenName,omitempty"` GithubInstallationId *int `json:"githubInstallationId,omitempty"` BitbucketClientKey string `json:"bitbucketClientKey,omitempty"` IsGitlab *bool `json:"isGitLab,omitempty"` SshKeys []ModuleSshKey `json:"sshkeys,omitempty"` }
type ModuleCreatePayloadWith ¶ added in v0.2.32
type ModuleCreatePayloadWith struct { ModuleCreatePayload Type string `json:"type"` OrganizationId string `json:"organizationId"` }
type ModuleSshKey ¶ added in v0.2.32
type ModuleUpdatePayload ¶ added in v0.2.32
type ModuleUpdatePayload struct { ModuleName string `json:"moduleName,omitempty"` ModuleProvider string `json:"moduleProvider,omitempty"` Repository string `json:"repository,omitempty"` Description string `json:"description,omitempty"` LogoUrl string `json:"logoUrl,omitempty"` TokenId string `json:"tokenId"` TokenName string `json:"tokenName"` GithubInstallationId *int `json:"githubInstallationId"` BitbucketClientKey string `json:"bitbucketClientKey"` IsGitlab bool `json:"isGitLab"` SshKeys []ModuleSshKey `json:"sshkeys"` }
type NotFoundError ¶ added in v1.0.5
type NotFoundError struct{}
func (*NotFoundError) Error ¶ added in v1.0.5
func (e *NotFoundError) Error() string
type Notification ¶ added in v0.2.32
type NotificationCreatePayload ¶ added in v0.2.32
type NotificationCreatePayload struct { Name string `json:"name"` Type NotificationType `json:"type"` Value string `json:"value"` }
type NotificationCreatePayloadWith ¶ added in v0.2.32
type NotificationCreatePayloadWith struct { NotificationCreatePayload OrganizationId string `json:"organizationId"` }
type NotificationProjectAssignment ¶ added in v0.2.32
type NotificationProjectAssignmentUpdatePayload ¶ added in v0.2.32
type NotificationProjectAssignmentUpdatePayload struct {
EventNames []string `json:"eventNames"`
}
type NotificationType ¶ added in v0.2.32
type NotificationType string
const ( NotificationTypeSlack NotificationType = "Slack" NotificationTypeTeams NotificationType = "Teams" )
type NotificationUpdatePayload ¶ added in v0.2.32
type NotificationUpdatePayload struct { Name string `json:"name,omitempty"` Type NotificationType `json:"type,omitempty"` Value string `json:"value,omitempty"` }
type Organization ¶
type Organization struct { Id string `json:"id"` Name string `json:"name"` MaxTtl *string `json:"maxTtl"` DefaultTtl *string `json:"defaultTtl"` DoNotReportSkippedStatusChecks bool `json:"doNotReportSkippedStatusChecks"` DoNotConsiderMergeCommitsForPrPlans bool `json:"doNotConsiderMergeCommitsForPrPlans"` Description string `json:"description"` PhotoUrl string `json:"photoUrl"` CreatedBy string `json:"createdBy"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` Role string `json:"role"` IsSelfHosted bool `json:"isSelfHosted"` IsSelfHostedK8s bool `json:"isSelfHostedK8s"` }
type OrganizationPolicyUpdatePayload ¶ added in v0.2.32
type OrganizationPolicyUpdatePayload struct { MaxTtl *string `json:"maxTtl"` DefaultTtl *string `json:"defaultTtl"` DoNotReportSkippedStatusChecks *bool `json:"doNotReportSkippedStatusChecks,omitempty"` DoNotConsiderMergeCommitsForPrPlans *bool `json:"doNotConsiderMergeCommitsForPrPlans,omitempty"` }
type OrganizationUser ¶ added in v1.0.3
type Paginated ¶ added in v1.0.2
type Paginated interface {
// contains filtered or unexported methods
}
type Pagination ¶ added in v1.0.2
type Pagination struct {
// contains filtered or unexported fields
}
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 ProjectsAgentsAssignments ¶ added in v1.0.0
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"` IsGitlabEnterprise bool `json:"isGitLabEnterprise"` TokenId string `json:"tokenId,omitempty"` GitlabProjectId int `json:"gitlabProjectId,omitempty"` UpdatedAt string `json:"updatedAt"` TerraformVersion string `json:"terraformVersion"` TerragruntVersion string `json:"terragruntVersion,omitempty"` IsDeleted bool `json:"isDeleted,omitempty"` BitbucketClientKey string `json:"bitbucketClientKey"` IsGitHubEnterprise bool `json:"isGitHubEnterprise"` IsBitbucketServer bool `json:"isBitbucketServer"` }
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"` TerragruntVersion string `json:"terragruntVersion,omitempty"` IsGitlabEnterprise bool `json:"isGitLabEnterprise"` BitbucketClientKey string `json:"bitbucketClientKey,omitempty"` IsGitHubEnterprise bool `json:"isGitHubEnterprise"` IsBitbucketServer bool `json:"isBitbucketServer"` }
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"`
}
Source Files
¶
- agent_project_assignment.go
- api_client.go
- api_client_mock.go
- api_key.go
- cloud_credentials.go
- cloud_credentials_project_assignment.go
- common_models.go
- configuration_variable.go
- cost_credentials_project_assignment.go
- environment.go
- environment_drift_detection.go
- environment_scheduling.go
- errors.go
- git_token.go
- module.go
- notification.go
- notification_project_assignment.go
- organization.go
- pagination.go
- project.go
- project_policy.go
- query.go
- sshkey.go
- team.go
- team_project_assignment.go
- template.go
- user.go
- workflow_triggers.go