client

package
v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: MPL-2.0 Imports: 11 Imported by: 1

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/env0/terraform-provider-env0/client (interfaces: ApiClientInterface)

Generated by this command:

mockgen -destination=api_client_mock.go -package=client . ApiClientInterface

Package client is a generated GoMock package.

Index

Constants

View Source
const (
	AwsCostCredentialsType               AwsCredentialsType   = "AWS_ASSUMED_ROLE"
	AwsAssumedRoleCredentialsType        AwsCredentialsType   = "AWS_ASSUMED_ROLE_FOR_DEPLOYMENT"
	AwsAccessKeysCredentialsType         AwsCredentialsType   = "AWS_ACCESS_KEYS_FOR_DEPLOYMENT"
	AwsOidcCredentialsType               AwsCredentialsType   = "AWS_OIDC"
	GoogleCostCredentialsType            GcpCredentialsType   = "GCP_CREDENTIALS"
	GcpServiceAccountCredentialsType     GcpCredentialsType   = "GCP_SERVICE_ACCOUNT_FOR_DEPLOYMENT"
	GcpOidcCredentialsType               GcpCredentialsType   = "GCP_OIDC"
	AzureCostCredentialsType             AzureCredentialsType = "AZURE_CREDENTIALS"
	AzureServicePrincipalCredentialsType AzureCredentialsType = "AZURE_SERVICE_PRINCIPAL_FOR_DEPLOYMENT"
	AzureOidcCredentialsType             AzureCredentialsType = "AZURE_OIDC"
	VaultOidcCredentialsType             VaultCrednetialsType = "VAULT_OIDC"
)

Variables

Functions

func IsBuiltinProjectRole added in v1.2.11

func IsBuiltinProjectRole(role string) bool

Types

type Agent added in v1.0.0

type Agent struct {
	AgentKey string `json:"agentKey"`
}

type ApiClient

type ApiClient struct {
	// contains filtered or unexported fields
}

func (*ApiClient) AgentValues added in v1.1.2

func (client *ApiClient) AgentValues(id string) (string, error)

func (*ApiClient) Agents added in v1.0.0

func (client *ApiClient) Agents() ([]Agent, error)

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 (client *ApiClient) ApiKeyDelete(id string) error

func (*ApiClient) ApiKeys added in v0.2.32

func (client *ApiClient) ApiKeys() ([]ApiKey, error)

func (*ApiClient) ApprovalPolicies added in v1.4.13

func (client *ApiClient) ApprovalPolicies(name string) ([]ApprovalPolicy, error)

func (*ApiClient) ApprovalPolicyAssign added in v1.4.13

func (client *ApiClient) ApprovalPolicyAssign(assignment *ApprovalPolicyAssignment) (*ApprovalPolicyAssignment, error)

func (*ApiClient) ApprovalPolicyByScope added in v1.4.13

func (client *ApiClient) ApprovalPolicyByScope(scope string, scopeId string) ([]ApprovalPolicyByScope, error)

func (*ApiClient) ApprovalPolicyCreate added in v1.17.1

func (client *ApiClient) ApprovalPolicyCreate(payload *ApprovalPolicyCreatePayload) (*ApprovalPolicy, error)

func (*ApiClient) ApprovalPolicyUnassign added in v1.4.13

func (client *ApiClient) ApprovalPolicyUnassign(scope string, scopeId string) error

func (*ApiClient) ApprovalPolicyUpdate added in v1.17.1

func (client *ApiClient) ApprovalPolicyUpdate(payload *ApprovalPolicyUpdatePayload) (*ApprovalPolicy, error)

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) AssignOrganizationRoleToTeam added in v1.17.1

func (client *ApiClient) AssignOrganizationRoleToTeam(payload *AssignOrganizationRoleToTeamPayload) (*OrganizationRoleTeamAssignment, error)

func (*ApiClient) AssignTeamRoleToEnvironment added in v1.4.8

func (client *ApiClient) AssignTeamRoleToEnvironment(payload *AssignTeamRoleToEnvironmentPayload) (*TeamRoleEnvironmentAssignment, error)

func (*ApiClient) AssignTemplateToProject added in v0.0.6

func (client *ApiClient) AssignTemplateToProject(id string, payload TemplateAssignmentToProjectPayload) (Template, error)

func (*ApiClient) AssignUserRoleToEnvironment added in v1.4.6

func (client *ApiClient) AssignUserRoleToEnvironment(payload *AssignUserRoleToEnvironmentPayload) (*UserRoleEnvironmentAssignment, error)

func (*ApiClient) AssignUserToProject added in v1.0.7

func (client *ApiClient) AssignUserToProject(projectId string, payload *AssignUserToProjectPayload) (*UserProjectAssignment, error)

func (*ApiClient) CloudCredentialIdsInProject added in v0.0.6

func (client *ApiClient) CloudCredentialIdsInProject(projectId string) ([]string, error)

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 (client *ApiClient) CloudCredentialsDelete(id string) error

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 (client *ApiClient) ConfigurationVariableDelete(id string) error

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) CredentialsCreate added in v1.0.7

func (client *ApiClient) CredentialsCreate(request CredentialCreatePayload) (Credentials, error)

func (*ApiClient) CredentialsUpdate added in v1.5.0

func (client *ApiClient) CredentialsUpdate(id string, request CredentialCreatePayload) (Credentials, error)

func (*ApiClient) CustomFlow added in v1.3.3

func (client *ApiClient) CustomFlow(id string) (*CustomFlow, error)

func (*ApiClient) CustomFlowAssign added in v1.3.4

func (client *ApiClient) CustomFlowAssign(assignments []CustomFlowAssignment) error

func (*ApiClient) CustomFlowCreate added in v1.3.3

func (client *ApiClient) CustomFlowCreate(payload CustomFlowCreatePayload) (*CustomFlow, error)

func (*ApiClient) CustomFlowDelete added in v1.3.3

func (client *ApiClient) CustomFlowDelete(id string) error

func (*ApiClient) CustomFlowGetAssignments added in v1.3.4

func (client *ApiClient) CustomFlowGetAssignments(assignments []CustomFlowAssignment) ([]CustomFlowAssignment, error)

func (*ApiClient) CustomFlowUnassign added in v1.3.4

func (client *ApiClient) CustomFlowUnassign(assignments []CustomFlowAssignment) error

func (*ApiClient) CustomFlowUpdate added in v1.3.3

func (client *ApiClient) CustomFlowUpdate(id string, payload CustomFlowCreatePayload) (*CustomFlow, error)

func (*ApiClient) CustomFlows added in v1.3.3

func (client *ApiClient) CustomFlows(name string) ([]CustomFlow, error)

func (*ApiClient) DeleteEnvironmentDiscovery added in v1.17.0

func (client *ApiClient) DeleteEnvironmentDiscovery(projectId string) 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) EnvironmentCreateWithoutTemplate added in v1.2.0

func (client *ApiClient) EnvironmentCreateWithoutTemplate(payload EnvironmentCreateWithoutTemplate) (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) (Environment, error)

func (*ApiClient) EnvironmentDriftDetection added in v0.2.29

func (client *ApiClient) EnvironmentDriftDetection(environmentId string) (EnvironmentSchedulingExpression, error)

func (*ApiClient) EnvironmentMarkAsArchived added in v1.17.1

func (client *ApiClient) EnvironmentMarkAsArchived(id string) 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 (client *ApiClient) EnvironmentSchedulingDelete(environmentId string) error

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 (client *ApiClient) EnvironmentStopDriftDetection(environmentId string) error

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) GetEnvironmentDiscovery added in v1.17.0

func (client *ApiClient) GetEnvironmentDiscovery(projectId string) (*EnvironmentDiscoveryPayload, error)

func (*ApiClient) GetTeams added in v1.2.9

func (client *ApiClient) GetTeams(params map[string]string) ([]Team, error)

func (*ApiClient) GitToken added in v0.2.32

