client

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MPL-2.0 Imports: 11 Imported by: 1

Documentation

Overview

Package client is a generated GoMock package.

Index

Constants

View Source
const (
	GoogleCostCredentialsType            GcpCredentialsType   = "GCP_CREDENTIALS"
	AzureCostCredentialsType             AzureCredentialsType = "AZURE_CREDENTIALS"
	AwsCostCredentialsType               AwsCredentialsType   = "AWS_ASSUMED_ROLE"
	AwsAssumedRoleCredentialsType        AwsCredentialsType   = "AWS_ASSUMED_ROLE_FOR_DEPLOYMENT"
	AwsAccessKeysCredentialsType         AwsCredentialsType   = "AWS_ACCESS_KEYS_FOR_DEPLOYMENT"
	GcpServiceAccountCredentialsType     GcpCredentialsType   = "GCP_SERVICE_ACCOUNT_FOR_DEPLOYMENT"
	AzureServicePrincipalCredentialsType AzureCredentialsType = "AZURE_SERVICE_PRINCIPAL_FOR_DEPLOYMENT"
)

Variables

Functions

This section is empty.

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) AssignAgentsToProjects added in v1.0.0

func (client *ApiClient) AssignAgentsToProjects(payload AssignProjectsAgentsAssignmentsPayload) (*ProjectsAgentsAssignments, error)

func (*ApiClient) AssignCloudCredentialsToProject added in v0.0.6

func (client *ApiClient) AssignCloudCredentialsToProject(projectId string, credentialId string) (CloudCredentialsProjectAssignment, error)

func (*ApiClient) AssignCostCredentialsToProject added in v0.2.32

func (client *ApiClient) AssignCostCredentialsToProject(projectId string, credentialId string) (CostCredentialProjectAssignment, error)

func (*ApiClient) AssignTemplateToProject added in v0.0.6

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

func (*ApiClient) 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) 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) 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) 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) 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) 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) 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) 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) 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) ProjectUpdate added in v0.0.4

func (client *ApiClient) ProjectUpdate(id string, payload ProjectCreatePayload) (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) 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) 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) 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) SshKeys

func (client *ApiClient) SshKeys() ([]SshKey, 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(assignmentId string) error

func (*ApiClient) TeamProjectAssignments added in v0.0.13

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

func (*ApiClient) TeamUpdate added in v0.0.13

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

func (*ApiClient) 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) 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) 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)
	Policy(projectId string) (Policy, error)
	PolicyUpdate(payload PolicyUpdatePayload) (Policy, error)
	Projects() ([]Project, error)
	Project(id string) (Project, error)
	ProjectCreate(payload ProjectCreatePayload) (Project, error)
	ProjectUpdate(id string, payload ProjectCreatePayload) (Project, error)
	ProjectDelete(id string) error
	Template(id string) (Template, error)
	Templates() ([]Template, error)
	TemplateCreate(payload TemplateCreatePayload) (Template, error)
	TemplateUpdate(id string, payload TemplateCreatePayload) (Template, error)
	TemplateDelete(id string) error
	AssignTemplateToProject(id string, payload TemplateAssignmentToProjectPayload) (Template, error)
	RemoveTemplateFromProject(templateId string, projectId string) error
	VariablesFromRepository(payload *VariablesFromRepositoryPayload) ([]ConfigurationVariable, error)
	SshKeys() ([]SshKey, error)
	SshKeyCreate(payload SshKeyCreatePayload) (*SshKey, error)
	SshKeyDelete(id string) error
	CredentialsCreate(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(assignmentId string) error
	TeamProjectAssignments(projectId string) ([]TeamProjectAssignment, error)
	Environments() ([]Environment, error)
	ProjectEnvironments(projectId string) ([]Environment, error)
	Environment(id string) (Environment, error)
	EnvironmentCreate(payload EnvironmentCreate) (Environment, error)
	EnvironmentCreateWithoutTemplate(payload EnvironmentCreateWithoutTemplate) (Environment, error)
	EnvironmentDestroy(id string) (Environment, error)
	EnvironmentUpdate(id string, payload EnvironmentUpdate) (Environment, error)
	EnvironmentDeploy(id string, payload DeployRequest) (EnvironmentDeployResponse, error)
	EnvironmentUpdateTTL(id string, payload TTL) (Environment, error)
	EnvironmentScheduling(environmentId string) (EnvironmentScheduling, error)
	EnvironmentSchedulingUpdate(environmentId string, payload EnvironmentScheduling) (EnvironmentScheduling, error)
	EnvironmentSchedulingDelete(environmentId string) error
	WorkflowTrigger(environmentId string) ([]WorkflowTrigger, error)
	WorkflowTriggerUpsert(environmentId string, request WorkflowTriggerUpsertPayload) ([]WorkflowTrigger, error)
	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)
}

func NewApiClient

func NewApiClient(client http.HttpClientInterface) ApiClientInterface

type ApiKey added in v0.0.4