func (client *ApiClient) GitToken(id string) (*GitToken, 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 (client *ApiClient) GitTokenDelete(id string) error

func (*ApiClient) GitTokens added in v0.2.32

func (client *ApiClient) GitTokens() ([]GitToken, error)

func (*ApiClient) GpgKeyCreate added in v1.4.4

func (client *ApiClient) GpgKeyCreate(payload *GpgKeyCreatePayload) (*GpgKey, error)

func (*ApiClient) GpgKeyDelete added in v1.4.4

func (client *ApiClient) GpgKeyDelete(id string) error

func (*ApiClient) GpgKeys added in v1.4.4

func (client *ApiClient) GpgKeys() ([]GpgKey, error)

func (*ApiClient) Module added in v0.2.32

func (client *ApiClient) Module(id string) (*Module, 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 (client *ApiClient) ModuleDelete(id string) error

func (*ApiClient) ModuleTestingProject added in v1.16.11

func (client *ApiClient) ModuleTestingProject() (*ModuleTestingProject, error)

func (*ApiClient) ModuleUpdate added in v0.2.32

func (client *ApiClient) ModuleUpdate(id string, payload ModuleUpdatePayload) (*Module, error)

func (*ApiClient) Modules added in v0.2.32

func (client *ApiClient) Modules() ([]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 (client *ApiClient) NotificationDelete(id string) error

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) OidcSub added in v1.16.1

func (client *ApiClient) OidcSub() (string, error)

func (*ApiClient) Organization

func (client *ApiClient) Organization() (Organization, error)

func (*ApiClient) OrganizationId added in v1.1.2

func (client *ApiClient) OrganizationId() (string, error)

func (*ApiClient) OrganizationPolicyUpdate added in v0.2.32

func (client *ApiClient) OrganizationPolicyUpdate(payload OrganizationPolicyUpdatePayload) (*Organization, error)

func (*ApiClient) OrganizationRoleTeamAssignments added in v1.17.1

func (client *ApiClient) OrganizationRoleTeamAssignments() ([]OrganizationRoleTeamAssignment, error)

func (*ApiClient) OrganizationUserUpdateRole added in v1.3.0

func (client *ApiClient) OrganizationUserUpdateRole(userId string, roleId string) error

func (*ApiClient) Policy added in v0.0.15

func (client *ApiClient) Policy(projectId string) (Policy, error)

Policy retrieves a policy from the API

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) Project

func (client *ApiClient) Project(id string) (Project, error)

func (*ApiClient) ProjectBudget added in v1.4.17

func (client *ApiClient) ProjectBudget(projectId string) (*ProjectBudget, error)

func (*ApiClient) ProjectBudgetDelete added in v1.4.17

func (client *ApiClient) ProjectBudgetDelete(projectId string) error

func (*ApiClient) ProjectBudgetUpdate added in v1.4.17

func (client *ApiClient) ProjectBudgetUpdate(projectId string, payload *ProjectBudgetUpdatePayload) (*ProjectBudget, error)

func (*ApiClient) ProjectCreate

func (client *ApiClient) ProjectCreate(payload ProjectCreatePayload) (Project, error)

func (*ApiClient) ProjectDelete

func (client *ApiClient) ProjectDelete(id string) error

func (*ApiClient) ProjectEnvironments added in v0.2.32

func (client *ApiClient) ProjectEnvironments(projectId string) ([]Environment, error)

func (*ApiClient) ProjectMove added in v1.4.5

func (client *ApiClient) ProjectMove(id string, targetProjectId string) error

func (*ApiClient) ProjectUpdate added in v0.0.4

func (client *ApiClient) ProjectUpdate(id string, payload ProjectUpdatePayload) (Project, error)

func (*ApiClient) Projects

func (client *ApiClient) Projects() ([]Project, error)

func (*ApiClient) ProjectsAgentsAssignments added in v1.0.0

func (client *ApiClient) ProjectsAgentsAssignments() (*ProjectsAgentsAssignments, error)

func (*ApiClient) Provider added in v1.4.5

func (client *ApiClient) Provider(providerId string) (*Provider, error)

func (*ApiClient) ProviderCreate added in v1.4.5

func (client *ApiClient) ProviderCreate(payload ProviderCreatePayload) (*Provider, error)

func (*ApiClient) ProviderDelete added in v1.4.5

func (client *ApiClient) ProviderDelete(providerId string) error

func (*ApiClient) ProviderUpdate added in v1.4.5

func (client *ApiClient) ProviderUpdate(providerId string, payload ProviderUpdatePayload) (*Provider, error)

func (*ApiClient) Providers added in v1.4.5

func (client *ApiClient) Providers() ([]Provider, error)

func (*ApiClient) PutEnvironmentDiscovery added in v1.17.0

func (client *ApiClient) PutEnvironmentDiscovery(projectId string, payload *EnvironmentDiscoveryPutPayload) (*EnvironmentDiscoveryPayload, error)

func (*ApiClient) RemoteStateAccessConfiguration added in v1.4.2

func (client *ApiClient) RemoteStateAccessConfiguration(environmentId string) (*RemoteStateAccessConfiguration, error)

func (*ApiClient) RemoteStateAccessConfigurationCreate added in v1.4.2

func (client *ApiClient) RemoteStateAccessConfigurationCreate(environmentId string, payload RemoteStateAccessConfigurationCreate) (*RemoteStateAccessConfiguration, error)

func (*ApiClient) RemoteStateAccessConfigurationDelete added in v1.4.2

func (client *ApiClient) RemoteStateAccessConfigurationDelete(environmentId string) error

func (*ApiClient) RemoveCloudCredentialsFromProject added in v0.0.6

func (client *ApiClient) RemoveCloudCredentialsFromProject(projectId string, credentialId string) error

func (*ApiClient) RemoveCostCredentialsFromProject added in v0.2.32

func (client *ApiClient) RemoveCostCredentialsFromProject(projectId string, credentialId string) error

func (*ApiClient) RemoveOrganizationRoleFromTeam added in v1.17.1

func (client *ApiClient) RemoveOrganizationRoleFromTeam(teamId string) error

func (*ApiClient) RemoveTeamRoleFromEnvironment added in v1.4.8

func (client *ApiClient) RemoveTeamRoleFromEnvironment(environmentId string, teamId string) error

func (*ApiClient) RemoveTemplateFromProject added in v0.0.6

func (client *ApiClient) RemoveTemplateFromProject(templateId string, projectId string) error

func (*ApiClient) RemoveUserFromProject added in v1.0.7

func (client *ApiClient) RemoveUserFromProject(projectId string, userId string) error

func (*ApiClient) RemoveUserRoleFromEnvironment added in v1.4.6

func (client *ApiClient) RemoveUserRoleFromEnvironment(environmentId string, userId string) error

func (*ApiClient) Role added in v1.2.4

func (client *ApiClient) Role(id string) (*Role, error)

func (*ApiClient) RoleCreate added in v1.2.4

func (client *ApiClient) RoleCreate(payload RoleCreatePayload) (*Role, error)

func (*ApiClient) RoleDelete added in v1.2.4

func (client *ApiClient) RoleDelete(id string) error

func (*ApiClient) RoleUpdate added in v1.2.4

func (client *ApiClient) RoleUpdate(id string, payload RoleUpdatePayload) (*Role, error)

func (*ApiClient) Roles added in v1.2.4

func (client *ApiClient) Roles() ([]Role, error)

func (*ApiClient) SshKeyCreate

func (client *ApiClient) SshKeyCreate(payload SshKeyCreatePayload) (*SshKey, error)

func (*ApiClient) SshKeyDelete

func (client *ApiClient) SshKeyDelete(id string) error

func (*ApiClient) SshKeyUpdate added in v1.16.0

func (client *ApiClient) SshKeyUpdate(id string, payload *SshKeyUpdatePayload) (*SshKey, error)

func (*ApiClient) SshKeys

func (client *ApiClient) SshKeys() ([]SshKey, error)

func (*ApiClient) SubscribeWorkflowTrigger added in v1.4.1

func (client *ApiClient) SubscribeWorkflowTrigger(environmentId string, payload WorkflowTriggerEnvironments) error

func (*ApiClient) Team added in v0.0.13

func (client *ApiClient) Team(id string) (Team, error)

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 (client *ApiClient) TeamDelete(id string) error

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 (client *ApiClient) TeamProjectAssignmentDelete(projectId string, teamId string) error

func (*ApiClient) TeamProjectAssignments added in v0.0.13

func (client *ApiClient) TeamProjectAssignments(projectId string) ([]TeamProjectAssignment, error)

func (*ApiClient) TeamRoleEnvironmentAssignments added in v1.4.8

func (client *ApiClient) TeamRoleEnvironmentAssignments(environmentId string) ([]TeamRoleEnvironmentAssignment, error)

func (*ApiClient) TeamUpdate added in v0.0.13

func (client *ApiClient) TeamUpdate(id string, payload TeamUpdatePayload) (Team, error)

func (*ApiClient) Teams added in v0.0.13

func (client *ApiClient) Teams() ([]Team, error)

func (*ApiClient) TeamsByName added in v1.2.9

func (client *ApiClient) TeamsByName(name string) ([]Team, error)

func (*ApiClient) Template

func (client *ApiClient) Template(id string) (Template, error)

func (*ApiClient) TemplateCreate

func (client *ApiClient) TemplateCreate(payload TemplateCreatePayload) (Template, error)

func (*ApiClient) TemplateDelete

func (client *ApiClient) TemplateDelete(id string) error

func (*ApiClient) TemplateUpdate

func (client *ApiClient) TemplateUpdate(id string, payload TemplateCreatePayload) (Template, error)

func (*ApiClient) Templates

func (client *ApiClient) Templates() ([]Template, error)

func (*ApiClient) UnsubscribeWorkflowTrigger added in v1.4.1

func (client *ApiClient) UnsubscribeWorkflowTrigger(environmentId string, payload WorkflowTriggerEnvironments) error

func (*ApiClient) UpdateUserProjectAssignment added in v1.0.7

func (client *ApiClient) UpdateUserProjectAssignment(projectId string, userId string, payload *UpdateUserProjectAssignmentPayload) (*UserProjectAssignment, error)

func (*ApiClient) UserProjectAssignments added in v1.0.7

func (client *ApiClient) UserProjectAssignments(projectId string) ([]UserProjectAssignment, error)

func (*ApiClient) UserRoleEnvironmentAssignments added in v1.4.6

func (client *ApiClient) UserRoleEnvironmentAssignments(environmentId string) ([]UserRoleEnvironmentAssignment, error)

func (*ApiClient) Users added in v1.0.3

func (client *ApiClient) Users() ([]OrganizationUser, error)

func (*ApiClient) VariablesFromRepository added in v1.0.7

func (client *ApiClient) VariablesFromRepository(payload *VariablesFromRepositoryPayload) ([]ConfigurationVariable, 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)
	OrganizationId() (string, error)
	OrganizationPolicyUpdate(OrganizationPolicyUpdatePayload) (*Organization, error)
	OrganizationUserUpdateRole(userId string, roleId string) error
	OidcSub() (string, 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 ProjectUpdatePayload) (Project, error)
	ProjectDelete(id string) error
	ProjectMove(id string, targetProjectId string) error
	ModuleTestingProject() (*ModuleTestingProject, 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
	VariablesFromRepository(payload *VariablesFromRepositoryPayload) ([]ConfigurationVariable, error)
	SshKeys() ([]SshKey, error)
	SshKeyCreate(payload SshKeyCreatePayload) (*SshKey, error)
	SshKeyUpdate(id string, payload *SshKeyUpdatePayload) (*SshKey, error)
	SshKeyDelete(id string) error
	CredentialsCreate(request CredentialCreatePayload) (Credentials, error)
	CredentialsUpdate(id string, request CredentialCreatePayload) (Credentials, error)
	CloudCredentials(id string) (Credentials, error)
	CloudCredentialsList() ([]Credentials, error)
	CloudCredentialsDelete(id string) 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)
	TeamsByName(name string) ([]Team, error)
	TeamCreate(payload TeamCreatePayload) (Team, error)
	TeamUpdate(id string, payload TeamUpdatePayload) (Team, error)
	TeamDelete(id string) error
	TeamProjectAssignmentCreateOrUpdate(payload *TeamProjectAssignmentPayload) (*TeamProjectAssignment, error)
	TeamProjectAssignmentDelete(projectId string, teamId 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)
	EnvironmentCreateWithoutTemplate(payload EnvironmentCreateWithoutTemplate) (Environment, error)
	EnvironmentDestroy(id string) (Environment, error)
	EnvironmentMarkAsArchived(id string) error
	EnvironmentUpdate(id string, payload EnvironmentUpdate) (Environment, error)
	EnvironmentDeploy(id string, payload DeployRequest) (EnvironmentDeployResponse, error)
	EnvironmentUpdateTTL(id string, payload TTL) (Environment, error)
	EnvironmentScheduling(environmentId string) (EnvironmentScheduling, error)
	EnvironmentSchedulingUpdate(environmentId string, payload EnvironmentScheduling) (EnvironmentScheduling, error)
	EnvironmentSchedulingDelete(environmentId string) error
	WorkflowTrigger(environmentId string) ([]WorkflowTrigger, error)
	WorkflowTriggerUpsert(environmentId string, request WorkflowTriggerUpsertPayload) ([]WorkflowTrigger, error)
	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)
	AgentValues(id string) (string, error)
	Users() ([]OrganizationUser, error)
	AssignUserToProject(projectId string, payload *AssignUserToProjectPayload) (*UserProjectAssignment, error)
	RemoveUserFromProject(projectId string, userId string) error
	UserProjectAssignments(projectId string) ([]UserProjectAssignment, error)
	UpdateUserProjectAssignment(projectId string, userId string, payload *UpdateUserProjectAssignmentPayload) (*UserProjectAssignment, error)
	RoleCreate(payload RoleCreatePayload) (*Role, error)
	Role(id string) (*Role, error)
	RoleDelete(id string) error
	RoleUpdate(id string, payload RoleUpdatePayload) (*Role, error)
	Roles() ([]Role, error)
	CustomFlow(id string) (*CustomFlow, error)
	CustomFlows(name string) ([]CustomFlow, error)
	CustomFlowCreate(payload CustomFlowCreatePayload) (*CustomFlow, error)
	CustomFlowUpdate(id string, payload CustomFlowCreatePayload) (*CustomFlow, error)
	CustomFlowDelete(id string) error
	CustomFlowAssign(assignments []CustomFlowAssignment) error
	CustomFlowUnassign(assignments []CustomFlowAssignment) error
	CustomFlowGetAssignments(assignments []CustomFlowAssignment) ([]CustomFlowAssignment, error)
	SubscribeWorkflowTrigger(environmentId string, payload WorkflowTriggerEnvironments) error
	UnsubscribeWorkflowTrigger(environmentId string, payload WorkflowTriggerEnvironments) error
	RemoteStateAccessConfiguration(environmentId string) (*RemoteStateAccessConfiguration, error)
	RemoteStateAccessConfigurationCreate(environmentId string, payload RemoteStateAccessConfigurationCreate) (*RemoteStateAccessConfiguration, error)
	RemoteStateAccessConfigurationDelete(environmentId string) error
	GpgKeyCreate(payload *GpgKeyCreatePayload) (*GpgKey, error)
	GpgKeyDelete(id string) error
	GpgKeys() ([]GpgKey, error)
	ProviderCreate(payload ProviderCreatePayload) (*Provider, error)
	Provider(providerId string) (*Provider, error)
	ProviderDelete(providerId string) error
	ProviderUpdate(providerId string, payload ProviderUpdatePayload) (*Provider, error)
	Providers() ([]Provider, error)
	AssignUserRoleToEnvironment(payload *AssignUserRoleToEnvironmentPayload) (*UserRoleEnvironmentAssignment, error)
	RemoveUserRoleFromEnvironment(environmentId string, userId string) error
	UserRoleEnvironmentAssignments(environmentId string) ([]UserRoleEnvironmentAssignment, error)
	AssignTeamRoleToEnvironment(payload *AssignTeamRoleToEnvironmentPayload) (*TeamRoleEnvironmentAssignment, error)
	RemoveTeamRoleFromEnvironment(environmentId string, teamId string) error
	TeamRoleEnvironmentAssignments(environmentId string) ([]TeamRoleEnvironmentAssignment, error)
	AssignOrganizationRoleToTeam(payload *AssignOrganizationRoleToTeamPayload) (*OrganizationRoleTeamAssignment, error)
	RemoveOrganizationRoleFromTeam(teamId string) error
	OrganizationRoleTeamAssignments() ([]OrganizationRoleTeamAssignment, error)
	ApprovalPolicies(name string) ([]ApprovalPolicy, error)
	ApprovalPolicyAssign(assignment *ApprovalPolicyAssignment) (*ApprovalPolicyAssignment, error)
	ApprovalPolicyUnassign(scope string, scopeId string) error
	ApprovalPolicyByScope(scope string, scopeId string) ([]ApprovalPolicyByScope, error)
	ApprovalPolicyCreate(payload *ApprovalPolicyCreatePayload) (*ApprovalPolicy, error)
	ApprovalPolicyUpdate(payload *ApprovalPolicyUpdatePayload) (*ApprovalPolicy, error)
	ProjectBudget(projectId string) (*ProjectBudget, error)
	ProjectBudgetUpdate(projectId string, payload *ProjectBudgetUpdatePayload) (*ProjectBudget, error)
	ProjectBudgetDelete(projectId string) error
	PutEnvironmentDiscovery(projectId string, payload *EnvironmentDiscoveryPutPayload) (*EnvironmentDiscoveryPayload, error)
	GetEnvironmentDiscovery(projectId string) (*EnvironmentDiscoveryPayload, error)
	DeleteEnvironmentDiscovery(projectId string) error
}

func NewApiClient

func NewApiClient(client http.HttpClientInterface, defaultOrganizationId string) 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" tfschema:",omitempty"`
	LastUsedAt       string `json:"lastUsedAt"`
	OrganizationId   string `json:"organizationId"`
	OrganizationRole string `json:"organizationRole"`
	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"`
	Permissions ApiKeyPermissions `json:"permissions"`
}

type ApiKeyCreatePayloadWith added in v0.2.32

type ApiKeyCreatePayloadWith struct {
	ApiKeyCreatePayload
	OrganizationId string `json:"organizationId"`
}

type ApiKeyPermissions added in v1.0.7

type ApiKeyPermissions struct {
	OrganizationRole string `json:"organizationRole"`
}

type ApprovalPolicy added in v1.4.13

type ApprovalPolicy struct {
	Id                   string           `json:"id"`
	Name                 string           `json:"name"`
	Repository           string           `json:"repository"`
	Path                 string           `json:"path" tfschema:",omitempty"`
	Revision             string           `json:"revision" tfschema:",omitempty"`
	TokenId              string           `json:"tokenId" tfschema:",omitempty"`
	SshKeys              []TemplateSshKey `json:"sshKeys"`
	GithubInstallationId int              `json:"githubInstallationId" tfschema:",omitempty"`
	BitbucketClientKey   string           `json:"bitbucketClientKey" tfschema:",omitempty"`
	IsBitbucketServer    bool             `json:"isBitbucketServer"`
	IsGitlabEnterprise   bool             `json:"isGitLabEnterprise"`
	IsGithubEnterprise   bool             `json:"isGitHubEnterprise"`
	IsGitLab             bool             `json:"isGitLab" tfschema:"is_gitlab"`
	IsAzureDevOps        bool             `json:"isAzureDevOps" tfschema:"is_azure_devops"`
	IsTerragruntRunAll   bool             `json:"isTerragruntRunAll"`
}

type ApprovalPolicyAssignment added in v1.4.13

type ApprovalPolicyAssignment struct {
	Scope       ApprovalPolicyAssignmentScope `json:"scope"`
	ScopeId     string                        `json:"scopeId"`
	BlueprintId string                        `json:"blueprintId"`
}

type ApprovalPolicyAssignmentScope added in v1.4.13

type ApprovalPolicyAssignmentScope string
const (
	ApprovalPolicyProjectScope ApprovalPolicyAssignmentScope = "PROJECT"
)

type ApprovalPolicyByScope added in v1.4.13

type ApprovalPolicyByScope struct {
	Scope          string          `json:"scope"`
	ScopeId        string          `json:"scopeId"`
	ApprovalPolicy *ApprovalPolicy `json:"blueprint"`
}

type ApprovalPolicyCreatePayload added in v1.17.1

type ApprovalPolicyCreatePayload struct {
	Name                 string `json:"name"`
	Repository           string `json:"repository"`
	Revision             string `json:"revision,omitempty"`
	Path                 string `json:"path,omitempty"`
	TokenId              string `json:"tokenId,omitempty"`
	GithubInstallationId int    `json:"githubInstallationId,omitempty"`
	BitbucketClientKey   string `json:"bitbucketClientKey,omitempty"`
	IsBitbucketServer    bool   `json:"isBitbucketServer,omitempty"`
	IsGitlabEnterprise   bool   `json:"isGitLabEnterprise"`
	IsGithubEnterprise   bool   `json:"isGitHubEnterprise"`
	IsGitLab             bool   `json:"isGitLab" tfschema:"is_gitlab"`
	IsAzureDevOps        bool   `json:"isAzureDevOps" tfschema:"is_azure_devops"`
}

type ApprovalPolicyUpdatePayload added in v1.17.1

type ApprovalPolicyUpdatePayload struct {
	Id                   string `json:"id"`
	Name                 string `json:"name"`
	Repository           string `json:"repository"`
	Revision             string `json:"revision,omitempty"`
	Path                 string `json:"path,omitempty"`
	TokenId              string `json:"tokenId,omitempty"`
	GithubInstallationId int    `json:"githubInstallationId,omitempty"`
	BitbucketClientKey   string `json:"bitbucketClientKey,omitempty"`
	IsBitbucketServer    bool   `json:"isBitbucketServer,omitempty"`
	IsGitlabEnterprise   bool   `json:"isGitLabEnterprise"`
	IsGithubEnterprise   bool   `json:"isGitHubEnterprise"`
	IsGitLab             bool   `json:"isGitLab" tfschema:"is_gitlab"`
	IsAzureDevOps        bool   `json:"isAzureDevOps" tfschema:"is_azure_devops"`
}

type AssignOrganizationRoleToTeamPayload added in v1.17.1

type AssignOrganizationRoleToTeamPayload struct {
	TeamId string `json:"teamId"`
	Role   string `json:"role" tfschema:"role_id"`
}

type AssignProjectsAgentsAssignmentsPayload added in v1.0.0

type AssignProjectsAgentsAssignmentsPayload map[string]interface{}

Key is project id. Value is agent id.

type AssignTeamRoleToEnvironmentPayload added in v1.4.8

type AssignTeamRoleToEnvironmentPayload struct {
	TeamId        string `json:"teamId"`
	Role          string `json:"role" tfschema:"role_id"`
	EnvironmentId string `json:"environmentId"`
}

type AssignUserRoleToEnvironmentPayload added in v1.4.6

type AssignUserRoleToEnvironmentPayload struct {
	UserId        string `json:"userId"`
	Role          string `json:"role" tfschema:"role_id"`
	EnvironmentId string `json:"environmentId"`
}

type AssignUserToProjectPayload added in v1.0.7

type AssignUserToProjectPayload struct {
	UserId string `json:"userId"`
	Role   string `json:"role" tfschema:"-"`
}

type AwsCredentialsCreatePayload added in v0.0.4

type AwsCredentialsCreatePayload struct {
	Name           string                     `json:"name,omitempty"`
	OrganizationId string                     `json:"organizationId,omitempty"`
	Type           AwsCredentialsType         `json:"type"`
	Value          AwsCredentialsValuePayload `json:"value"`
}

func (*AwsCredentialsCreatePayload) SetOrganizationId added in v1.0.7

func (c *AwsCredentialsCreatePayload) SetOrganizationId(organizationId string)

type AwsCredentialsType added in v0.2.29

type AwsCredentialsType string

type AwsCredentialsValuePayload added in v0.0.4

type AwsCredentialsValuePayload struct {
	RoleArn         string `json:"roleArn" tfschema:"arn"`
	Duration        int    `json:"duration,omitempty"`
	AccessKeyId     string `json:"accessKeyId,omitempty"`
	SecretAccessKey string `json:"secretAccessKey,omitempty"`
}

type AzureCredentialsCreatePayload added in v0.2.30

type AzureCredentialsCreatePayload struct {
	Name           string                       `json:"name,omitempty"`
	OrganizationId string                       `json:"organizationId,omitempty"`
	Type           AzureCredentialsType         `json:"type"`
	Value          AzureCredentialsValuePayload `json:"value"`
}

func (*AzureCredentialsCreatePayload) SetOrganizationId added in v1.0.7

func (c *AzureCredentialsCreatePayload) SetOrganizationId(organizationId string)

type AzureCredentialsType added in v0.2.30

type AzureCredentialsType string

type AzureCredentialsValuePayload added in v0.2.30

type AzureCredentialsValuePayload struct {
	ClientId       string `json:"clientId"`
	ClientSecret   string `json:"clientSecret"`
	SubscriptionId string `json:"subscriptionId"`
	TenantId       string `json:"tenantId"`
}

type CloudCredentialIdsInProjectResponse added in v0.0.6

type CloudCredentialIdsInProjectResponse struct {
	CredentialIds []string `json:"credentialIds"`
}

type CloudCredentialsProjectAssignment added in v0.0.6

type CloudCredentialsProjectAssignment struct {
	Id           string `json:"id"`
	CredentialId string `json:"credentialId"`
	ProjectId    string `json:"projectId"`
}

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" tfschema:",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 ConfigurationVariableCreateParams struct {
	Name        string
	Value       string
	IsSensitive bool
	Scope       Scope
	ScopeId     string
	Type        ConfigurationVariableType
	EnumValues  []string
	Description string
	Format      Format
	IsReadOnly  bool
	IsRequired  bool
	Regex       string
}

type ConfigurationVariableSchema

type ConfigurationVariableSchema struct {
	Type   string   `json:"type,omitempty"`
	Enum   []string `json:"enum"`
	Format Format   `json:"format,omitempty"`
}

func (*ConfigurationVariableSchema) ResourceDataSliceStructValueWrite added in v1.0.7

func (c *ConfigurationVariableSchema) ResourceDataSliceStructValueWrite(values map[string]interface{}) error

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 CostCredentialProjectAssignment struct {
	ProjectId       string `json:"projectId"`
	CredentialsId   string `json:"credentialsId"`
	CredentialsType string `json:"credentialsType"`
}

type CredentialCreatePayload added in v1.0.7

type CredentialCreatePayload interface {
	SetOrganizationId(organizationId string)
}

type Credentials added in v0.2.32

type Credentials struct {
	Id             string `json:"id"`
	Name           string `json:"name"`
	OrganizationId string `json:"organizationId"`
	Type           string `json:"type"`
}

func (*Credentials) HasPrefix added in v1.0.6

func (c *Credentials) HasPrefix(prefixList []string) bool

type CustomFlow added in v1.3.3

type CustomFlow struct {
	Id                   string           `json:"id"`
	Name                 string           `json:"name"`
	Repository           string           `json:"repository"`
	Path                 string           `json:"path" tfschema:",omitempty"`
	Revision             string           `json:"revision" tfschema:",omitempty"`
	TokenId              string           `json:"tokenId" tfschema:",omitempty"`
	SshKeys              []TemplateSshKey `json:"sshKeys"`
	GithubInstallationId int              `json:"githubInstallationId" tfschema:",omitempty"`
	BitbucketClientKey   string           `json:"bitbucketClientKey" tfschema:",omitempty"`
	IsBitbucketServer    bool             `json:"isBitbucketServer"`
	IsGitlabEnterprise   bool             `json:"isGitLabEnterprise"`
	IsGithubEnterprise   bool             `json:"isGitHubEnterprise"`
	IsGitLab             bool             `json:"isGitLab" tfschema:"is_gitlab"`
	IsAzureDevOps        bool             `json:"isAzureDevOps" tfschema:"is_azure_devops"`
	IsTerragruntRunAll   bool             `json:"isTerragruntRunAll"`
}

type CustomFlowAssignment added in v1.3.4

type CustomFlowAssignment struct {
	Scope       CustomFlowAssignmentScope `json:"scope"`
	ScopeId     string                    `json:"scopeId"`
	BlueprintId string                    `json:"blueprintId,omitempty" tfschema:"template_id"`
}

type CustomFlowAssignmentScope added in v1.3.4

type CustomFlowAssignmentScope string
const (
	// CustomFlowOrganizationScope CustomFlowAssignmentScope = "ORGANIZATION" - to be added if required in the future.
	CustomFlowProjectScope CustomFlowAssignmentScope = "PROJECT"
)

type CustomFlowCreatePayload added in v1.3.3

type CustomFlowCreatePayload struct {
	Name                 string           `json:"name"`
	Repository           string           `json:"repository"`
	Path                 string           `json:"path,omitempty"`
	Revision             string           `json:"revision,omitempty"`
	TokenId              string           `json:"tokenId,omitempty"`
	SshKeys              []TemplateSshKey `json:"sshKeys,omitempty"`
	GithubInstallationId int              `json:"githubInstallationId,omitempty"`
	BitbucketClientKey   string           `json:"bitbucketClientKey,omitempty"`
	IsBitbucketServer    bool             `json:"isBitbucketServer"`
	IsGitlabEnterprise   bool             `json:"isGitLabEnterprise"`
	IsGithubEnterprise   bool             `json:"isGitHubEnterprise"`
	IsGitLab             bool             `json:"isGitLab" tfschema:"is_gitlab"`
	IsAzureDevOps        bool             `json:"isAzureDevOps" tfschema:"is_azure_devops"`
	IsTerragruntRunAll   bool             `json:"isTerragruntRunAll"`
}

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"`
	SubEnvironments      map[string]SubEnvironment `json:"subEnvironments,omitempty"`
}

type DeploymentLog added in v0.0.21

type DeploymentLog struct {
	Id                  string          `json:"id"`
	BlueprintId         string          `json:"blueprintId"`
	BlueprintRepository string          `json:"blueprintRepository"`
	BlueprintRevision   string          `json:"blueprintRevision"`
	Output              json.RawMessage `json:"output,omitempty"`
	Error               json.RawMessage `json:"error,omitempty"`
	Type                string          `json:"type"`
	WorkflowFile        *WorkflowFile   `json:"workflowFile,omitempty" tfschema:"-"`
}

type DriftDetectionRequest added in v1.4.8

type DriftDetectionRequest struct {
	Enabled bool   `json:"enabled"`
	Cron    string `json:"cron"`
}

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" tfschema:"workspace"`
	RequiresApproval            *bool         `json:"requiresApproval,omitempty" tfschema:"-"`
	ContinuousDeployment        *bool         `json:"continuousDeployment,omitempty" tfschema:"deploy_on_push,omitempty"`
	PullRequestPlanDeployments  *bool         `json:"pullRequestPlanDeployments,omitempty" tfschema:"run_plan_on_pull_requests,omitempty"`
	AutoDeployOnPathChangesOnly *bool         `json:"autoDeployOnPathChangesOnly,omitempty" tfschema:",omitempty"`
	AutoDeployByCustomGlob      string        `json:"autoDeployByCustomGlob,omitempty"`
	Status                      string        `json:"status"`
	LifespanEndAt               string        `json:"lifespanEndAt" tfschema:"ttl"`
	LatestDeploymentLogId       string        `json:"latestDeploymentLogId" tfschema:"deployment_id"`
	LatestDeploymentLog         DeploymentLog `json:"latestDeploymentLog"`
	TerragruntWorkingDirectory  string        `json:"terragruntWorkingDirectory,omitempty"`
	VcsCommandsAlias            string        `json:"vcsCommandsAlias"`
	BlueprintId                 string        `json:"blueprintId" tfschema:"-"`
	IsRemoteBackend             *bool         `json:"isRemoteBackend" tfschema:"-"`
	IsArchived                  *bool         `json:"isArchived" tfschema:"-"`
	IsRemoteApplyEnabled        bool          `json:"isRemoteApplyEnabled"`
}

type EnvironmentCreate added in v0.0.21

type EnvironmentCreate struct {
	Name                        string                 `json:"name"`
	ProjectId                   string                 `json:"projectId"`
	DeployRequest               *DeployRequest         `json:"deployRequest" tfschema:"-"`
	WorkspaceName               string                 `json:"workspaceName,omitempty" tfschema:"workspace"`
	RequiresApproval            *bool                  `json:"requiresApproval,omitempty" tfschema:"-"`
	ContinuousDeployment        *bool                  `json:"continuousDeployment,omitempty" tfschema:"-"`
	PullRequestPlanDeployments  *bool                  `json:"pullRequestPlanDeployments,omitempty" tfschema:"-"`
	AutoDeployOnPathChangesOnly *bool                  `json:"autoDeployOnPathChangesOnly,omitempty" tfchema:"-"`
	AutoDeployByCustomGlob      string                 `json:"autoDeployByCustomGlob"`
	ConfigurationChanges        *ConfigurationChanges  `json:"configurationChanges,omitempty" tfschema:"-"`
	TTL                         *TTL                   `json:"ttl,omitempty" tfschema:"-"`
	TerragruntWorkingDirectory  string                 `json:"terragruntWorkingDirectory,omitempty"`
	VcsCommandsAlias            string                 `json:"vcsCommandsAlias"`
	IsRemoteBackend             *bool                  `json:"isRemoteBackend,omitempty" tfschema:"-"`
	Type                        string                 `json:"type,omitempty"`
	DriftDetectionRequest       *DriftDetectionRequest `json:"driftDetectionRequest,omitempty" tfschema:"-"`
	PreventAutoDeploy           *bool                  `json:"preventAutoDeploy,omitempty" tfschema:"-"`
}

type EnvironmentCreateWithoutTemplate added in v1.2.0

type EnvironmentCreateWithoutTemplate struct {
	EnvironmentCreate EnvironmentCreate
	TemplateCreate    TemplateCreatePayload
}

When converted to JSON needs to be flattened. See custom MarshalJSON below.

func (EnvironmentCreateWithoutTemplate) MarshalJSON added in v1.2.0

func (create EnvironmentCreateWithoutTemplate) MarshalJSON() ([]byte, error)

The custom marshalJSON is used to return a flat JSON.

type EnvironmentDeployResponse added in v0.0.21

type EnvironmentDeployResponse struct {
	Id string `json:"id"`
}

type EnvironmentDiscoveryPayload added in v1.17.0