type ApiKey struct {
	Id               string `json:"id"`
	Name             string `json:"name"`
	ApiKeyId         string `json:"apiKeyId"`
	ApiKeySecret     string `json:"apiKeySecret" 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 AssignProjectsAgentsAssignmentsPayload added in v1.0.0

type AssignProjectsAgentsAssignmentsPayload map[string]interface{}

Key is project id. Value is agent id.

type AssignUserToProjectPayload added in v1.0.7

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

type AwsCredentialsCreatePayload added in v0.0.4

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

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"`
	ExternalId      string `json:"externalId"`
	AccessKeyId     string `json:"accessKeyId"`
	SecretAccessKey string `json:"secretAccessKey"`
}

type AzureCredentialsCreatePayload added in v0.2.30

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

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 DeployRequest added in v0.0.21

type DeployRequest struct {
	BlueprintId          string                `json:"blueprintId,omitempty"`
	BlueprintRevision    string                `json:"blueprintRevision,omitempty"`
	BlueprintRepository  string                `json:"blueprintRepository,omitempty"`
	ConfigurationChanges *ConfigurationChanges `json:"configurationChanges,omitempty"`
	TTL                  *TTL                  `json:"ttl,omitempty"`
	EnvName              string                `json:"envName,omitempty"`
	UserRequiresApproval *bool                 `json:"userRequiresApproval,omitempty"`
}

type DeploymentLog added in v0.0.21

type DeploymentLog struct {
	Id                  string          `json:"id"`
	BlueprintId         string          `json:"blueprintId"`
	BlueprintRepository string          `json:"blueprintRepository"`
	BlueprintRevision   string          `json:"blueprintRevision"`
	Output              json.RawMessage `json:"output,omitempty"`
}

type Environment added in v0.0.21

type Environment struct {
	Id                          string        `json:"id"`
	Name                        string        `json:"name"`
	ProjectId                   string        `json:"projectId"`
	WorkspaceName               string        `json:"workspaceName,omitempty"`
	RequiresApproval            *bool         `json:"requiresApproval,omitempty" 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"`
	IsArchived                  bool          `json:"isArchived"`
	TerragruntWorkingDirectory  string        `json:"terragruntWorkingDirectory,omitempty"`
	VcsCommandsAlias            string        `json:"vcsCommandsAlias"`
	BlueprintId                 string        `json:"blueprintId" tfschema:"-"`
	IsRemoteBackend             *bool         `json:"isRemoteBackend" tfschema:"-"`
}

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,omitempty"`
	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 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 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,omitempty"`
	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:"-"`
}

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"`
	OrganizationId string                     `json:"organizationId"`
	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"`
	ServiceAccountKey string `json:"serviceAccountKey"`
}

type GitToken added in v0.2.32

type GitToken struct {
	Id             string `json:"id"`
	Name           string `json:"name"`
	Value          string `json:"value"`
	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"`
	OrganizationId string                            `json:"organizationId"`
	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 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) 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) AssignTemplateToProject added in v0.0.6

func (m *MockApiClientInterface) AssignTemplateToProject(arg0 string, arg1 TemplateAssignmentToProjectPayload) (Template, error)

AssignTemplateToProject 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) 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) 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) 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) Module added in v0.2.32

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

Module mocks base method.

func (*MockApiClientInterface) ModuleCreate added in v0.2.32

func (m *MockApiClientInterface) ModuleCreate(arg0 ModuleCreatePayload) (*Module, error)

ModuleCreate mocks base method.

func (*MockApiClientInterface) ModuleDelete added in v0.2.32

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

ModuleDelete mocks base method.

func (*MockApiClientInterface) ModuleUpdate added in v0.2.32

func (m *MockApiClientInterface) ModuleUpdate(arg0 string, arg1 ModuleUpdatePayload) (*Module, error)

ModuleUpdate mocks base method.

func (*MockApiClientInterface) Modules added in v0.2.32

func (m *MockApiClientInterface) Modules() ([]Module, error)

Modules mocks base method.

func (*MockApiClientInterface) NotificationCreate added in v0.2.32

func (m *MockApiClientInterface) NotificationCreate(arg0 NotificationCreatePayload) (*Notification, error)

NotificationCreate mocks base method.

func (*MockApiClientInterface) NotificationDelete added in v0.2.32

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

NotificationDelete mocks base method.

func (*MockApiClientInterface) NotificationProjectAssignmentUpdate added in v0.2.32

func (m *MockApiClientInterface) NotificationProjectAssignmentUpdate(arg0, arg1 string, arg2 NotificationProjectAssignmentUpdatePayload) (*NotificationProjectAssignment, error)

NotificationProjectAssignmentUpdate mocks base method.

func (*MockApiClientInterface) NotificationProjectAssignments added in v0.2.32

func (m *MockApiClientInterface) NotificationProjectAssignments(arg0 string) ([]NotificationProjectAssignment, error)

NotificationProjectAssignments mocks base method.

func (*MockApiClientInterface) NotificationUpdate added in v0.2.32

func (m *MockApiClientInterface) NotificationUpdate(arg0 string, arg1 NotificationUpdatePayload) (*Notification, error)