type EnvironmentDiscoveryPayload struct {
	Id                     string           `json:"id"`
	GlobPattern            string           `json:"globPattern"`
	EnvironmentPlacement   string           `json:"environmentPlacement"`
	WorkspaceNaming        string           `json:"workspaceNaming"`
	AutoDeployByCustomGlob string           `json:"autoDeployByCustomGlob"`
	Repository             string           `json:"repository"`
	TerraformVersion       string           `json:"terraformVersion"`
	OpentofuVersion        string           `json:"opentofuVersion"`
	TerragruntVersion      string           `json:"terragruntVersion"`
	TerragruntTfBinary     string           `json:"terragruntTfBinary" tfschema:",omitempty"`
	IsTerragruntRunAll     bool             `json:"is_terragrunt_run_all"`
	Type                   string           `json:"type"`
	GitlabProjectId        int              `json:"gitlabProjectId"`
	TokenId                string           `json:"tokenId"`
	SshKeys                []TemplateSshKey `json:"sshKeys" tfschema:"-"`
	GithubInstallationId   int              `json:"githubInstallationId"`
	BitbucketClientKey     string           `json:"bitbucketClientKey"`
	IsAzureDevops          bool             `json:"isAzureDevOps"`
	Retry                  TemplateRetry    `json:"retry" tfschema:"-"`
}

type EnvironmentDiscoveryPutPayload added in v1.17.0

type EnvironmentDiscoveryPutPayload struct {
	GlobPattern            string           `json:"globPattern"`
	EnvironmentPlacement   string           `json:"environmentPlacement"`
	WorkspaceNaming        string           `json:"workspaceNaming"`
	AutoDeployByCustomGlob string           `json:"autoDeployByCustomGlob,omitempty"`
	Repository             string           `json:"repository"`
	TerraformVersion       string           `json:"terraformVersion,omitempty"`
	OpentofuVersion        string           `json:"opentofuVersion,omitempty"`
	TerragruntVersion      string           `json:"terragruntVersion,omitempty"`
	TerragruntTfBinary     string           `json:"terragruntTfBinary,omitempty"`
	IsTerragruntRunAll     bool             `json:"is_terragrunt_run_all"`
	Type                   string           `json:"type"`
	GitlabProjectId        int              `json:"gitlabProjectId,omitempty"`
	TokenId                string           `json:"tokenId,omitempty"`
	SshKeys                []TemplateSshKey `json:"sshKeys,omitempty"`
	GithubInstallationId   int              `json:"githubInstallationId,omitempty"`
	BitbucketClientKey     string           `json:"bitbucketClientKey,omitempty"`
	IsAzureDevops          bool             `json:"isAzureDevOps"`
	Retry                  TemplateRetry    `json:"retry"`
}

type EnvironmentScheduling added in v0.0.23

type EnvironmentScheduling struct {
	Deploy  *EnvironmentSchedulingExpression `json:"deploy,omitempty" tfschema:"deploy_cron"`
	Destroy *EnvironmentSchedulingExpression `json:"destroy,omitempty" tfschema:"destroy_cron"`
}

type EnvironmentSchedulingExpression added in v0.0.23

type EnvironmentSchedulingExpression struct {
	Cron    string `json:"cron,omitempty"`
	Enabled bool   `json:"enabled"`
}

func (*EnvironmentSchedulingExpression) ReadResourceData added in v1.2.0

func (e *EnvironmentSchedulingExpression) ReadResourceData(fieldName string, d *schema.ResourceData) error

func (*EnvironmentSchedulingExpression) WriteResourceData added in v1.2.0

func (e *EnvironmentSchedulingExpression) WriteResourceData(fieldName string, d *schema.ResourceData) error

type EnvironmentUpdate added in v0.0.21

type EnvironmentUpdate struct {
	Name                        string `json:"name,omitempty"`
	AutoDeployByCustomGlob      string `json:"autoDeployByCustomGlob"`
	TerragruntWorkingDirectory  string `json:"terragruntWorkingDirectory,omitempty"`
	VcsCommandsAlias            string `json:"vcsCommandsAlias,omitempty"`
	RequiresApproval            *bool  `json:"requiresApproval,omitempty" tfschema:"-"`
	ContinuousDeployment        *bool  `json:"continuousDeployment,omitempty" tfschema:"-"`
	PullRequestPlanDeployments  *bool  `json:"pullRequestPlanDeployments,omitempty" tfschema:"-"`
	AutoDeployOnPathChangesOnly *bool  `json:"autoDeployOnPathChangesOnly,omitempty" tfschema:"-"`
	IsRemoteBackend             *bool  `json:"isRemoteBackend,omitempty" tfschema:"-"`
	IsArchived                  *bool  `json:"isArchived,omitempty" tfschema:"-"`
	IsRemoteApplyEnabled        bool   `json:"isRemoteApplyEnabled"`
}

type Format added in v0.0.23

type Format string
const (
	Text Format = ""
	HCL  Format = "HCL"
	JSON Format = "JSON"
)

type GcpCredentialsCreatePayload added in v0.2.29

type GcpCredentialsCreatePayload struct {
	Name           string                     `json:"name,omitempty"`
	OrganizationId string                     `json:"organizationId,omitempty"`
	Type           GcpCredentialsType         `json:"type"`
	Value          GcpCredentialsValuePayload `json:"value"`
}

func (*GcpCredentialsCreatePayload) SetOrganizationId added in v1.0.7

func (c *GcpCredentialsCreatePayload) SetOrganizationId(organizationId string)

type GcpCredentialsType added in v0.2.29

type GcpCredentialsType string

type GcpCredentialsValuePayload added in v0.2.29

type GcpCredentialsValuePayload struct {
	ProjectId                          string `json:"projectId,omitempty"`
	ServiceAccountKey                  string `json:"serviceAccountKey,omitempty"`
	CredentialConfigurationFileContent string `json:"credentialConfigurationFileContent,omitempty"`
}

type GitToken added in v0.2.32

type GitToken struct {
	Id             string `json:"id"`
	Name           string `json:"name"`
	Value          string `json:"value" tfschema:"-"`
	OrganizationId string `json:"organizationId"`
}

type GitTokenCreatePayload added in v0.2.32

type GitTokenCreatePayload struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

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,omitempty"`
	OrganizationId string                            `json:"organizationId,omitempty"`
	Type           GcpCredentialsType                `json:"type"`
	Value          GoogleCostCredentialsValuePayload `json:"value"`
}

func (*GoogleCostCredentialsCreatePayload) SetOrganizationId added in v1.0.7

func (c *GoogleCostCredentialsCreatePayload) SetOrganizationId(organizationId string)

type GoogleCostCredentialsValuePayload added in v1.0.0

type GoogleCostCredentialsValuePayload struct {
	TableId string `json:"tableid"`
	Secret  string `json:"secret"`
}

type GpgKey added in v1.4.4

type GpgKey struct {
	Id             string `json:"id"`
	Name           string `json:"name"`
	OrganizationId string `json:"organizationId"`
	KeyId          string `json:"keyId"`
	Content        string `json:"content"`
	CreatedBy      string `json:"createdBy"`
}

type GpgKeyCreatePayload added in v1.4.4

type GpgKeyCreatePayload struct {
	Name    string `json:"name"`
	KeyId   string `json:"keyId"`
	Content string `json:"content"`
}

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) AgentValues added in v1.1.2

func (m *MockApiClientInterface) AgentValues(arg0 string) (string, error)

AgentValues mocks base method.

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) ApprovalPolicies added in v1.4.13

func (m *MockApiClientInterface) ApprovalPolicies(arg0 string) ([]ApprovalPolicy, error)

ApprovalPolicies mocks base method.

func (*MockApiClientInterface) ApprovalPolicyAssign added in v1.4.13

ApprovalPolicyAssign mocks base method.

func (*MockApiClientInterface) ApprovalPolicyByScope added in v1.4.13

func (m *MockApiClientInterface) ApprovalPolicyByScope(arg0, arg1 string) ([]ApprovalPolicyByScope, error)

ApprovalPolicyByScope mocks base method.

func (*MockApiClientInterface) ApprovalPolicyCreate added in v1.17.1

func (m *MockApiClientInterface) ApprovalPolicyCreate(arg0 *ApprovalPolicyCreatePayload) (*ApprovalPolicy, error)

ApprovalPolicyCreate mocks base method.

func (*MockApiClientInterface) ApprovalPolicyUnassign added in v1.4.13

func (m *MockApiClientInterface) ApprovalPolicyUnassign(arg0, arg1 string) error

ApprovalPolicyUnassign mocks base method.

func (*MockApiClientInterface) ApprovalPolicyUpdate added in v1.17.1

func (m *MockApiClientInterface) ApprovalPolicyUpdate(arg0 *ApprovalPolicyUpdatePayload) (*ApprovalPolicy, error)

ApprovalPolicyUpdate mocks base method.

func (*MockApiClientInterface) AssignAgentsToProjects added in v1.0.0

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) AssignOrganizationRoleToTeam added in v1.17.1

AssignOrganizationRoleToTeam mocks base method.

func (*MockApiClientInterface) AssignTeamRoleToEnvironment added in v1.4.8

AssignTeamRoleToEnvironment 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) AssignUserRoleToEnvironment added in v1.4.6

AssignUserRoleToEnvironment mocks base method.

func (*MockApiClientInterface) AssignUserToProject added in v1.0.7

AssignUserToProject 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

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

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) CredentialsCreate added in v1.0.7

func (m *MockApiClientInterface) CredentialsCreate(arg0 CredentialCreatePayload) (Credentials, error)

CredentialsCreate mocks base method.

func (*MockApiClientInterface) CredentialsUpdate added in v1.5.0

func (m *MockApiClientInterface) CredentialsUpdate(arg0 string, arg1 CredentialCreatePayload) (Credentials, error)

CredentialsUpdate mocks base method.

func (*MockApiClientInterface) CustomFlow added in v1.3.3

func (m *MockApiClientInterface) CustomFlow(arg0 string) (*CustomFlow, error)

CustomFlow mocks base method.

func (*MockApiClientInterface) CustomFlowAssign added in v1.3.4

func (m *MockApiClientInterface) CustomFlowAssign(arg0 []CustomFlowAssignment) error

CustomFlowAssign mocks base method.

func (*MockApiClientInterface) CustomFlowCreate added in v1.3.3

func (m *MockApiClientInterface) CustomFlowCreate(arg0 CustomFlowCreatePayload) (*CustomFlow, error)

CustomFlowCreate mocks base method.

func (*MockApiClientInterface) CustomFlowDelete added in v1.3.3

func (m *MockApiClientInterface) CustomFlowDelete(arg0 string) error

CustomFlowDelete mocks base method.

func (*MockApiClientInterface) CustomFlowGetAssignments added in v1.3.4

func (m *MockApiClientInterface) CustomFlowGetAssignments(arg0 []CustomFlowAssignment) ([]CustomFlowAssignment, error)

CustomFlowGetAssignments mocks base method.

func (*MockApiClientInterface) CustomFlowUnassign added in v1.3.4

func (m *MockApiClientInterface) CustomFlowUnassign(arg0 []CustomFlowAssignment) error

CustomFlowUnassign mocks base method.

func (*MockApiClientInterface) CustomFlowUpdate added in v1.3.3

func (m *MockApiClientInterface) CustomFlowUpdate(arg0 string, arg1 CustomFlowCreatePayload) (*CustomFlow, error)

CustomFlowUpdate mocks base method.

func (*MockApiClientInterface) CustomFlows added in v1.3.3

func (m *MockApiClientInterface) CustomFlows(arg0 string) ([]CustomFlow, error)

CustomFlows mocks base method.

func (*MockApiClientInterface) DeleteEnvironmentDiscovery added in v1.17.0

func (m *MockApiClientInterface) DeleteEnvironmentDiscovery(arg0 string) error

DeleteEnvironmentDiscovery mocks base method.

func (*MockApiClientInterface) EXPECT added in v0.0.6

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) EnvironmentCreateWithoutTemplate added in v1.2.0

func (m *MockApiClientInterface) EnvironmentCreateWithoutTemplate(arg0 EnvironmentCreateWithoutTemplate) (Environment, error)

EnvironmentCreateWithoutTemplate mocks base method.

func (*MockApiClientInterface) EnvironmentDeploy added in v0.0.21

func (m *MockApiClientInterface) EnvironmentDeploy(arg0 string, arg1 DeployRequest) (EnvironmentDeployResponse, error)

EnvironmentDeploy mocks base method.

func (*MockApiClientInterface) EnvironmentDestroy added in v0.0.21

func (m *MockApiClientInterface) EnvironmentDestroy(arg0 string) (Environment, error)

EnvironmentDestroy mocks base method.

func (*MockApiClientInterface) EnvironmentDriftDetection added in v0.2.29

func (m *MockApiClientInterface) EnvironmentDriftDetection(arg0 string) (EnvironmentSchedulingExpression, error)

EnvironmentDriftDetection mocks base method.

func (*MockApiClientInterface) EnvironmentMarkAsArchived added in v1.17.1

func (m *MockApiClientInterface) EnvironmentMarkAsArchived(arg0 string) error

EnvironmentMarkAsArchived 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

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) GetEnvironmentDiscovery added in v1.17.0

func (m *MockApiClientInterface) GetEnvironmentDiscovery(arg0 string) (*EnvironmentDiscoveryPayload, error)

GetEnvironmentDiscovery 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) GpgKeyCreate added in v1.4.4

func (m *MockApiClientInterface) GpgKeyCreate(arg0 *GpgKeyCreatePayload) (*GpgKey, error)

GpgKeyCreate mocks base method.

func (*MockApiClientInterface) GpgKeyDelete added in v1.4.4

func (m *MockApiClientInterface) GpgKeyDelete(arg0 string) error

GpgKeyDelete mocks base method.

func (*MockApiClientInterface) GpgKeys added in v1.4.4

func (m *MockApiClientInterface) GpgKeys() ([]GpgKey, error)

GpgKeys 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) ModuleTestingProject added in v1.16.11

func (m *MockApiClientInterface) ModuleTestingProject() (*ModuleTestingProject, error)

ModuleTestingProject 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) OidcSub added in v1.16.1

func (m *MockApiClientInterface) OidcSub() (string, error)

OidcSub mocks base method.

func (*MockApiClientInterface) Organization added in v0.0.6

func (m *MockApiClientInterface) Organization() (Organization, error)

Organization mocks base method.

func (*MockApiClientInterface) OrganizationId added in v1.1.2

func (m *MockApiClientInterface) OrganizationId() (string, error)

OrganizationId 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) OrganizationRoleTeamAssignments added in v1.17.1

func (m *MockApiClientInterface) OrganizationRoleTeamAssignments() ([]OrganizationRoleTeamAssignment, error)