NotificationUpdate mocks base method.

func (*MockApiClientInterface) Notifications added in v0.2.32

func (m *MockApiClientInterface) Notifications() ([]Notification, error)

Notifications mocks base method.

func (*MockApiClientInterface) Organization added in v0.0.6

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

Organization mocks base method.

func (*MockApiClientInterface) 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) Policy added in v0.0.15

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

Policy mocks base method.

func (*MockApiClientInterface) PolicyUpdate added in v0.0.15

func (m *MockApiClientInterface) PolicyUpdate(arg0 PolicyUpdatePayload) (Policy, error)

PolicyUpdate mocks base method.

func (*MockApiClientInterface) Project added in v0.0.6

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

Project mocks base method.

func (*MockApiClientInterface) ProjectCreate added in v0.0.6

func (m *MockApiClientInterface) ProjectCreate(arg0 ProjectCreatePayload) (Project, error)

ProjectCreate mocks base method.

func (*MockApiClientInterface) ProjectDelete added in v0.0.6

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

ProjectDelete mocks base method.

func (*MockApiClientInterface) ProjectEnvironments added in v0.2.32

func (m *MockApiClientInterface) ProjectEnvironments(arg0 string) ([]Environment, error)

ProjectEnvironments mocks base method.

func (*MockApiClientInterface) ProjectUpdate added in v0.0.6

func (m *MockApiClientInterface) ProjectUpdate(arg0 string, arg1 ProjectCreatePayload) (Project, error)

ProjectUpdate mocks base method.

func (*MockApiClientInterface) Projects added in v0.0.6

func (m *MockApiClientInterface) Projects() ([]Project, error)

Projects mocks base method.

func (*MockApiClientInterface) ProjectsAgentsAssignments added in v1.0.0

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

ProjectsAgentsAssignments mocks base method.

func (*MockApiClientInterface) RemoveCloudCredentialsFromProject added in v0.0.6

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

RemoveCloudCredentialsFromProject mocks base method.

func (*MockApiClientInterface) RemoveCostCredentialsFromProject added in v0.2.32

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

RemoveCostCredentialsFromProject mocks base method.

func (*MockApiClientInterface) RemoveTemplateFromProject added in v0.0.6

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

RemoveTemplateFromProject mocks base method.

func (*MockApiClientInterface) RemoveUserFromProject added in v1.0.7

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

RemoveUserFromProject 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) SshKeys added in v0.0.6

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

SshKeys mocks base method.

func (*MockApiClientInterface) Team added in v0.0.13

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

Team mocks base method.

func (*MockApiClientInterface) TeamCreate added in v0.0.13

func (m *MockApiClientInterface) TeamCreate(arg0 TeamCreatePayload) (Team, error)

TeamCreate mocks base method.

func (*MockApiClientInterface) TeamDelete added in v0.0.13

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

TeamDelete mocks base method.

func (*MockApiClientInterface) TeamProjectAssignmentCreateOrUpdate added in v0.0.13

func (m *MockApiClientInterface) TeamProjectAssignmentCreateOrUpdate(arg0 TeamProjectAssignmentPayload) (TeamProjectAssignment, error)

TeamProjectAssignmentCreateOrUpdate mocks base method.

func (*MockApiClientInterface) TeamProjectAssignmentDelete added in v0.0.13

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

TeamProjectAssignmentDelete mocks base method.

func (*MockApiClientInterface) TeamProjectAssignments added in v0.0.13

func (m *MockApiClientInterface) TeamProjectAssignments(arg0 string) ([]TeamProjectAssignment, error)

TeamProjectAssignments mocks base method.

func (*MockApiClientInterface) TeamUpdate added in v0.0.13

func (m *MockApiClientInterface) TeamUpdate(arg0 string, arg1 TeamUpdatePayload) (Team, error)

TeamUpdate mocks base method.

func (*MockApiClientInterface) Teams added in v0.0.13

func (m *MockApiClientInterface) Teams() ([]Team, error)

Teams mocks base method.

func (*MockApiClientInterface) 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) 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) 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 interface{}) *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 interface{}) *gomock.Call

ApiKeyCreate indicates an expected call of ApiKeyCreate.

func (*MockApiClientInterfaceMockRecorder) ApiKeyDelete added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) ApiKeyDelete(arg0 interface{}) *gomock.Call

ApiKeyDelete indicates an expected call of ApiKeyDelete.

func (*MockApiClientInterfaceMockRecorder) ApiKeys added in v0.2.32

ApiKeys indicates an expected call of ApiKeys.

func (*MockApiClientInterfaceMockRecorder) AssignAgentsToProjects added in v1.0.0

func (mr *MockApiClientInterfaceMockRecorder) AssignAgentsToProjects(arg0 interface{}) *gomock.Call

AssignAgentsToProjects indicates an expected call of AssignAgentsToProjects.

func (*MockApiClientInterfaceMockRecorder) AssignCloudCredentialsToProject added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) AssignCloudCredentialsToProject(arg0, arg1 interface{}) *gomock.Call

AssignCloudCredentialsToProject indicates an expected call of AssignCloudCredentialsToProject.

func (*MockApiClientInterfaceMockRecorder) AssignCostCredentialsToProject added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) AssignCostCredentialsToProject(arg0, arg1 interface{}) *gomock.Call

AssignCostCredentialsToProject indicates an expected call of AssignCostCredentialsToProject.

func (*MockApiClientInterfaceMockRecorder) AssignTemplateToProject added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) AssignTemplateToProject(arg0, arg1 interface{}) *gomock.Call

AssignTemplateToProject indicates an expected call of AssignTemplateToProject.

func (*MockApiClientInterfaceMockRecorder) AssignUserToProject added in v1.0.7

func (mr *MockApiClientInterfaceMockRecorder) AssignUserToProject(arg0, arg1 interface{}) *gomock.Call

AssignUserToProject indicates an expected call of AssignUserToProject.

func (*MockApiClientInterfaceMockRecorder) CloudCredentialIdsInProject added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialIdsInProject(arg0 interface{}) *gomock.Call

CloudCredentialIdsInProject indicates an expected call of CloudCredentialIdsInProject.

func (*MockApiClientInterfaceMockRecorder) CloudCredentials added in v0.2.29

func (mr *MockApiClientInterfaceMockRecorder) CloudCredentials(arg0 interface{}) *gomock.Call

CloudCredentials indicates an expected call of CloudCredentials.

func (*MockApiClientInterfaceMockRecorder) CloudCredentialsDelete added in v0.2.29

func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialsDelete(arg0 interface{}) *gomock.Call

CloudCredentialsDelete indicates an expected call of CloudCredentialsDelete.

func (*MockApiClientInterfaceMockRecorder) CloudCredentialsList added in v0.2.29

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

CloudCredentialsList indicates an expected call of CloudCredentialsList.

func (*MockApiClientInterfaceMockRecorder) ConfigurationVariableCreate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableCreate(arg0 interface{}) *gomock.Call

ConfigurationVariableCreate indicates an expected call of ConfigurationVariableCreate.

func (*MockApiClientInterfaceMockRecorder) ConfigurationVariableDelete added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableDelete(arg0 interface{}) *gomock.Call

ConfigurationVariableDelete indicates an expected call of ConfigurationVariableDelete.

func (*MockApiClientInterfaceMockRecorder) ConfigurationVariableUpdate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableUpdate(arg0 interface{}) *gomock.Call

ConfigurationVariableUpdate indicates an expected call of ConfigurationVariableUpdate.

func (*MockApiClientInterfaceMockRecorder) ConfigurationVariablesById added in v0.2.25

func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariablesById(arg0 interface{}) *gomock.Call

ConfigurationVariablesById indicates an expected call of ConfigurationVariablesById.

func (*MockApiClientInterfaceMockRecorder) ConfigurationVariablesByScope added in v0.2.27

func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariablesByScope(arg0, arg1 interface{}) *gomock.Call

ConfigurationVariablesByScope indicates an expected call of ConfigurationVariablesByScope.

func (*MockApiClientInterfaceMockRecorder) CostCredentialIdsInProject added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) CostCredentialIdsInProject(arg0 interface{}) *gomock.Call

CostCredentialIdsInProject indicates an expected call of CostCredentialIdsInProject.

func (*MockApiClientInterfaceMockRecorder) CredentialsCreate added in v1.0.7

func (mr *MockApiClientInterfaceMockRecorder) CredentialsCreate(arg0 interface{}) *gomock.Call

CredentialsCreate indicates an expected call of CredentialsCreate.

func (*MockApiClientInterfaceMockRecorder) Environment added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) Environment(arg0 interface{}) *gomock.Call

Environment indicates an expected call of Environment.

func (*MockApiClientInterfaceMockRecorder) EnvironmentCreate added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentCreate(arg0 interface{}) *gomock.Call

EnvironmentCreate indicates an expected call of EnvironmentCreate.

func (*MockApiClientInterfaceMockRecorder) EnvironmentCreateWithoutTemplate added in v1.2.0

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentCreateWithoutTemplate(arg0 interface{}) *gomock.Call

EnvironmentCreateWithoutTemplate indicates an expected call of EnvironmentCreateWithoutTemplate.

func (*MockApiClientInterfaceMockRecorder) EnvironmentDeploy added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentDeploy(arg0, arg1 interface{}) *gomock.Call

EnvironmentDeploy indicates an expected call of EnvironmentDeploy.

func (*MockApiClientInterfaceMockRecorder) EnvironmentDestroy added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentDestroy(arg0 interface{}) *gomock.Call

EnvironmentDestroy indicates an expected call of EnvironmentDestroy.

func (*MockApiClientInterfaceMockRecorder) EnvironmentDriftDetection added in v0.2.29

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentDriftDetection(arg0 interface{}) *gomock.Call

EnvironmentDriftDetection indicates an expected call of EnvironmentDriftDetection.