OrganizationRoleTeamAssignments mocks base method.

func (*MockApiClientInterface) OrganizationUserUpdateRole added in v1.3.0

func (m *MockApiClientInterface) OrganizationUserUpdateRole(arg0, arg1 string) error

OrganizationUserUpdateRole 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) ProjectBudget added in v1.4.17

func (m *MockApiClientInterface) ProjectBudget(arg0 string) (*ProjectBudget, error)

ProjectBudget mocks base method.

func (*MockApiClientInterface) ProjectBudgetDelete added in v1.4.17

func (m *MockApiClientInterface) ProjectBudgetDelete(arg0 string) error

ProjectBudgetDelete mocks base method.

func (*MockApiClientInterface) ProjectBudgetUpdate added in v1.4.17

func (m *MockApiClientInterface) ProjectBudgetUpdate(arg0 string, arg1 *ProjectBudgetUpdatePayload) (*ProjectBudget, error)

ProjectBudgetUpdate 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) ProjectMove added in v1.4.5

func (m *MockApiClientInterface) ProjectMove(arg0, arg1 string) error

ProjectMove mocks base method.

func (*MockApiClientInterface) ProjectUpdate added in v0.0.6

func (m *MockApiClientInterface) ProjectUpdate(arg0 string, arg1 ProjectUpdatePayload) (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) Provider added in v1.4.5

func (m *MockApiClientInterface) Provider(arg0 string) (*Provider, error)

Provider mocks base method.

func (*MockApiClientInterface) ProviderCreate added in v1.4.5

func (m *MockApiClientInterface) ProviderCreate(arg0 ProviderCreatePayload) (*Provider, error)

ProviderCreate mocks base method.

func (*MockApiClientInterface) ProviderDelete added in v1.4.5

func (m *MockApiClientInterface) ProviderDelete(arg0 string) error

ProviderDelete mocks base method.

func (*MockApiClientInterface) ProviderUpdate added in v1.4.5

func (m *MockApiClientInterface) ProviderUpdate(arg0 string, arg1 ProviderUpdatePayload) (*Provider, error)

ProviderUpdate mocks base method.

func (*MockApiClientInterface) Providers added in v1.4.5

func (m *MockApiClientInterface) Providers() ([]Provider, error)

Providers mocks base method.

func (*MockApiClientInterface) PutEnvironmentDiscovery added in v1.17.0

PutEnvironmentDiscovery mocks base method.

func (*MockApiClientInterface) RemoteStateAccessConfiguration added in v1.4.2

func (m *MockApiClientInterface) RemoteStateAccessConfiguration(arg0 string) (*RemoteStateAccessConfiguration, error)

RemoteStateAccessConfiguration mocks base method.

func (*MockApiClientInterface) RemoteStateAccessConfigurationCreate added in v1.4.2

func (m *MockApiClientInterface) RemoteStateAccessConfigurationCreate(arg0 string, arg1 RemoteStateAccessConfigurationCreate) (*RemoteStateAccessConfiguration, error)

RemoteStateAccessConfigurationCreate mocks base method.

func (*MockApiClientInterface) RemoteStateAccessConfigurationDelete added in v1.4.2

func (m *MockApiClientInterface) RemoteStateAccessConfigurationDelete(arg0 string) error

RemoteStateAccessConfigurationDelete 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) RemoveOrganizationRoleFromTeam added in v1.17.1

func (m *MockApiClientInterface) RemoveOrganizationRoleFromTeam(arg0 string) error

RemoveOrganizationRoleFromTeam mocks base method.

func (*MockApiClientInterface) RemoveTeamRoleFromEnvironment added in v1.4.8

func (m *MockApiClientInterface) RemoveTeamRoleFromEnvironment(arg0, arg1 string) error

RemoveTeamRoleFromEnvironment 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) RemoveUserFromProject added in v1.0.7

func (m *MockApiClientInterface) RemoveUserFromProject(arg0, arg1 string) error

RemoveUserFromProject mocks base method.

func (*MockApiClientInterface) RemoveUserRoleFromEnvironment added in v1.4.6

func (m *MockApiClientInterface) RemoveUserRoleFromEnvironment(arg0, arg1 string) error

RemoveUserRoleFromEnvironment mocks base method.

func (*MockApiClientInterface) Role added in v1.2.4

func (m *MockApiClientInterface) Role(arg0 string) (*Role, error)

Role mocks base method.

func (*MockApiClientInterface) RoleCreate added in v1.2.4

func (m *MockApiClientInterface) RoleCreate(arg0 RoleCreatePayload) (*Role, error)

RoleCreate mocks base method.

func (*MockApiClientInterface) RoleDelete added in v1.2.4

func (m *MockApiClientInterface) RoleDelete(arg0 string) error

RoleDelete mocks base method.

func (*MockApiClientInterface) RoleUpdate added in v1.2.4

func (m *MockApiClientInterface) RoleUpdate(arg0 string, arg1 RoleUpdatePayload) (*Role, error)

RoleUpdate mocks base method.

func (*MockApiClientInterface) Roles added in v1.2.4

func (m *MockApiClientInterface) Roles() ([]Role, error)

Roles 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) SshKeyUpdate added in v1.16.0

func (m *MockApiClientInterface) SshKeyUpdate(arg0 string, arg1 *SshKeyUpdatePayload) (*SshKey, error)

SshKeyUpdate mocks base method.

func (*MockApiClientInterface) SshKeys added in v0.0.6

func (m *MockApiClientInterface) SshKeys() ([]SshKey, error)

SshKeys mocks base method.

func (*MockApiClientInterface) SubscribeWorkflowTrigger added in v1.4.1

func (m *MockApiClientInterface) SubscribeWorkflowTrigger(arg0 string, arg1 WorkflowTriggerEnvironments) error

SubscribeWorkflowTrigger 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, arg1 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) TeamRoleEnvironmentAssignments added in v1.4.8

func (m *MockApiClientInterface) TeamRoleEnvironmentAssignments(arg0 string) ([]TeamRoleEnvironmentAssignment, error)

TeamRoleEnvironmentAssignments 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) TeamsByName added in v1.2.9

func (m *MockApiClientInterface) TeamsByName(arg0 string) ([]Team, error)

TeamsByName 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) UnsubscribeWorkflowTrigger added in v1.4.1

func (m *MockApiClientInterface) UnsubscribeWorkflowTrigger(arg0 string, arg1 WorkflowTriggerEnvironments) error

UnsubscribeWorkflowTrigger mocks base method.

func (*MockApiClientInterface) UpdateUserProjectAssignment added in v1.0.7

func (m *MockApiClientInterface) UpdateUserProjectAssignment(arg0, arg1 string, arg2 *UpdateUserProjectAssignmentPayload) (*UserProjectAssignment, error)

UpdateUserProjectAssignment mocks base method.

func (*MockApiClientInterface) UserProjectAssignments added in v1.0.7

func (m *MockApiClientInterface) UserProjectAssignments(arg0 string) ([]UserProjectAssignment, error)

UserProjectAssignments mocks base method.

func (*MockApiClientInterface) UserRoleEnvironmentAssignments added in v1.4.6

func (m *MockApiClientInterface) UserRoleEnvironmentAssignments(arg0 string) ([]UserRoleEnvironmentAssignment, error)

UserRoleEnvironmentAssignments mocks base method.

func (*MockApiClientInterface) Users added in v1.0.3

Users mocks base method.

func (*MockApiClientInterface) VariablesFromRepository added in v1.0.7

VariablesFromRepository 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) AgentValues added in v1.1.2

func (mr *MockApiClientInterfaceMockRecorder) AgentValues(arg0 any) *gomock.Call

AgentValues indicates an expected call of AgentValues.

func (*MockApiClientInterfaceMockRecorder) Agents added in v1.0.0

Agents indicates an expected call of Agents.

func (*MockApiClientInterfaceMockRecorder) ApiKeyCreate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) ApiKeyCreate(arg0 any) *gomock.Call

ApiKeyCreate indicates an expected call of ApiKeyCreate.

func (*MockApiClientInterfaceMockRecorder) ApiKeyDelete added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) ApiKeyDelete(arg0 any) *gomock.Call

ApiKeyDelete indicates an expected call of ApiKeyDelete.

func (*MockApiClientInterfaceMockRecorder) ApiKeys added in v0.2.32

ApiKeys indicates an expected call of ApiKeys.

func (*MockApiClientInterfaceMockRecorder) ApprovalPolicies added in v1.4.13

func (mr *MockApiClientInterfaceMockRecorder) ApprovalPolicies(arg0 any) *gomock.Call

ApprovalPolicies indicates an expected call of ApprovalPolicies.

func (*MockApiClientInterfaceMockRecorder) ApprovalPolicyAssign added in v1.4.13

func (mr *MockApiClientInterfaceMockRecorder) ApprovalPolicyAssign(arg0 any) *gomock.Call

ApprovalPolicyAssign indicates an expected call of ApprovalPolicyAssign.

func (*MockApiClientInterfaceMockRecorder) ApprovalPolicyByScope added in v1.4.13

func (mr *MockApiClientInterfaceMockRecorder) ApprovalPolicyByScope(arg0, arg1 any) *gomock.Call

ApprovalPolicyByScope indicates an expected call of ApprovalPolicyByScope.

func (*MockApiClientInterfaceMockRecorder) ApprovalPolicyCreate added in v1.17.1

func (mr *MockApiClientInterfaceMockRecorder) ApprovalPolicyCreate(arg0 any) *gomock.Call

ApprovalPolicyCreate indicates an expected call of ApprovalPolicyCreate.

func (*MockApiClientInterfaceMockRecorder) ApprovalPolicyUnassign added in v1.4.13

func (mr *MockApiClientInterfaceMockRecorder) ApprovalPolicyUnassign(arg0, arg1 any) *gomock.Call

ApprovalPolicyUnassign indicates an expected call of ApprovalPolicyUnassign.

func (*MockApiClientInterfaceMockRecorder) ApprovalPolicyUpdate added in v1.17.1

func (mr *MockApiClientInterfaceMockRecorder) ApprovalPolicyUpdate(arg0 any) *gomock.Call

ApprovalPolicyUpdate indicates an expected call of ApprovalPolicyUpdate.

func (*MockApiClientInterfaceMockRecorder) AssignAgentsToProjects added in v1.0.0

func (mr *MockApiClientInterfaceMockRecorder) AssignAgentsToProjects(arg0 any) *gomock.Call

AssignAgentsToProjects indicates an expected call of AssignAgentsToProjects.

func (*MockApiClientInterfaceMockRecorder) AssignCloudCredentialsToProject added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) AssignCloudCredentialsToProject(arg0, arg1 any) *gomock.Call

AssignCloudCredentialsToProject indicates an expected call of AssignCloudCredentialsToProject.

func (*MockApiClientInterfaceMockRecorder) AssignCostCredentialsToProject added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) AssignCostCredentialsToProject(arg0, arg1 any) *gomock.Call

AssignCostCredentialsToProject indicates an expected call of AssignCostCredentialsToProject.

func (*MockApiClientInterfaceMockRecorder) AssignOrganizationRoleToTeam added in v1.17.1

func (mr *MockApiClientInterfaceMockRecorder) AssignOrganizationRoleToTeam(arg0 any) *gomock.Call

AssignOrganizationRoleToTeam indicates an expected call of AssignOrganizationRoleToTeam.

func (*MockApiClientInterfaceMockRecorder) AssignTeamRoleToEnvironment added in v1.4.8

func (mr *MockApiClientInterfaceMockRecorder) AssignTeamRoleToEnvironment(arg0 any) *gomock.Call

AssignTeamRoleToEnvironment indicates an expected call of AssignTeamRoleToEnvironment.

func (*MockApiClientInterfaceMockRecorder) AssignTemplateToProject added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) AssignTemplateToProject(arg0, arg1 any) *gomock.Call

AssignTemplateToProject indicates an expected call of AssignTemplateToProject.

func (*MockApiClientInterfaceMockRecorder) AssignUserRoleToEnvironment added in v1.4.6

func (mr *MockApiClientInterfaceMockRecorder) AssignUserRoleToEnvironment(arg0 any) *gomock.Call

AssignUserRoleToEnvironment indicates an expected call of AssignUserRoleToEnvironment.

func (*MockApiClientInterfaceMockRecorder) AssignUserToProject added in v1.0.7

func (mr *MockApiClientInterfaceMockRecorder) AssignUserToProject(arg0, arg1 any) *gomock.Call

AssignUserToProject indicates an expected call of AssignUserToProject.

func (*MockApiClientInterfaceMockRecorder) CloudCredentialIdsInProject added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialIdsInProject(arg0 any) *gomock.Call

CloudCredentialIdsInProject indicates an expected call of CloudCredentialIdsInProject.

func (*MockApiClientInterfaceMockRecorder) CloudCredentials added in v0.2.29

func (mr *MockApiClientInterfaceMockRecorder) CloudCredentials(arg0 any) *gomock.Call

CloudCredentials indicates an expected call of CloudCredentials.

func (*MockApiClientInterfaceMockRecorder) CloudCredentialsDelete added in v0.2.29

func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialsDelete(arg0 any) *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 any) *gomock.Call

ConfigurationVariableCreate indicates an expected call of ConfigurationVariableCreate.

func (*MockApiClientInterfaceMockRecorder) ConfigurationVariableDelete added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableDelete(arg0 any) *gomock.Call

ConfigurationVariableDelete indicates an expected call of ConfigurationVariableDelete.

func (*MockApiClientInterfaceMockRecorder) ConfigurationVariableUpdate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableUpdate(arg0 any) *gomock.Call

ConfigurationVariableUpdate indicates an expected call of ConfigurationVariableUpdate.

func (*MockApiClientInterfaceMockRecorder) ConfigurationVariablesById added in v0.2.25

func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariablesById(arg0 any) *gomock.Call

ConfigurationVariablesById indicates an expected call of ConfigurationVariablesById.

func (*MockApiClientInterfaceMockRecorder) ConfigurationVariablesByScope added in v0.2.27

func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariablesByScope(arg0, arg1 any) *gomock.Call

ConfigurationVariablesByScope indicates an expected call of ConfigurationVariablesByScope.

func (*MockApiClientInterfaceMockRecorder) CostCredentialIdsInProject added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) CostCredentialIdsInProject(arg0 any) *gomock.Call

CostCredentialIdsInProject indicates an expected call of CostCredentialIdsInProject.