func (*MockApiClientInterfaceMockRecorder) EnvironmentScheduling added in v0.0.23

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentScheduling(arg0 interface{}) *gomock.Call

EnvironmentScheduling indicates an expected call of EnvironmentScheduling.

func (*MockApiClientInterfaceMockRecorder) EnvironmentSchedulingDelete added in v0.0.23

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentSchedulingDelete(arg0 interface{}) *gomock.Call

EnvironmentSchedulingDelete indicates an expected call of EnvironmentSchedulingDelete.

func (*MockApiClientInterfaceMockRecorder) EnvironmentSchedulingUpdate added in v0.0.23

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentSchedulingUpdate(arg0, arg1 interface{}) *gomock.Call

EnvironmentSchedulingUpdate indicates an expected call of EnvironmentSchedulingUpdate.

func (*MockApiClientInterfaceMockRecorder) EnvironmentStopDriftDetection added in v0.2.29

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentStopDriftDetection(arg0 interface{}) *gomock.Call

EnvironmentStopDriftDetection indicates an expected call of EnvironmentStopDriftDetection.

func (*MockApiClientInterfaceMockRecorder) EnvironmentUpdate added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdate(arg0, arg1 interface{}) *gomock.Call

EnvironmentUpdate indicates an expected call of EnvironmentUpdate.

func (*MockApiClientInterfaceMockRecorder) EnvironmentUpdateDriftDetection added in v0.2.29

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdateDriftDetection(arg0, arg1 interface{}) *gomock.Call

EnvironmentUpdateDriftDetection indicates an expected call of EnvironmentUpdateDriftDetection.

func (*MockApiClientInterfaceMockRecorder) EnvironmentUpdateTTL added in v0.0.21

func (mr *MockApiClientInterfaceMockRecorder) EnvironmentUpdateTTL(arg0, arg1 interface{}) *gomock.Call

EnvironmentUpdateTTL indicates an expected call of EnvironmentUpdateTTL.

func (*MockApiClientInterfaceMockRecorder) Environments added in v0.0.21

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

Environments indicates an expected call of Environments.

func (*MockApiClientInterfaceMockRecorder) GitToken added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) GitToken(arg0 interface{}) *gomock.Call

GitToken indicates an expected call of GitToken.

func (*MockApiClientInterfaceMockRecorder) GitTokenCreate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) GitTokenCreate(arg0 interface{}) *gomock.Call

GitTokenCreate indicates an expected call of GitTokenCreate.

func (*MockApiClientInterfaceMockRecorder) GitTokenDelete added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) GitTokenDelete(arg0 interface{}) *gomock.Call

GitTokenDelete indicates an expected call of GitTokenDelete.

func (*MockApiClientInterfaceMockRecorder) GitTokens added in v0.2.32

GitTokens indicates an expected call of GitTokens.

func (*MockApiClientInterfaceMockRecorder) Module added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) Module(arg0 interface{}) *gomock.Call

Module indicates an expected call of Module.

func (*MockApiClientInterfaceMockRecorder) ModuleCreate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) ModuleCreate(arg0 interface{}) *gomock.Call

ModuleCreate indicates an expected call of ModuleCreate.

func (*MockApiClientInterfaceMockRecorder) ModuleDelete added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) ModuleDelete(arg0 interface{}) *gomock.Call

ModuleDelete indicates an expected call of ModuleDelete.

func (*MockApiClientInterfaceMockRecorder) ModuleUpdate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) ModuleUpdate(arg0, arg1 interface{}) *gomock.Call

ModuleUpdate indicates an expected call of ModuleUpdate.

func (*MockApiClientInterfaceMockRecorder) Modules added in v0.2.32

Modules indicates an expected call of Modules.

func (*MockApiClientInterfaceMockRecorder) NotificationCreate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) NotificationCreate(arg0 interface{}) *gomock.Call

NotificationCreate indicates an expected call of NotificationCreate.

func (*MockApiClientInterfaceMockRecorder) NotificationDelete added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) NotificationDelete(arg0 interface{}) *gomock.Call

NotificationDelete indicates an expected call of NotificationDelete.

func (*MockApiClientInterfaceMockRecorder) NotificationProjectAssignmentUpdate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) NotificationProjectAssignmentUpdate(arg0, arg1, arg2 interface{}) *gomock.Call

NotificationProjectAssignmentUpdate indicates an expected call of NotificationProjectAssignmentUpdate.

func (*MockApiClientInterfaceMockRecorder) NotificationProjectAssignments added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) NotificationProjectAssignments(arg0 interface{}) *gomock.Call

NotificationProjectAssignments indicates an expected call of NotificationProjectAssignments.

func (*MockApiClientInterfaceMockRecorder) NotificationUpdate added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) NotificationUpdate(arg0, arg1 interface{}) *gomock.Call

NotificationUpdate indicates an expected call of NotificationUpdate.

func (*MockApiClientInterfaceMockRecorder) Notifications added in v0.2.32

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

Notifications indicates an expected call of Notifications.

func (*MockApiClientInterfaceMockRecorder) Organization added in v0.0.6

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

Organization indicates an expected call of Organization.

func (*MockApiClientInterfaceMockRecorder) 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 interface{}) *gomock.Call

OrganizationPolicyUpdate indicates an expected call of OrganizationPolicyUpdate.

func (*MockApiClientInterfaceMockRecorder) Policy added in v0.0.15

func (mr *MockApiClientInterfaceMockRecorder) Policy(arg0 interface{}) *gomock.Call

Policy indicates an expected call of Policy.

func (*MockApiClientInterfaceMockRecorder) PolicyUpdate added in v0.0.15

func (mr *MockApiClientInterfaceMockRecorder) PolicyUpdate(arg0 interface{}) *gomock.Call

PolicyUpdate indicates an expected call of PolicyUpdate.

func (*MockApiClientInterfaceMockRecorder) Project added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) Project(arg0 interface{}) *gomock.Call

Project indicates an expected call of Project.

func (*MockApiClientInterfaceMockRecorder) ProjectCreate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) ProjectCreate(arg0 interface{}) *gomock.Call

ProjectCreate indicates an expected call of ProjectCreate.

func (*MockApiClientInterfaceMockRecorder) ProjectDelete added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) ProjectDelete(arg0 interface{}) *gomock.Call

ProjectDelete indicates an expected call of ProjectDelete.

func (*MockApiClientInterfaceMockRecorder) ProjectEnvironments added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) ProjectEnvironments(arg0 interface{}) *gomock.Call

ProjectEnvironments indicates an expected call of ProjectEnvironments.

func (*MockApiClientInterfaceMockRecorder) ProjectUpdate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) ProjectUpdate(arg0, arg1 interface{}) *gomock.Call

ProjectUpdate indicates an expected call of ProjectUpdate.

func (*MockApiClientInterfaceMockRecorder) Projects added in v0.0.6

Projects indicates an expected call of Projects.

func (*MockApiClientInterfaceMockRecorder) ProjectsAgentsAssignments added in v1.0.0

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

ProjectsAgentsAssignments indicates an expected call of ProjectsAgentsAssignments.

func (*MockApiClientInterfaceMockRecorder) RemoveCloudCredentialsFromProject added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) RemoveCloudCredentialsFromProject(arg0, arg1 interface{}) *gomock.Call

RemoveCloudCredentialsFromProject indicates an expected call of RemoveCloudCredentialsFromProject.

func (*MockApiClientInterfaceMockRecorder) RemoveCostCredentialsFromProject added in v0.2.32

func (mr *MockApiClientInterfaceMockRecorder) RemoveCostCredentialsFromProject(arg0, arg1 interface{}) *gomock.Call

RemoveCostCredentialsFromProject indicates an expected call of RemoveCostCredentialsFromProject.

func (*MockApiClientInterfaceMockRecorder) RemoveTemplateFromProject added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) RemoveTemplateFromProject(arg0, arg1 interface{}) *gomock.Call

RemoveTemplateFromProject indicates an expected call of RemoveTemplateFromProject.

func (*MockApiClientInterfaceMockRecorder) RemoveUserFromProject added in v1.0.7

func (mr *MockApiClientInterfaceMockRecorder) RemoveUserFromProject(arg0, arg1 interface{}) *gomock.Call

RemoveUserFromProject indicates an expected call of RemoveUserFromProject.

func (*MockApiClientInterfaceMockRecorder) Role added in v1.2.4

func (mr *MockApiClientInterfaceMockRecorder) Role(arg0 interface{}) *gomock.Call

Role indicates an expected call of Role.

func (*MockApiClientInterfaceMockRecorder) RoleCreate added in v1.2.4

func (mr *MockApiClientInterfaceMockRecorder) RoleCreate(arg0 interface{}) *gomock.Call

RoleCreate indicates an expected call of RoleCreate.

func (*MockApiClientInterfaceMockRecorder) RoleDelete added in v1.2.4

func (mr *MockApiClientInterfaceMockRecorder) RoleDelete(arg0 interface{}) *gomock.Call

RoleDelete indicates an expected call of RoleDelete.

func (*MockApiClientInterfaceMockRecorder) RoleUpdate added in v1.2.4

func (mr *MockApiClientInterfaceMockRecorder) RoleUpdate(arg0, arg1 interface{}) *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 interface{}) *gomock.Call

SshKeyCreate indicates an expected call of SshKeyCreate.

func (*MockApiClientInterfaceMockRecorder) SshKeyDelete added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) SshKeyDelete(arg0 interface{}) *gomock.Call

SshKeyDelete indicates an expected call of SshKeyDelete.

func (*MockApiClientInterfaceMockRecorder) SshKeys added in v0.0.6

SshKeys indicates an expected call of SshKeys.

func (*MockApiClientInterfaceMockRecorder) Team added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) Team(arg0 interface{}) *gomock.Call

Team indicates an expected call of Team.

func (*MockApiClientInterfaceMockRecorder) TeamCreate added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamCreate(arg0 interface{}) *gomock.Call