func (*MockApiClientInterfaceMockRecorder) CredentialsCreate added in v1.0.7

func (mr *MockApiClientInterfaceMockRecorder) CredentialsCreate(arg0 any) *gomock.Call

CredentialsCreate indicates an expected call of CredentialsCreate.

func (*MockApiClientInterfaceMockRecorder) CredentialsUpdate added in v1.5.0

func (mr *MockApiClientInterfaceMockRecorder) CredentialsUpdate(arg0, arg1 any) *gomock.Call

CredentialsUpdate indicates an expected call of CredentialsUpdate.

func (*MockApiClientInterfaceMockRecorder) CustomFlow added in v1.3.3

func (mr *MockApiClientInterfaceMockRecorder) CustomFlow(arg0 any) *gomock.Call

CustomFlow indicates an expected call of CustomFlow.

func (*MockApiClientInterfaceMockRecorder) CustomFlowAssign added in v1.3.4

func (mr *MockApiClientInterfaceMockRecorder) CustomFlowAssign(arg0 any) *gomock.Call

CustomFlowAssign indicates an expected call of CustomFlowAssign.

func (*MockApiClientInterfaceMockRecorder) CustomFlowCreate added in v1.3.3

func (mr *MockApiClientInterfaceMockRecorder) CustomFlowCreate(arg0 any) *gomock.Call

CustomFlowCreate indicates an expected call of CustomFlowCreate.

func (*MockApiClientInterfaceMockRecorder) CustomFlowDelete added in v1.3.3

func (mr *MockApiClientInterfaceMockRecorder) CustomFlowDelete(arg0 any) *gomock.Call

CustomFlowDelete indicates an expected call of CustomFlowDelete.

func (*MockApiClientInterfaceMockRecorder) CustomFlowGetAssignments added in v1.3.4

func (mr *MockApiClientInterfaceMockRecorder) CustomFlowGetAssignments(arg0 any) *gomock.Call

CustomFlowGetAssignments indicates an expected call of CustomFlowGetAssignments.

func (*MockApiClientInterfaceMockRecorder) CustomFlowUnassign added in v1.3.4

func (mr *MockApiClientInterfaceMockRecorder) CustomFlowUnassign(arg0 any) *gomock.Call

CustomFlowUnassign indicates an expected call of CustomFlowUnassign.

func (*MockApiClientInterfaceMockRecorder) CustomFlowUpdate added in v1.3.3

func (mr *MockApiClientInterfaceMockRecorder) CustomFlowUpdate(arg0, arg1 any) *gomock.Call

CustomFlowUpdate indicates an expected call of CustomFlowUpdate.

func (*MockApiClientInterfaceMockRecorder) CustomFlows added in v1.3.3

func (mr *MockApiClientInterfaceMockRecorder) CustomFlows(arg0 any) *gomock.Call

CustomFlows indicates an expected call of CustomFlows.

func (*MockApiClientInterfaceMockRecorder) DeleteEnvironmentDiscovery added in v1.17.0

func (mr *MockApiClientInterfaceMockRecorder) DeleteEnvironmentDiscovery(arg0 any) *gomock.Call

DeleteEnvironmentDiscovery indicates an expected call of DeleteEnvironmentDiscovery.

func (*MockApiClientInterfaceMockRecorder) Environment added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) Environment(arg0 any) *gomock.Call

Environment indicates an expected call of Environment.

func (*MockApiClientInterfaceMockRecorder) EnvironmentCreate added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentCreate(arg0 any) *gomock.Call

EnvironmentCreate indicates an expected call of EnvironmentCreate.

func (*MockApiClientInterfaceMockRecorder) EnvironmentCreateWithoutTemplate added in v1.2.0

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentCreateWithoutTemplate(arg0 any) *gomock.Call

EnvironmentCreateWithoutTemplate indicates an expected call of EnvironmentCreateWithoutTemplate.

func (*MockApiClientInterfaceMockRecorder) EnvironmentDeploy added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentDeploy(arg0, arg1 any) *gomock.Call

EnvironmentDeploy indicates an expected call of EnvironmentDeploy.

func (*MockApiClientInterfaceMockRecorder) EnvironmentDestroy added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentDestroy(arg0 any) *gomock.Call

EnvironmentDestroy indicates an expected call of EnvironmentDestroy.

func (*MockApiClientInterfaceMockRecorder) EnvironmentDriftDetection added in v0.2.29

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentDriftDetection(arg0 any) *gomock.Call

EnvironmentDriftDetection indicates an expected call of EnvironmentDriftDetection.

func (*MockApiClientInterfaceMockRecorder) EnvironmentMarkAsArchived added in v1.17.1

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentMarkAsArchived(arg0 any) *gomock.Call

EnvironmentMarkAsArchived indicates an expected call of EnvironmentMarkAsArchived.

func (*MockApiClientInterfaceMockRecorder) EnvironmentScheduling added in v0.0.23

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentScheduling(arg0 any) *gomock.Call

EnvironmentScheduling indicates an expected call of EnvironmentScheduling.

func (*MockApiClientInterfaceMockRecorder) EnvironmentSchedulingDelete added in v0.0.23

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentSchedulingDelete(arg0 any) *gomock.Call

EnvironmentSchedulingDelete indicates an expected call of EnvironmentSchedulingDelete.

func (*MockApiClientInterfaceMockRecorder) EnvironmentSchedulingUpdate added in v0.0.23

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentSchedulingUpdate(arg0, arg1 any) *gomock.Call

EnvironmentSchedulingUpdate indicates an expected call of EnvironmentSchedulingUpdate.

func (*MockApiClientInterfaceMockRecorder) EnvironmentStopDriftDetection added in v0.2.29

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentStopDriftDetection(arg0 any) *gomock.Call

EnvironmentStopDriftDetection indicates an expected call of EnvironmentStopDriftDetection.

func (*MockApiClientInterfaceMockRecorder) EnvironmentUpdate added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdate(arg0, arg1 any) *gomock.Call

EnvironmentUpdate indicates an expected call of EnvironmentUpdate.

func (*MockApiClientInterfaceMockRecorder) EnvironmentUpdateDriftDetection added in v0.2.29

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdateDriftDetection(arg0, arg1 any) *gomock.Call

EnvironmentUpdateDriftDetection indicates an expected call of EnvironmentUpdateDriftDetection.

func (*MockApiClientInterfaceMockRecorder) EnvironmentUpdateTTL added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdateTTL(arg0, arg1 any) *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) GetEnvironmentDiscovery added in v1.17.0

func (mr *MockApiClientInterfaceMockRecorder) GetEnvironmentDiscovery(arg0 any) *gomock.Call

GetEnvironmentDiscovery indicates an expected call of GetEnvironmentDiscovery.

func (*MockApiClientInterfaceMockRecorder) GitToken added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) GitToken(arg0 any) *gomock.Call

GitToken indicates an expected call of GitToken.

func (*MockApiClientInterfaceMockRecorder) GitTokenCreate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) GitTokenCreate(arg0 any) *gomock.Call

GitTokenCreate indicates an expected call of GitTokenCreate.

func (*MockApiClientInterfaceMockRecorder) GitTokenDelete added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) GitTokenDelete(arg0 any) *gomock.Call

GitTokenDelete indicates an expected call of GitTokenDelete.

func (*MockApiClientInterfaceMockRecorder) GitTokens added in v0.2.32

GitTokens indicates an expected call of GitTokens.

func (*MockApiClientInterfaceMockRecorder) GpgKeyCreate added in v1.4.4

func (mr *MockApiClientInterfaceMockRecorder) GpgKeyCreate(arg0 any) *gomock.Call

GpgKeyCreate indicates an expected call of GpgKeyCreate.

func (*MockApiClientInterfaceMockRecorder) GpgKeyDelete added in v1.4.4

func (mr *MockApiClientInterfaceMockRecorder) GpgKeyDelete(arg0 any) *gomock.Call

GpgKeyDelete indicates an expected call of GpgKeyDelete.

func (*MockApiClientInterfaceMockRecorder) GpgKeys added in v1.4.4

GpgKeys indicates an expected call of GpgKeys.

func (*MockApiClientInterfaceMockRecorder) Module added in v0.2.32

Module indicates an expected call of Module.

func (*MockApiClientInterfaceMockRecorder) ModuleCreate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) ModuleCreate(arg0 any) *gomock.Call

ModuleCreate indicates an expected call of ModuleCreate.

func (*MockApiClientInterfaceMockRecorder) ModuleDelete added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) ModuleDelete(arg0 any) *gomock.Call

ModuleDelete indicates an expected call of ModuleDelete.

func (*MockApiClientInterfaceMockRecorder) ModuleTestingProject added in v1.16.11

func (mr *MockApiClientInterfaceMockRecorder) ModuleTestingProject() *gomock.Call

ModuleTestingProject indicates an expected call of ModuleTestingProject.

func (*MockApiClientInterfaceMockRecorder) ModuleUpdate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) ModuleUpdate(arg0, arg1 any) *gomock.Call

ModuleUpdate indicates an expected call of ModuleUpdate.

func (*MockApiClientInterfaceMockRecorder) Modules added in v0.2.32

Modules indicates an expected call of Modules.

func (*MockApiClientInterfaceMockRecorder) NotificationCreate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) NotificationCreate(arg0 any) *gomock.Call

NotificationCreate indicates an expected call of NotificationCreate.

func (*MockApiClientInterfaceMockRecorder) NotificationDelete added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) NotificationDelete(arg0 any) *gomock.Call

NotificationDelete indicates an expected call of NotificationDelete.

func (*MockApiClientInterfaceMockRecorder) NotificationProjectAssignmentUpdate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) NotificationProjectAssignmentUpdate(arg0, arg1, arg2 any) *gomock.Call

NotificationProjectAssignmentUpdate indicates an expected call of NotificationProjectAssignmentUpdate.

func (*MockApiClientInterfaceMockRecorder) NotificationProjectAssignments added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) NotificationProjectAssignments(arg0 any) *gomock.Call

NotificationProjectAssignments indicates an expected call of NotificationProjectAssignments.

func (*MockApiClientInterfaceMockRecorder) NotificationUpdate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) NotificationUpdate(arg0, arg1 any) *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) OidcSub added in v1.16.1

OidcSub indicates an expected call of OidcSub.

func (*MockApiClientInterfaceMockRecorder) Organization added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) Organization() *gomock.Call

Organization indicates an expected call of Organization.

func (*MockApiClientInterfaceMockRecorder) OrganizationId added in v1.1.2

func (mr *MockApiClientInterfaceMockRecorder) OrganizationId() *gomock.Call

OrganizationId indicates an expected call of OrganizationId.

func (*MockApiClientInterfaceMockRecorder) OrganizationPolicyUpdate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) OrganizationPolicyUpdate(arg0 any) *gomock.Call

OrganizationPolicyUpdate indicates an expected call of OrganizationPolicyUpdate.

func (*MockApiClientInterfaceMockRecorder) OrganizationRoleTeamAssignments added in v1.17.1

func (mr *MockApiClientInterfaceMockRecorder) OrganizationRoleTeamAssignments() *gomock.Call

OrganizationRoleTeamAssignments indicates an expected call of OrganizationRoleTeamAssignments.

func (*MockApiClientInterfaceMockRecorder) OrganizationUserUpdateRole added in v1.3.0

func (mr *MockApiClientInterfaceMockRecorder) OrganizationUserUpdateRole(arg0, arg1 any) *gomock.Call

OrganizationUserUpdateRole indicates an expected call of OrganizationUserUpdateRole.

func (*MockApiClientInterfaceMockRecorder) Policy added in v0.0.15

Policy indicates an expected call of Policy.

func (*MockApiClientInterfaceMockRecorder) PolicyUpdate added in v0.0.15

func (mr *MockApiClientInterfaceMockRecorder) PolicyUpdate(arg0 any) *gomock.Call

PolicyUpdate indicates an expected call of PolicyUpdate.

func (*MockApiClientInterfaceMockRecorder) Project added in v0.0.6

Project indicates an expected call of Project.

func (*MockApiClientInterfaceMockRecorder) ProjectBudget added in v1.4.17

func (mr *MockApiClientInterfaceMockRecorder) ProjectBudget(arg0 any) *gomock.Call

ProjectBudget indicates an expected call of ProjectBudget.

func (*MockApiClientInterfaceMockRecorder) ProjectBudgetDelete added in v1.4.17

func (mr *MockApiClientInterfaceMockRecorder) ProjectBudgetDelete(arg0 any) *gomock.Call

ProjectBudgetDelete indicates an expected call of ProjectBudgetDelete.

func (*MockApiClientInterfaceMockRecorder) ProjectBudgetUpdate added in v1.4.17

func (mr *MockApiClientInterfaceMockRecorder) ProjectBudgetUpdate(arg0, arg1 any) *gomock.Call

ProjectBudgetUpdate indicates an expected call of ProjectBudgetUpdate.

func (*MockApiClientInterfaceMockRecorder) ProjectCreate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) ProjectCreate(arg0 any) *gomock.Call

ProjectCreate indicates an expected call of ProjectCreate.

func (*MockApiClientInterfaceMockRecorder) ProjectDelete added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) ProjectDelete(arg0 any) *gomock.Call

ProjectDelete indicates an expected call of ProjectDelete.

func (*MockApiClientInterfaceMockRecorder) ProjectEnvironments added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) ProjectEnvironments(arg0 any) *gomock.Call

ProjectEnvironments indicates an expected call of ProjectEnvironments.

func (*MockApiClientInterfaceMockRecorder) ProjectMove added in v1.4.5

func (mr *MockApiClientInterfaceMockRecorder) ProjectMove(arg0, arg1 any) *gomock.Call

ProjectMove indicates an expected call of ProjectMove.

func (*MockApiClientInterfaceMockRecorder) ProjectUpdate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) ProjectUpdate(arg0, arg1 any) *gomock.Call

ProjectUpdate indicates an expected call of ProjectUpdate.

func (*MockApiClientInterfaceMockRecorder) Projects added in v0.0.6

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) Provider added in v1.4.5

func (mr *MockApiClientInterfaceMockRecorder) Provider(arg0 any) *gomock.Call

Provider indicates an expected call of Provider.

func (*MockApiClientInterfaceMockRecorder) ProviderCreate added in v1.4.5

func (mr *MockApiClientInterfaceMockRecorder) ProviderCreate(arg0 any) *gomock.Call