TeamCreate indicates an expected call of TeamCreate.

func (*MockApiClientInterfaceMockRecorder) TeamDelete added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamDelete(arg0 interface{}) *gomock.Call

TeamDelete indicates an expected call of TeamDelete.

func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignmentCreateOrUpdate added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentCreateOrUpdate(arg0 interface{}) *gomock.Call

TeamProjectAssignmentCreateOrUpdate indicates an expected call of TeamProjectAssignmentCreateOrUpdate.

func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignmentDelete added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentDelete(arg0 interface{}) *gomock.Call

TeamProjectAssignmentDelete indicates an expected call of TeamProjectAssignmentDelete.

func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignments added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignments(arg0 interface{}) *gomock.Call

TeamProjectAssignments indicates an expected call of TeamProjectAssignments.

func (*MockApiClientInterfaceMockRecorder) TeamUpdate added in v0.0.13

func (mr *MockApiClientInterfaceMockRecorder) TeamUpdate(arg0, arg1 interface{}) *gomock.Call

TeamUpdate indicates an expected call of TeamUpdate.

func (*MockApiClientInterfaceMockRecorder) Teams added in v0.0.13

Teams indicates an expected call of Teams.

func (*MockApiClientInterfaceMockRecorder) TeamsByName added in v1.2.9

func (mr *MockApiClientInterfaceMockRecorder) TeamsByName(arg0 interface{}) *gomock.Call

TeamsByName indicates an expected call of TeamsByName.

func (*MockApiClientInterfaceMockRecorder) Template added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) Template(arg0 interface{}) *gomock.Call

Template indicates an expected call of Template.

func (*MockApiClientInterfaceMockRecorder) TemplateCreate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) TemplateCreate(arg0 interface{}) *gomock.Call

TemplateCreate indicates an expected call of TemplateCreate.

func (*MockApiClientInterfaceMockRecorder) TemplateDelete added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) TemplateDelete(arg0 interface{}) *gomock.Call

TemplateDelete indicates an expected call of TemplateDelete.

func (*MockApiClientInterfaceMockRecorder) TemplateUpdate added in v0.0.6

func (mr *MockApiClientInterfaceMockRecorder) TemplateUpdate(arg0, arg1 interface{}) *gomock.Call

TemplateUpdate indicates an expected call of TemplateUpdate.

func (*MockApiClientInterfaceMockRecorder) Templates added in v0.0.6

Templates indicates an expected call of Templates.

func (*MockApiClientInterfaceMockRecorder) UpdateUserProjectAssignment added in v1.0.7

func (mr *MockApiClientInterfaceMockRecorder) UpdateUserProjectAssignment(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateUserProjectAssignment indicates an expected call of UpdateUserProjectAssignment.

func (*MockApiClientInterfaceMockRecorder) UserProjectAssignments added in v1.0.7

func (mr *MockApiClientInterfaceMockRecorder) UserProjectAssignments(arg0 interface{}) *gomock.Call

UserProjectAssignments indicates an expected call of UserProjectAssignments.

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 interface{}) *gomock.Call

VariablesFromRepository indicates an expected call of VariablesFromRepository.

func (*MockApiClientInterfaceMockRecorder) WorkflowTrigger added in v0.0.23

func (mr *MockApiClientInterfaceMockRecorder) WorkflowTrigger(arg0 interface{}) *gomock.Call

WorkflowTrigger indicates an expected call of WorkflowTrigger.

func (*MockApiClientInterfaceMockRecorder) WorkflowTriggerUpsert added in v0.0.23

func (mr *MockApiClientInterfaceMockRecorder) WorkflowTriggerUpsert(arg0, arg1 interface{}) *gomock.Call

WorkflowTriggerUpsert indicates an expected call of WorkflowTriggerUpsert.

type Module added in v0.2.32

type Module struct {
	ModuleName           string         `json:"moduleName"`
	ModuleProvider       string         `json:"moduleProvider"`
	Repository           string         `json:"repository"`
	Description          string         `json:"description"`
	LogoUrl              string         `json:"logoUrl"`
	TokenId              string         `json:"tokenId"`
	TokenName            string         `json:"tokenName"`
	GithubInstallationId *int           `json:"githubInstallationId" 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"`
}

type ModuleCreatePayload added in v0.2.32

type ModuleCreatePayload struct {
	ModuleName           string         `json:"moduleName"`
	ModuleProvider       string         `json:"moduleProvider"`
	Repository           string         `json:"repository"`
	Description          string         `json:"description,omitempty"`
	LogoUrl              string         `json:"logoUrl,omitempty"`
	TokenId              string         `json:"tokenId,omitempty"`
	TokenName            string         `json:"tokenName,omitempty"`
	GithubInstallationId *int           `json:"githubInstallationId,omitempty"`
	BitbucketClientKey   string         `json:"bitbucketClientKey,omitempty"`
	IsGitlab             *bool          `json:"isGitLab,omitempty"`
	SshKeys              []ModuleSshKey `json:"sshkeys,omitempty"`
}