ProviderCreate indicates an expected call of ProviderCreate.

func (*MockApiClientInterfaceMockRecorder) ProviderDelete added in v1.4.5

func (mr *MockApiClientInterfaceMockRecorder) ProviderDelete(arg0 any) *gomock.Call

ProviderDelete indicates an expected call of ProviderDelete.

func (*MockApiClientInterfaceMockRecorder) ProviderUpdate added in v1.4.5

func (mr *MockApiClientInterfaceMockRecorder) ProviderUpdate(arg0, arg1 any) *gomock.Call

ProviderUpdate indicates an expected call of ProviderUpdate.

func (*MockApiClientInterfaceMockRecorder) Providers added in v1.4.5

Providers indicates an expected call of Providers.

func (*MockApiClientInterfaceMockRecorder) PutEnvironmentDiscovery added in v1.17.0

func (mr *MockApiClientInterfaceMockRecorder) PutEnvironmentDiscovery(arg0, arg1 any) *gomock.Call

PutEnvironmentDiscovery indicates an expected call of PutEnvironmentDiscovery.

func (*MockApiClientInterfaceMockRecorder) RemoteStateAccessConfiguration added in v1.4.2

func (mr *MockApiClientInterfaceMockRecorder) RemoteStateAccessConfiguration(arg0 any) *gomock.Call

RemoteStateAccessConfiguration indicates an expected call of RemoteStateAccessConfiguration.

func (*MockApiClientInterfaceMockRecorder) RemoteStateAccessConfigurationCreate added in v1.4.2

func (mr *MockApiClientInterfaceMockRecorder) RemoteStateAccessConfigurationCreate(arg0, arg1 any) *gomock.Call

RemoteStateAccessConfigurationCreate indicates an expected call of RemoteStateAccessConfigurationCreate.

func (*MockApiClientInterfaceMockRecorder) RemoteStateAccessConfigurationDelete added in v1.4.2

func (mr *MockApiClientInterfaceMockRecorder) RemoteStateAccessConfigurationDelete(arg0 any) *gomock.Call

RemoteStateAccessConfigurationDelete indicates an expected call of RemoteStateAccessConfigurationDelete.

func (*MockApiClientInterfaceMockRecorder) RemoveCloudCredentialsFromProject added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) RemoveCloudCredentialsFromProject(arg0, arg1 any) *gomock.Call

RemoveCloudCredentialsFromProject indicates an expected call of RemoveCloudCredentialsFromProject.

func (*MockApiClientInterfaceMockRecorder) RemoveCostCredentialsFromProject added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) RemoveCostCredentialsFromProject(arg0, arg1 any) *gomock.Call

RemoveCostCredentialsFromProject indicates an expected call of RemoveCostCredentialsFromProject.

func (*MockApiClientInterfaceMockRecorder) RemoveOrganizationRoleFromTeam added in v1.17.1

func (mr *MockApiClientInterfaceMockRecorder) RemoveOrganizationRoleFromTeam(arg0 any) *gomock.Call

RemoveOrganizationRoleFromTeam indicates an expected call of RemoveOrganizationRoleFromTeam.

func (*MockApiClientInterfaceMockRecorder) RemoveTeamRoleFromEnvironment added in v1.4.8

func (mr *MockApiClientInterfaceMockRecorder) RemoveTeamRoleFromEnvironment(arg0, arg1 any) *gomock.Call

RemoveTeamRoleFromEnvironment indicates an expected call of RemoveTeamRoleFromEnvironment.

func (*MockApiClientInterfaceMockRecorder) RemoveTemplateFromProject added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) RemoveTemplateFromProject(arg0, arg1 any) *gomock.Call

RemoveTemplateFromProject indicates an expected call of RemoveTemplateFromProject.

func (*MockApiClientInterfaceMockRecorder) RemoveUserFromProject added in v1.0.7

func (mr *MockApiClientInterfaceMockRecorder) RemoveUserFromProject(arg0, arg1 any) *gomock.Call

RemoveUserFromProject indicates an expected call of RemoveUserFromProject.

func (*MockApiClientInterfaceMockRecorder) RemoveUserRoleFromEnvironment added in v1.4.6

func (mr *MockApiClientInterfaceMockRecorder) RemoveUserRoleFromEnvironment(arg0, arg1 any) *gomock.Call

RemoveUserRoleFromEnvironment indicates an expected call of RemoveUserRoleFromEnvironment.

func (*MockApiClientInterfaceMockRecorder) Role added in v1.2.4

Role indicates an expected call of Role.

func (*MockApiClientInterfaceMockRecorder) RoleCreate added in v1.2.4

func (mr *MockApiClientInterfaceMockRecorder) RoleCreate(arg0 any) *gomock.Call

RoleCreate indicates an expected call of RoleCreate.

func (*MockApiClientInterfaceMockRecorder) RoleDelete added in v1.2.4

func (mr *MockApiClientInterfaceMockRecorder) RoleDelete(arg0 any) *gomock.Call

RoleDelete indicates an expected call of RoleDelete.

func (*MockApiClientInterfaceMockRecorder) RoleUpdate added in v1.2.4

func (mr *MockApiClientInterfaceMockRecorder) RoleUpdate(arg0, arg1 any) *gomock.Call

RoleUpdate indicates an expected call of RoleUpdate.

func (*MockApiClientInterfaceMockRecorder) Roles added in v1.2.4

Roles indicates an expected call of Roles.

func (*MockApiClientInterfaceMockRecorder) SshKeyCreate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) SshKeyCreate(arg0 any) *gomock.Call

SshKeyCreate indicates an expected call of SshKeyCreate.

func (*MockApiClientInterfaceMockRecorder) SshKeyDelete added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) SshKeyDelete(arg0 any) *gomock.Call

SshKeyDelete indicates an expected call of SshKeyDelete.

func (*MockApiClientInterfaceMockRecorder) SshKeyUpdate added in v1.16.0

func (mr *MockApiClientInterfaceMockRecorder) SshKeyUpdate(arg0, arg1 any) *gomock.Call

SshKeyUpdate indicates an expected call of SshKeyUpdate.

func (*MockApiClientInterfaceMockRecorder) SshKeys added in v0.0.6

SshKeys indicates an expected call of SshKeys.

func (*MockApiClientInterfaceMockRecorder) SubscribeWorkflowTrigger added in v1.4.1

func (mr *MockApiClientInterfaceMockRecorder) SubscribeWorkflowTrigger(arg0, arg1 any) *gomock.Call

SubscribeWorkflowTrigger indicates an expected call of SubscribeWorkflowTrigger.

func (*MockApiClientInterfaceMockRecorder) Team added in v0.0.13

Team indicates an expected call of Team.

func (*MockApiClientInterfaceMockRecorder) TeamCreate added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamCreate(arg0 any) *gomock.Call

TeamCreate indicates an expected call of TeamCreate.

func (*MockApiClientInterfaceMockRecorder) TeamDelete added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamDelete(arg0 any) *gomock.Call

TeamDelete indicates an expected call of TeamDelete.

func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignmentCreateOrUpdate added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentCreateOrUpdate(arg0 any) *gomock.Call

TeamProjectAssignmentCreateOrUpdate indicates an expected call of TeamProjectAssignmentCreateOrUpdate.

func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignmentDelete added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentDelete(arg0, arg1 any) *gomock.Call

TeamProjectAssignmentDelete indicates an expected call of TeamProjectAssignmentDelete.

func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignments added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignments(arg0 any) *gomock.Call

TeamProjectAssignments indicates an expected call of TeamProjectAssignments.

func (*MockApiClientInterfaceMockRecorder) TeamRoleEnvironmentAssignments added in v1.4.8

func (mr *MockApiClientInterfaceMockRecorder) TeamRoleEnvironmentAssignments(arg0 any) *gomock.Call

TeamRoleEnvironmentAssignments indicates an expected call of TeamRoleEnvironmentAssignments.

func (*MockApiClientInterfaceMockRecorder) TeamUpdate added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamUpdate(arg0, arg1 any) *gomock.Call

TeamUpdate indicates an expected call of TeamUpdate.

func (*MockApiClientInterfaceMockRecorder) Teams added in v0.0.13

Teams indicates an expected call of Teams.

func (*MockApiClientInterfaceMockRecorder) TeamsByName added in v1.2.9

func (mr *MockApiClientInterfaceMockRecorder) TeamsByName(arg0 any) *gomock.Call

TeamsByName indicates an expected call of TeamsByName.

func (*MockApiClientInterfaceMockRecorder) Template added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) Template(arg0 any) *gomock.Call

Template indicates an expected call of Template.

func (*MockApiClientInterfaceMockRecorder) TemplateCreate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) TemplateCreate(arg0 any) *gomock.Call

TemplateCreate indicates an expected call of TemplateCreate.

func (*MockApiClientInterfaceMockRecorder) TemplateDelete added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) TemplateDelete(arg0 any) *gomock.Call

TemplateDelete indicates an expected call of TemplateDelete.

func (*MockApiClientInterfaceMockRecorder) TemplateUpdate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) TemplateUpdate(arg0, arg1 any) *gomock.Call

TemplateUpdate indicates an expected call of TemplateUpdate.

func (*MockApiClientInterfaceMockRecorder) Templates added in v0.0.6

Templates indicates an expected call of Templates.

func (*MockApiClientInterfaceMockRecorder) UnsubscribeWorkflowTrigger added in v1.4.1

func (mr *MockApiClientInterfaceMockRecorder) UnsubscribeWorkflowTrigger(arg0, arg1 any) *gomock.Call

UnsubscribeWorkflowTrigger indicates an expected call of UnsubscribeWorkflowTrigger.

func (*MockApiClientInterfaceMockRecorder) UpdateUserProjectAssignment added in v1.0.7

func (mr *MockApiClientInterfaceMockRecorder) UpdateUserProjectAssignment(arg0, arg1, arg2 any) *gomock.Call

UpdateUserProjectAssignment indicates an expected call of UpdateUserProjectAssignment.

func (*MockApiClientInterfaceMockRecorder) UserProjectAssignments added in v1.0.7

func (mr *MockApiClientInterfaceMockRecorder) UserProjectAssignments(arg0 any) *gomock.Call

UserProjectAssignments indicates an expected call of UserProjectAssignments.

func (*MockApiClientInterfaceMockRecorder) UserRoleEnvironmentAssignments added in v1.4.6

func (mr *MockApiClientInterfaceMockRecorder) UserRoleEnvironmentAssignments(arg0 any) *gomock.Call

UserRoleEnvironmentAssignments indicates an expected call of UserRoleEnvironmentAssignments.

func (*MockApiClientInterfaceMockRecorder) Users added in v1.0.3

Users indicates an expected call of Users.

func (*MockApiClientInterfaceMockRecorder) VariablesFromRepository added in v1.0.7

func (mr *MockApiClientInterfaceMockRecorder) VariablesFromRepository(arg0 any) *gomock.Call

VariablesFromRepository indicates an expected call of VariablesFromRepository.

func (*MockApiClientInterfaceMockRecorder) WorkflowTrigger added in v0.0.23

func (mr *MockApiClientInterfaceMockRecorder) WorkflowTrigger(arg0 any) *gomock.Call

WorkflowTrigger indicates an expected call of WorkflowTrigger.

func (*MockApiClientInterfaceMockRecorder) WorkflowTriggerUpsert added in v0.0.23

func (mr *MockApiClientInterfaceMockRecorder) WorkflowTriggerUpsert(arg0, arg1 any) *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" tfschema:",omitempty"`
	BitbucketClientKey    *string        `json:"bitbucketClientKey" tfschema:",omitempty"`
	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"`
	Path                  string         `json:"path"`
	TagPrefix             string         `json:"tagPrefix"`
	ModuleTestEnabled     bool           `json:"moduleTestEnabled"`
	RunTestsOnPullRequest bool           `json:"runTestsOnPullRequest"`
	OpentofuVersion       string         `json:"opentofuVersion"`
}

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"`
	Path                  string         `json:"path,omitempty"`
	TagPrefix             string         `json:"tagPrefix,omitempty"`
	ModuleTestEnabled     bool           `json:"moduleTestEnabled"`
	RunTestsOnPullRequest bool           `json:"runTestsOnPullRequest"`
	OpentofuVersion       string         `json:"opentofuVersion,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 ModuleSshKey struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

type ModuleTestingProject added in v1.16.11

type ModuleTestingProject struct {
	Name string `json:"name"`
	Id   string `json:"id"`
}

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"`
	Path                  string         `json:"path"`
	TagPrefix             string         `json:"tagPrefix,omitempty"`
	ModuleTestEnabled     bool           `json:"moduleTestEnabled"`
	RunTestsOnPullRequest bool           `json:"runTestsOnPullRequest"`
	OpentofuVersion       string         `json:"opentofuVersion,omitempty"`
}

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 Notification struct {
	Id             string           `json:"id"`
	CreatedBy      string           `json:"createdBy"`
	CreatedByUser  User             `json:"createdByUser"`
	OrganizationId string           `json:"organizationId"`
	Name           string           `json:"name"`
	Type           NotificationType `json:"type"`
	Value          string           `json:"value"`
}

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 NotificationProjectAssignment struct {
	Id                     string   `json:"id"`
	NotificationEndpointId string   `json:"notificationEndpointId"`
	EventNames             []string `json:"eventNames"`
	CreatedBy              string   `json:"createdBy"`
	CreatedByUser          User     `json:"createdByUser"`
}

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"
	NotificationTypeEmail NotificationType = "Email"
)

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"`
	EnableOidc                          bool    `json:"enableOidc"`
	EnforcePrCommenterPermissions       bool    `json:"enforcePrCommenterPermissions"`
	Description                         string  `json:"description"`
	PhotoUrl                            string  `json:"photoUrl"`
	CreatedBy                           string  `json:"createdBy"`
	CreatedAt                           string  `json:"createdAt"`
	UpdatedAt                           string  `json:"updatedAt"`
	Role                                string  `json:"role"`
	IsSelfHostedK8s                     bool    `json:"isSelfHostedK8s" tfschema:"is_self_hosted"`
}

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"`
	EnableOidc                          *bool   `json:"enableOidc,omitempty"`
	EnforcePrCommenterPermissions       *bool   `json:"enforcePrCommenterPermissions,omitempty"`
}