type ModuleCreatePayloadWith added in v0.2.32

type ModuleCreatePayloadWith struct {
	ModuleCreatePayload
	Type           string `json:"type"`
	OrganizationId string `json:"organizationId"`
}

type ModuleSshKey added in v0.2.32

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

type ModuleUpdatePayload added in v0.2.32

type ModuleUpdatePayload struct {
	ModuleName           string         `json:"moduleName,omitempty"`
	ModuleProvider       string         `json:"moduleProvider,omitempty"`
	Repository           string         `json:"repository,omitempty"`
	Description          string         `json:"description,omitempty"`
	LogoUrl              string         `json:"logoUrl,omitempty"`
	TokenId              string         `json:"tokenId"`
	TokenName            string         `json:"tokenName"`
	GithubInstallationId *int           `json:"githubInstallationId"`
	BitbucketClientKey   string         `json:"bitbucketClientKey"`
	IsGitlab             bool           `json:"isGitLab"`
	SshKeys              []ModuleSshKey `json:"sshkeys"`
}

type NotFoundError added in v1.0.5

type NotFoundError struct{}

func (*NotFoundError) Error added in v1.0.5

func (e *NotFoundError) Error() string

type Notification added in v0.2.32

type 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"
)

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"`
	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"`
}

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"`
	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"`
	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"`
}

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"`
	DefaultTtl                  string `json:"defaultTtl"`
}

type Project

type Project struct {
	IsArchived     bool   `json:"isArchived"`
	OrganizationId string `json:"organizationId"`
	UpdatedAt      string `json:"updatedAt"`
	CreatedAt      string `json:"createdAt"`
	Id             string `json:"id"`
	Name           string `json:"name"`
	CreatedBy      string `json:"createdBy"`
	Role           string `json:"role"`
	CreatedByUser  User   `json:"createdByUser"`
	Description    string `json:"description"`
}

type ProjectCreatePayload added in v0.0.7

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

type ProjectRole added in v1.2.4

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

type ProjectsAgentsAssignments added in v1.0.0

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

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

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 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"`
	ProjectRole ProjectRole `json:"projectRole" tfschema:"role"`
}

type TeamProjectAssignmentPayload added in v0.0.13

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

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"`
	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,omitempty" tfschema:",omitempty"`
	UpdatedAt            string           `json:"updatedAt"`
	TerraformVersion     string           `json:"terraformVersion"`
	TerragruntVersion    string           `json:"terragruntVersion,omitempty" tfschema:",omitempty"`
	IsDeleted            bool             `json:"isDeleted,omitempty"`
	BitbucketClientKey   string           `json:"bitbucketClientKey" tfschema:",omitempty"`
	IsGithubEnterprise   bool             `json:"isGitHubEnterprise"`
	IsBitbucketServer    bool             `json:"isBitbucketServer"`
	FileName             string           `json:"fileName,omitempty" tfschema:",omitempty"`
	IsTerragruntRunAll   bool             `json:"isTerragruntRunAll"`
}

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                 TemplateType     `json:"type"`
	Description          string           `json:"description"`
	Name                 string           `json:"name"`
	Repository           string           `json:"repository"`
	Path                 string           `json:"path"`
	IsGitLab             bool             `json:"isGitLab"`
	TokenName            string           `json:"tokenName"`
	TokenId              string           `json:"tokenId,omitempty"`
	GithubInstallationId int              `json:"githubInstallationId,omitempty"`
	GitlabProjectId      int              `json:"gitlabProjectId,omitempty"`
	Revision             string           `json:"revision"`
	OrganizationId       string           `json:"organizationId"`
	TerraformVersion     string           `json:"terraformVersion"`
	TerragruntVersion    string           `json:"terragruntVersion,omitempty"`
	IsGitlabEnterprise   bool             `json:"isGitLabEnterprise"`
	BitbucketClientKey   string           `json:"bitbucketClientKey,omitempty"`
	IsGithubEnterprise   bool             `json:"isGitHubEnterprise"`
	IsBitbucketServer    bool             `json:"isBitbucketServer"`
	FileName             string           `json:"fileName,omitempty"`
	IsTerragruntRunAll   bool             `json:"isTerragruntRunAll"`
}

func (TemplateCreatePayload) Validate added in v1.1.1

func (payload TemplateCreatePayload) Validate() 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 TemplateType

type TemplateType string
const (
	TemplateTypeTerraform  TemplateType = "terraform"
	TemplateTypeTerragrunt TemplateType = "terragrunt"
)

type UpdateUserProjectAssignmentPayload added in v1.0.7

type UpdateUserProjectAssignmentPayload struct {
	Role ProjectRole `json:"role"`
}

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   ProjectRole `json:"role"`
	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 WorkflowTrigger added in v0.0.23

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

type WorkflowTriggerUpsertPayload added in v0.0.23

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

Directories

Path Synopsis
Package http is a generated GoMock package.
Package http is a generated GoMock package.

Jump to

Keyboard shortcuts

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