type OrganizationRoleTeamAssignment added in v1.17.1

type OrganizationRoleTeamAssignment struct {
	TeamId string `json:"teamId"`
	Role   string `json:"role" tfschema:"role_id"`
	Id     string `json:"id"`
}

type OrganizationUser added in v1.0.3

type OrganizationUser struct {
	User   User   `json:"user"`
	Role   string `json:"role"`
	Status string `json:"status"`
}

type Paginated added in v1.0.2

type Paginated interface {
	Environment
	// 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" tfschema:"-"`
	ProjectId                   string  `json:"projectId"`
	NumberOfEnvironments        *int    `json:"numberOfEnvironments,omitempty" tfschema:",omitempty"`
	NumberOfEnvironmentsTotal   *int    `json:"numberOfEnvironmentsTotal,omitempty" tfschema:",omitempty"`
	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"`
	MaxTtl                      *string `json:"maxTtl,omitempty" tfschema:",omitempty"`
	DefaultTtl                  *string `json:"defaultTtl,omitempty" tfschema:",omitempty"`
	ForceRemoteBackend          bool    `json:"forceRemoteBackend"`
	DriftDetectionCron          string  `json:"driftDetectionCron"`
	DriftDetectionEnabled       bool    `json:"driftDetectionEnabled"`
}

type PolicyUpdatePayload added in v0.0.15

type PolicyUpdatePayload struct {
	ProjectId                   string `json:"projectId"`
	NumberOfEnvironments        int    `json:"numberOfEnvironments,omitempty"`
	NumberOfEnvironmentsTotal   int    `json:"numberOfEnvironmentsTotal,omitempty"`
	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"`
	MaxTtl                      string `json:"maxTtl,omitempty"`
	DefaultTtl                  string `json:"defaultTtl,omitempty"`
	ForceRemoteBackend          bool   `json:"forceRemoteBackend"`
	DriftDetectionCron          string `json:"driftDetectionCron"`
	DriftDetectionEnabled       bool   `json:"driftDetectionEnabled"`
}

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"`
	ParentProjectId string `json:"parentProjectId,omitempty" tfschema:",omitempty"`
	Hierarchy       string `json:"hierarchy"`
}

type ProjectBudget added in v1.4.17

type ProjectBudget struct {
	Id         string `json:"id" tfschema:"-"`
	ProjectId  string `json:"projectId"`
	Amount     int    `json:"amount"`
	Timeframe  string `json:"timeframe"`
	Thresholds []int  `json:"thresholds"`
}

type ProjectBudgetUpdatePayload added in v1.4.17

type ProjectBudgetUpdatePayload struct {
	Amount     int    `json:"amount"`
	Timeframe  string `json:"timeframe"`
	Thresholds []int  `json:"thresholds"`
}

type ProjectCreatePayload added in v0.0.7

type ProjectCreatePayload struct {
	Name            string `json:"name"`
	Description     string `json:"description"`
	ParentProjectId string `json:"parentProjectId,omitempty"`
}

type ProjectRole added in v1.2.4

type ProjectRole string
const (
	Admin    ProjectRole = "Admin"
	Deployer ProjectRole = "Deployer"
	Planner  ProjectRole = "Planner"
	Viewer   ProjectRole = "Viewer"
)

type ProjectUpdatePayload added in v1.4.5

type ProjectUpdatePayload struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type ProjectsAgentsAssignments added in v1.0.0

type ProjectsAgentsAssignments struct {
	DefaultAgent   string                 `json:"defaultAgent"`
	ProjectsAgents map[string]interface{} `json:"ProjectsAgents"`
}

type Provider added in v1.4.5

type Provider struct {
	Id          string `json:"id"`
	Type        string `json:"type"`
	Description string `json:"description"`
}

type ProviderCreatePayload added in v1.4.5

type ProviderCreatePayload struct {
	Type        string `json:"type"`
	Description string `json:"description"`
}

type ProviderUpdatePayload added in v1.4.5

type ProviderUpdatePayload struct {
	Description string `json:"description"`
}

type RemoteStateAccessConfiguration added in v1.4.2

type RemoteStateAccessConfiguration struct {
	EnvironmentId                    string   `json:"environmentId"`
	AccessibleFromEntireOrganization bool     `json:"accessibleFromEntireOrganization"`
	AllowedProjectIds                []string `json:"allowedProjectIds" tfschema:",omitempty"`
}

type RemoteStateAccessConfigurationCreate added in v1.4.2

type RemoteStateAccessConfigurationCreate struct {
	AccessibleFromEntireOrganization bool     `json:"accessibleFromEntireOrganization"`
	AllowedProjectIds                []string `json:"allowedProjectIds"`
}

type Role added in v0.0.13

type Role struct {
	Id             string   `json:"id"`
	Name           string   `json:"name"`
	OrganizationId string   `json:"organizationId"`
	Permissions    []string `json:"permissions"`
	IsDefaultRole  bool     `json:"isDefaultRole"`
}

type RoleCreatePayload added in v1.2.4

type RoleCreatePayload struct {
	Name           string   `json:"name"`
	OrganizationId string   `json:"organizationId"`
	Permissions    []string `json:"permissions"`
	IsDefaultRole  bool     `json:"isDefaultRole"`
}

type RoleUpdatePayload added in v1.2.4

type RoleUpdatePayload struct {
	Name          string   `json:"name"`
	Permissions   []string `json:"permissions"`
	IsDefaultRole bool     `json:"isDefaultRole"`
}

type Scope

type Scope string
const (
	ScopeGlobal        Scope = "GLOBAL"
	ScopeTemplate      Scope = "BLUEPRINT"
	ScopeProject       Scope = "PROJECT"
	ScopeEnvironment   Scope = "ENVIRONMENT"
	ScopeDeployment    Scope = "DEPLOYMENT"
	ScopeDeploymentLog Scope = "DEPLOYMENT_LOG"
	ScopeWorkflow      Scope = "WORKFLOW"
)

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 SshKeyCreatePayload struct {
	Name           string `json:"name"`
	OrganizationId string `json:"organizationId"`
	Value          string `json:"value"`
}

type SshKeyUpdatePayload added in v1.16.0

type SshKeyUpdatePayload struct {
	Value string `json:"value"`
}

type SubEnvironment added in v1.3.4

type SubEnvironment struct {
	Revision             string               `json:"revision,omitempty"`
	Workspace            string               `json:"workspace,omitempty"`
	ConfigurationChanges ConfigurationChanges `json:"configurationChanges"`
}

type TTL added in v0.0.21

type TTL struct {
	Type  TTLType `json:"type"`
	Value string  `json:"value,omitempty"`
}

type TTLType added in v0.0.21

type TTLType string
const (
	TTLTypeDate     TTLType = "DATE"
	TTlTypeInfinite TTLType = "INFINITE"
)

type Team added in v0.0.13

type Team struct {
	Id             string `json:"id"`
	Name           string `json:"name"`
	Description    string `json:"description"`
	OrganizationId string `json:"organizationId"`
	Users          []User `json:"users"`
}

type TeamCreatePayload added in v0.0.13

type TeamCreatePayload struct {
	Name           string `json:"name"`
	Description    string `json:"description"`
	OrganizationId string `json:"organizationId"`
}

type TeamProjectAssignment added in v0.0.13

type TeamProjectAssignment struct {
	Id        string `json:"id"`
	TeamId    string `json:"teamId"`
	ProjectId string `json:"projectId"`
	Role      string `json:"role" tfschema:"-"`
}

type TeamProjectAssignmentPayload added in v0.0.13

type TeamProjectAssignmentPayload struct {
	TeamId    string `json:"teamId"`
	ProjectId string `json:"projectId"`
	Role      string `json:"role" tfschema:"-"`
}

type TeamRoleEnvironmentAssignment added in v1.4.8

type TeamRoleEnvironmentAssignment struct {
	TeamId string `json:"teamId"`
	Role   string `json:"role" tfschema:"role_id"`
	Id     string `json:"id"`
}

type TeamUpdatePayload added in v0.0.13

type TeamUpdatePayload struct {
	Name        string   `json:"name"`
	Description string   `json:"description"`
	UserIds     []string `json:"userIds,omitempty"`
}

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" tfschema:",omitempty"`
	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" tfschema:",omitempty"`
	IsGitlabEnterprise   bool             `json:"isGitLabEnterprise"`
	TokenId              string           `json:"tokenId" tfschema:",omitempty"`
	UpdatedAt            string           `json:"updatedAt"`
	TerraformVersion     string           `json:"terraformVersion" tfschema:",omitempty"`
	TerragruntVersion    string           `json:"terragruntVersion" tfschema:",omitempty"`
	OpentofuVersion      string           `json:"opentofuVersion" tfschema:",omitempty"`
	IsDeleted            bool             `json:"isDeleted"`
	BitbucketClientKey   string           `json:"bitbucketClientKey" tfschema:",omitempty"`
	IsGithubEnterprise   bool             `json:"isGitHubEnterprise"`
	IsBitbucketServer    bool             `json:"isBitbucketServer"`
	FileName             string           `json:"fileName" tfschema:",omitempty"`
	IsTerragruntRunAll   bool             `json:"isTerragruntRunAll"`
	IsAzureDevOps        bool             `json:"isAzureDevOps" tfschema:"is_azure_devops"`
	IsHelmRepository     bool             `json:"isHelmRepository"`
	HelmChartName        string           `json:"helmChartName" tfschema:",omitempty"`
	IsGitLab             bool             `json:"isGitLab" tfschema:"is_gitlab"`
	TerragruntTfBinary   string           `json:"terragruntTfBinary" tfschema:",omitempty"`
}

type TemplateAssignmentToProject added in v0.0.6

type TemplateAssignmentToProject struct {
	Id         string `json:"id"`
	TemplateId string `json:"templateId"`
	ProjectId  string `json:"projectId"`
}

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                 string           `json:"type"`
	Description          string           `json:"description"`
	Name                 string           `json:"name"`
	Repository           string           `json:"repository"`
	Path                 string           `json:"path,omitempty"`
	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,omitempty"`
	TerragruntVersion    string           `json:"terragruntVersion,omitempty"`
	OpentofuVersion      string           `json:"opentofuVersion,omitempty"`
	IsGitlabEnterprise   bool             `json:"isGitLabEnterprise"`
	BitbucketClientKey   string           `json:"bitbucketClientKey,omitempty"`
	IsGithubEnterprise   bool             `json:"isGitHubEnterprise"`
	IsBitbucketServer    bool             `json:"isBitbucketServer"`
	FileName             string           `json:"fileName,omitempty"`
	IsTerragruntRunAll   bool             `json:"isTerragruntRunAll"`
	IsAzureDevOps        bool             `json:"isAzureDevOps" tfschema:"is_azure_devops"`
	IsHelmRepository     bool             `json:"isHelmRepository"`
	HelmChartName        string           `json:"helmChartName,omitempty"`
	TerragruntTfBinary   string           `json:"terragruntTfBinary,omitempty"`
}

func (*TemplateCreatePayload) Invalidate added in v1.4.16

func (payload *TemplateCreatePayload) Invalidate() error

type TemplateRetry

type TemplateRetry struct {
	OnDeploy  *TemplateRetryOn `json:"onDeploy"`
	OnDestroy *TemplateRetryOn `json:"onDestroy"`
}

type TemplateRetryOn

type TemplateRetryOn struct {
	Times      int    `json:"times,omitempty"`
	ErrorRegex string `json:"errorRegex"`
}

type TemplateSshKey

type TemplateSshKey struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

type UpdateUserProjectAssignmentPayload added in v1.0.7

type UpdateUserProjectAssignmentPayload struct {
	Role string `json:"role" tfschema:"-"`
}

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 UserProjectAssignment added in v1.0.7

type UserProjectAssignment struct {
	UserId string `json:"userId"`
	Role   string `json:"role" tfschema:"-"`
	Id     string `json:"id"`
}

type UserRoleEnvironmentAssignment added in v1.4.6

type UserRoleEnvironmentAssignment struct {
	UserId string `json:"userId"`
	Role   string `json:"role" tfschema:"role_id"`
	Id     string `json:"id"`
}

type VariablesFromRepositoryPayload added in v1.0.7

type VariablesFromRepositoryPayload struct {
	BitbucketClientKey   string   `json:"bitbucketClientKey,omitempty"`
	GithubInstallationId int      `json:"githubInstallationId,omitempty"`
	Path                 string   `json:"path"`
	Revision             string   `json:"revision"`
	SshKeyIds            []string `json:"sshKeyIds"`
	TokenId              string   `json:"tokenId,omitempty"`
	Repository           string   `json:"repository"`
}

type VaultCredentialsCreatePayload added in v1.16.8

type VaultCredentialsCreatePayload struct {
	Name           string                       `json:"name,omitempty"`
	OrganizationId string                       `json:"organizationId,omitempty"`
	Type           VaultCrednetialsType         `json:"type"`
	Value          VaultCredentialsValuePayload `json:"value"`
}

func (*VaultCredentialsCreatePayload) SetOrganizationId added in v1.16.8

func (c *VaultCredentialsCreatePayload) SetOrganizationId(organizationId string)

type VaultCredentialsValuePayload added in v1.16.8

type VaultCredentialsValuePayload struct {
	Address            string `json:"address"`
	JwtAuthBackendPath string `json:"jwtAuthBackendPath"`
	RoleName           string `json:"roleName"`
	Version            string `json:"version"`
	Namespace          string `json:"namespace,omitempty"`
}

type VaultCrednetialsType added in v1.16.8

type VaultCrednetialsType string

type WorkflowFile added in v1.3.4

type WorkflowFile struct {
	Environments map[string]WorkflowSubEnvironment `json:"environments"`
}

type WorkflowSubEnvironment added in v1.3.4

type WorkflowSubEnvironment struct {
	EnvironmentId string `json:"environmentId"`
}

type WorkflowTrigger added in v0.0.23

type WorkflowTrigger struct {
	Id string `json:"id"`
}

type WorkflowTriggerEnvironments added in v1.4.1

type WorkflowTriggerEnvironments struct {
	DownstreamEnvironmentIds []string `json:"downstreamEnvironmentIds"`
}

type WorkflowTriggerUpsertPayload added in v0.0.23

type WorkflowTriggerUpsertPayload struct {
	DownstreamEnvironmentIds []string `json:"downstreamEnvironmentIds"`
}

Directories

Path Synopsis
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL