Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- type ApiClient
- func (self *ApiClient) AssignCloudCredentialsToProject(projectId string, credentialId string) (CloudCredentialsProjectAssignment, error)
- func (self *ApiClient) AssignTemplateToProject(id string, payload TemplateAssignmentToProjectPayload) (Template, error)
- func (self *ApiClient) AwsCredentials(id string) (ApiKey, error)
- func (self *ApiClient) AwsCredentialsCreate(request AwsCredentialsCreatePayload) (ApiKey, error)
- func (self *ApiClient) AwsCredentialsDelete(id string) error
- func (self *ApiClient) AwsCredentialsList() ([]ApiKey, error)
- func (self *ApiClient) CloudCredentialIdsInProject(projectId string) ([]string, error)
- func (self *ApiClient) ConfigurationVariableCreate(name string, value string, isSensitive bool, scope Scope, scopeId string, ...) (ConfigurationVariable, error)
- func (self *ApiClient) ConfigurationVariableDelete(id string) error
- func (self *ApiClient) ConfigurationVariableUpdate(id string, name string, value string, isSensitive bool, scope Scope, ...) (ConfigurationVariable, error)
- func (self *ApiClient) ConfigurationVariables(scope Scope, scopeId string) ([]ConfigurationVariable, error)
- func (self *ApiClient) Organization() (Organization, error)
- func (self *ApiClient) Project(id string) (Project, error)
- func (self *ApiClient) ProjectCreate(payload ProjectCreatePayload) (Project, error)
- func (self *ApiClient) ProjectDelete(id string) error
- func (self *ApiClient) ProjectUpdate(id string, payload ProjectCreatePayload) (Project, error)
- func (self *ApiClient) Projects() ([]Project, error)
- func (self *ApiClient) RemoveCloudCredentialsFromProject(projectId string, credentialId string) error
- func (self *ApiClient) RemoveTemplateFromProject(templateId string, projectId string) error
- func (self *ApiClient) SshKeyCreate(payload SshKeyCreatePayload) (SshKey, error)
- func (self *ApiClient) SshKeyDelete(id string) error
- func (self *ApiClient) SshKeys() ([]SshKey, error)
- func (self *ApiClient) Team(id string) (Team, error)
- func (self *ApiClient) TeamCreate(payload TeamCreatePayload) (Team, error)
- func (self *ApiClient) TeamDelete(id string) error
- func (self *ApiClient) TeamProjectAssignmentCreateOrUpdate(payload TeamProjectAssignmentPayload) (TeamProjectAssignment, error)
- func (self *ApiClient) TeamProjectAssignmentDelete(assignmentId string) error
- func (self *ApiClient) TeamProjectAssignments(projectId string) ([]TeamProjectAssignment, error)
- func (self *ApiClient) TeamUpdate(id string, payload TeamUpdatePayload) (Team, error)
- func (self *ApiClient) Teams() ([]Team, error)
- func (self *ApiClient) Template(id string) (Template, error)
- func (self *ApiClient) TemplateCreate(payload TemplateCreatePayload) (Template, error)
- func (self *ApiClient) TemplateDelete(id string) error
- func (self *ApiClient) TemplateUpdate(id string, payload TemplateCreatePayload) (Template, error)
- func (self *ApiClient) Templates() ([]Template, error)
- type ApiClientInterface
- type ApiKey
- type AwsCredentialsCreatePayload
- type AwsCredentialsValuePayload
- type CloudCredentialIdsInProjectResponse
- type CloudCredentialsProjectAssignment
- type CloudCredentialsProjectAssignmentPatchPayload
- type ConfigurationVariable
- type ConfigurationVariableSchema
- type ConfigurationVariableType
- type MockApiClientInterface
- func (m *MockApiClientInterface) AssignCloudCredentialsToProject(arg0, arg1 string) (CloudCredentialsProjectAssignment, error)
- func (m *MockApiClientInterface) AssignTemplateToProject(arg0 string, arg1 TemplateAssignmentToProjectPayload) (Template, error)
- func (m *MockApiClientInterface) AwsCredentials(arg0 string) (ApiKey, error)
- func (m *MockApiClientInterface) AwsCredentialsCreate(arg0 AwsCredentialsCreatePayload) (ApiKey, error)
- func (m *MockApiClientInterface) AwsCredentialsDelete(arg0 string) error
- func (m *MockApiClientInterface) AwsCredentialsList() ([]ApiKey, error)
- func (m *MockApiClientInterface) CloudCredentialIdsInProject(arg0 string) ([]string, error)
- func (m *MockApiClientInterface) ConfigurationVariableCreate(arg0, arg1 string, arg2 bool, arg3 Scope, arg4 string, ...) (ConfigurationVariable, error)
- func (m *MockApiClientInterface) ConfigurationVariableDelete(arg0 string) error
- func (m *MockApiClientInterface) ConfigurationVariableUpdate(arg0, arg1, arg2 string, arg3 bool, arg4 Scope, arg5 string, ...) (ConfigurationVariable, error)
- func (m *MockApiClientInterface) ConfigurationVariables(arg0 Scope, arg1 string) ([]ConfigurationVariable, error)
- func (m *MockApiClientInterface) EXPECT() *MockApiClientInterfaceMockRecorder
- func (m *MockApiClientInterface) Organization() (Organization, error)
- func (m *MockApiClientInterface) Project(arg0 string) (Project, error)
- func (m *MockApiClientInterface) ProjectCreate(arg0 ProjectCreatePayload) (Project, error)
- func (m *MockApiClientInterface) ProjectDelete(arg0 string) error
- func (m *MockApiClientInterface) ProjectUpdate(arg0 string, arg1 ProjectCreatePayload) (Project, error)
- func (m *MockApiClientInterface) Projects() ([]Project, error)
- func (m *MockApiClientInterface) RemoveCloudCredentialsFromProject(arg0, arg1 string) error
- func (m *MockApiClientInterface) RemoveTemplateFromProject(arg0, arg1 string) error
- func (m *MockApiClientInterface) SshKeyCreate(arg0 SshKeyCreatePayload) (SshKey, error)
- func (m *MockApiClientInterface) SshKeyDelete(arg0 string) error
- func (m *MockApiClientInterface) SshKeys() ([]SshKey, error)
- func (m *MockApiClientInterface) Team(arg0 string) (Team, error)
- func (m *MockApiClientInterface) TeamCreate(arg0 TeamCreatePayload) (Team, error)
- func (m *MockApiClientInterface) TeamDelete(arg0 string) error
- func (m *MockApiClientInterface) TeamProjectAssignmentCreateOrUpdate(arg0 TeamProjectAssignmentPayload) (TeamProjectAssignment, error)
- func (m *MockApiClientInterface) TeamProjectAssignmentDelete(arg0 string) error
- func (m *MockApiClientInterface) TeamProjectAssignments(arg0 string) ([]TeamProjectAssignment, error)
- func (m *MockApiClientInterface) TeamUpdate(arg0 string, arg1 TeamUpdatePayload) (Team, error)
- func (m *MockApiClientInterface) Teams() ([]Team, error)
- func (m *MockApiClientInterface) Template(arg0 string) (Template, error)
- func (m *MockApiClientInterface) TemplateCreate(arg0 TemplateCreatePayload) (Template, error)
- func (m *MockApiClientInterface) TemplateDelete(arg0 string) error
- func (m *MockApiClientInterface) TemplateUpdate(arg0 string, arg1 TemplateCreatePayload) (Template, error)
- func (m *MockApiClientInterface) Templates() ([]Template, error)
- type MockApiClientInterfaceMockRecorder
- func (mr *MockApiClientInterfaceMockRecorder) AssignCloudCredentialsToProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AssignTemplateToProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AwsCredentials(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsList() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialIdsInProject(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableCreate(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableUpdate(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariables(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Organization() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Project(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ProjectCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ProjectDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) ProjectUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Projects() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) RemoveCloudCredentialsFromProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) RemoveTemplateFromProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) SshKeyCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) SshKeyDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) SshKeys() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Team(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentCreateOrUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignments(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TeamUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Teams() *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Template(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TemplateCreate(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TemplateDelete(arg0 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) TemplateUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApiClientInterfaceMockRecorder) Templates() *gomock.Call
- type Organization
- type Project
- type ProjectCreatePayload
- type Role
- type Scope
- type SshKey
- type SshKeyCreatePayload
- type Team
- type TeamCreatePayload
- type TeamProjectAssignment
- type TeamProjectAssignmentPayload
- type TeamUpdatePayload
- type Template
- type TemplateAssignmentToProject
- type TemplateAssignmentToProjectPayload
- type TemplateCreatePayload
- type TemplateRetry
- type TemplateRetryOn
- type TemplateSshKey
- type TemplateType
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiClient ¶
type ApiClient struct {
// contains filtered or unexported fields
}
func (*ApiClient) AssignCloudCredentialsToProject ¶ added in v0.0.6
func (self *ApiClient) AssignCloudCredentialsToProject(projectId string, credentialId string) (CloudCredentialsProjectAssignment, error)
func (*ApiClient) AssignTemplateToProject ¶ added in v0.0.6
func (self *ApiClient) AssignTemplateToProject(id string, payload TemplateAssignmentToProjectPayload) (Template, error)
func (*ApiClient) AwsCredentials ¶ added in v0.0.4
func (*ApiClient) AwsCredentialsCreate ¶ added in v0.0.4
func (self *ApiClient) AwsCredentialsCreate(request AwsCredentialsCreatePayload) (ApiKey, error)
func (*ApiClient) AwsCredentialsDelete ¶ added in v0.0.4
func (*ApiClient) AwsCredentialsList ¶ added in v0.0.4
func (*ApiClient) CloudCredentialIdsInProject ¶ added in v0.0.6
func (*ApiClient) ConfigurationVariableCreate ¶
func (self *ApiClient) ConfigurationVariableCreate(name string, value string, isSensitive bool, scope Scope, scopeId string, type_ ConfigurationVariableType, enumValues []string) (ConfigurationVariable, error)
func (*ApiClient) ConfigurationVariableDelete ¶
func (*ApiClient) ConfigurationVariableUpdate ¶
func (*ApiClient) ConfigurationVariables ¶
func (self *ApiClient) ConfigurationVariables(scope Scope, scopeId string) ([]ConfigurationVariable, error)
func (*ApiClient) Organization ¶
func (self *ApiClient) Organization() (Organization, error)
func (*ApiClient) ProjectCreate ¶
func (self *ApiClient) ProjectCreate(payload ProjectCreatePayload) (Project, error)
func (*ApiClient) ProjectDelete ¶
func (*ApiClient) ProjectUpdate ¶ added in v0.0.4
func (self *ApiClient) ProjectUpdate(id string, payload ProjectCreatePayload) (Project, error)
func (*ApiClient) RemoveCloudCredentialsFromProject ¶ added in v0.0.6
func (*ApiClient) RemoveTemplateFromProject ¶ added in v0.0.6
func (*ApiClient) SshKeyCreate ¶
func (self *ApiClient) SshKeyCreate(payload SshKeyCreatePayload) (SshKey, error)
func (*ApiClient) SshKeyDelete ¶
func (*ApiClient) TeamCreate ¶ added in v0.0.13
func (self *ApiClient) TeamCreate(payload TeamCreatePayload) (Team, error)
func (*ApiClient) TeamDelete ¶ added in v0.0.13
func (*ApiClient) TeamProjectAssignmentCreateOrUpdate ¶ added in v0.0.13
func (self *ApiClient) TeamProjectAssignmentCreateOrUpdate(payload TeamProjectAssignmentPayload) (TeamProjectAssignment, error)
func (*ApiClient) TeamProjectAssignmentDelete ¶ added in v0.0.13
func (*ApiClient) TeamProjectAssignments ¶ added in v0.0.13
func (self *ApiClient) TeamProjectAssignments(projectId string) ([]TeamProjectAssignment, error)
func (*ApiClient) TeamUpdate ¶ added in v0.0.13
func (self *ApiClient) TeamUpdate(id string, payload TeamUpdatePayload) (Team, error)
func (*ApiClient) TemplateCreate ¶
func (self *ApiClient) TemplateCreate(payload TemplateCreatePayload) (Template, error)
func (*ApiClient) TemplateDelete ¶
func (*ApiClient) TemplateUpdate ¶
func (self *ApiClient) TemplateUpdate(id string, payload TemplateCreatePayload) (Template, error)
type ApiClientInterface ¶ added in v0.0.6
type ApiClientInterface interface { ConfigurationVariables(scope Scope, scopeId string) ([]ConfigurationVariable, error) ConfigurationVariableCreate(name string, value string, isSensitive bool, scope Scope, scopeId string, type_ ConfigurationVariableType, enumValues []string) (ConfigurationVariable, error) ConfigurationVariableUpdate(id string, name string, value string, isSensitive bool, scope Scope, scopeId string, type_ ConfigurationVariableType, enumValues []string) (ConfigurationVariable, error) ConfigurationVariableDelete(id string) error Organization() (Organization, error) Projects() ([]Project, error) Project(id string) (Project, error) ProjectCreate(payload ProjectCreatePayload) (Project, error) ProjectUpdate(id string, payload ProjectCreatePayload) (Project, error) ProjectDelete(id string) error Template(id string) (Template, error) Templates() ([]Template, error) TemplateCreate(payload TemplateCreatePayload) (Template, error) TemplateUpdate(id string, payload TemplateCreatePayload) (Template, error) TemplateDelete(id string) error AssignTemplateToProject(id string, payload TemplateAssignmentToProjectPayload) (Template, error) RemoveTemplateFromProject(templateId string, projectId string) error SshKeys() ([]SshKey, error) SshKeyCreate(payload SshKeyCreatePayload) (SshKey, error) SshKeyDelete(id string) error AwsCredentials(id string) (ApiKey, error) AwsCredentialsList() ([]ApiKey, error) AwsCredentialsCreate(request AwsCredentialsCreatePayload) (ApiKey, error) AwsCredentialsDelete(id string) error AssignCloudCredentialsToProject(projectId string, credentialId string) (CloudCredentialsProjectAssignment, error) RemoveCloudCredentialsFromProject(projectId string, credentialId string) error CloudCredentialIdsInProject(projectId string) ([]string, error) Team(id string) (Team, error) Teams() ([]Team, error) TeamCreate(payload TeamCreatePayload) (Team, error) TeamUpdate(id string, payload TeamUpdatePayload) (Team, error) TeamDelete(id string) error TeamProjectAssignmentCreateOrUpdate(payload TeamProjectAssignmentPayload) (TeamProjectAssignment, error) TeamProjectAssignmentDelete(assignmentId string) error TeamProjectAssignments(projectId string) ([]TeamProjectAssignment, error) // contains filtered or unexported methods }
func NewApiClient ¶
func NewApiClient(client http.HttpClientInterface) ApiClientInterface
type AwsCredentialsCreatePayload ¶ added in v0.0.4
type AwsCredentialsCreatePayload struct { Name string `json:"name"` OrganizationId string `json:"organizationId"` Type string `json:"type"` Value AwsCredentialsValuePayload `json:"value"` }
type AwsCredentialsValuePayload ¶ added in v0.0.4
type CloudCredentialIdsInProjectResponse ¶ added in v0.0.6
type CloudCredentialIdsInProjectResponse struct {
CredentialIds []string `json:"credentialIds"`
}
type CloudCredentialsProjectAssignment ¶ added in v0.0.6
type CloudCredentialsProjectAssignmentPatchPayload ¶ added in v0.0.6
type CloudCredentialsProjectAssignmentPatchPayload struct {
CredentialIds []string `json:"credentialIds"`
}
type ConfigurationVariable ¶
type ConfigurationVariable struct { ScopeId string `json:"scopeId"` Value string `json:"value"` OrganizationId string `json:"organizationId"` UserId string `json:"userId"` IsSensitive bool `json:"isSensitive"` Scope Scope `json:"scope"` Id string `json:"id"` Name string `json:"name"` Type ConfigurationVariableType `json:"type"` Schema ConfigurationVariableSchema `json:"schema"` }
type ConfigurationVariableType ¶
type ConfigurationVariableType int
const ( ConfigurationVariableTypeEnvironment ConfigurationVariableType = 0 ConfigurationVariableTypeTerraform ConfigurationVariableType = 1 )
type MockApiClientInterface ¶ added in v0.0.6
type MockApiClientInterface struct {
// contains filtered or unexported fields
}
MockApiClientInterface is a mock of ApiClientInterface interface.
func NewMockApiClientInterface ¶ added in v0.0.6
func NewMockApiClientInterface(ctrl *gomock.Controller) *MockApiClientInterface
NewMockApiClientInterface creates a new mock instance.
func (*MockApiClientInterface) AssignCloudCredentialsToProject ¶ added in v0.0.6
func (m *MockApiClientInterface) AssignCloudCredentialsToProject(arg0, arg1 string) (CloudCredentialsProjectAssignment, error)
AssignCloudCredentialsToProject mocks base method.
func (*MockApiClientInterface) AssignTemplateToProject ¶ added in v0.0.6
func (m *MockApiClientInterface) AssignTemplateToProject(arg0 string, arg1 TemplateAssignmentToProjectPayload) (Template, error)
AssignTemplateToProject mocks base method.
func (*MockApiClientInterface) AwsCredentials ¶ added in v0.0.6
func (m *MockApiClientInterface) AwsCredentials(arg0 string) (ApiKey, error)
AwsCredentials mocks base method.
func (*MockApiClientInterface) AwsCredentialsCreate ¶ added in v0.0.6
func (m *MockApiClientInterface) AwsCredentialsCreate(arg0 AwsCredentialsCreatePayload) (ApiKey, error)
AwsCredentialsCreate mocks base method.
func (*MockApiClientInterface) AwsCredentialsDelete ¶ added in v0.0.6
func (m *MockApiClientInterface) AwsCredentialsDelete(arg0 string) error
AwsCredentialsDelete mocks base method.
func (*MockApiClientInterface) AwsCredentialsList ¶ added in v0.0.6
func (m *MockApiClientInterface) AwsCredentialsList() ([]ApiKey, error)
AwsCredentialsList mocks base method.
func (*MockApiClientInterface) CloudCredentialIdsInProject ¶ added in v0.0.6
func (m *MockApiClientInterface) CloudCredentialIdsInProject(arg0 string) ([]string, error)
CloudCredentialIdsInProject mocks base method.
func (*MockApiClientInterface) ConfigurationVariableCreate ¶ added in v0.0.6
func (m *MockApiClientInterface) ConfigurationVariableCreate(arg0, arg1 string, arg2 bool, arg3 Scope, arg4 string, arg5 ConfigurationVariableType, arg6 []string) (ConfigurationVariable, error)
ConfigurationVariableCreate mocks base method.
func (*MockApiClientInterface) ConfigurationVariableDelete ¶ added in v0.0.6
func (m *MockApiClientInterface) ConfigurationVariableDelete(arg0 string) error
ConfigurationVariableDelete mocks base method.
func (*MockApiClientInterface) ConfigurationVariableUpdate ¶ added in v0.0.6
func (m *MockApiClientInterface) ConfigurationVariableUpdate(arg0, arg1, arg2 string, arg3 bool, arg4 Scope, arg5 string, arg6 ConfigurationVariableType, arg7 []string) (ConfigurationVariable, error)
ConfigurationVariableUpdate mocks base method.
func (*MockApiClientInterface) ConfigurationVariables ¶ added in v0.0.6
func (m *MockApiClientInterface) ConfigurationVariables(arg0 Scope, arg1 string) ([]ConfigurationVariable, error)
ConfigurationVariables mocks base method.
func (*MockApiClientInterface) EXPECT ¶ added in v0.0.6
func (m *MockApiClientInterface) EXPECT() *MockApiClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApiClientInterface) Organization ¶ added in v0.0.6
func (m *MockApiClientInterface) Organization() (Organization, error)
Organization mocks base method.
func (*MockApiClientInterface) Project ¶ added in v0.0.6
func (m *MockApiClientInterface) Project(arg0 string) (Project, error)
Project mocks base method.
func (*MockApiClientInterface) ProjectCreate ¶ added in v0.0.6
func (m *MockApiClientInterface) ProjectCreate(arg0 ProjectCreatePayload) (Project, error)
ProjectCreate mocks base method.
func (*MockApiClientInterface) ProjectDelete ¶ added in v0.0.6
func (m *MockApiClientInterface) ProjectDelete(arg0 string) error
ProjectDelete mocks base method.
func (*MockApiClientInterface) ProjectUpdate ¶ added in v0.0.6
func (m *MockApiClientInterface) ProjectUpdate(arg0 string, arg1 ProjectCreatePayload) (Project, error)
ProjectUpdate mocks base method.
func (*MockApiClientInterface) Projects ¶ added in v0.0.6
func (m *MockApiClientInterface) Projects() ([]Project, error)
Projects mocks base method.
func (*MockApiClientInterface) RemoveCloudCredentialsFromProject ¶ added in v0.0.6
func (m *MockApiClientInterface) RemoveCloudCredentialsFromProject(arg0, arg1 string) error
RemoveCloudCredentialsFromProject mocks base method.
func (*MockApiClientInterface) RemoveTemplateFromProject ¶ added in v0.0.6
func (m *MockApiClientInterface) RemoveTemplateFromProject(arg0, arg1 string) error
RemoveTemplateFromProject mocks base method.
func (*MockApiClientInterface) SshKeyCreate ¶ added in v0.0.6
func (m *MockApiClientInterface) SshKeyCreate(arg0 SshKeyCreatePayload) (SshKey, error)
SshKeyCreate mocks base method.
func (*MockApiClientInterface) SshKeyDelete ¶ added in v0.0.6
func (m *MockApiClientInterface) SshKeyDelete(arg0 string) error
SshKeyDelete mocks base method.
func (*MockApiClientInterface) SshKeys ¶ added in v0.0.6
func (m *MockApiClientInterface) SshKeys() ([]SshKey, error)
SshKeys mocks base method.
func (*MockApiClientInterface) Team ¶ added in v0.0.13
func (m *MockApiClientInterface) Team(arg0 string) (Team, error)
Team mocks base method.
func (*MockApiClientInterface) TeamCreate ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamCreate(arg0 TeamCreatePayload) (Team, error)
TeamCreate mocks base method.
func (*MockApiClientInterface) TeamDelete ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamDelete(arg0 string) error
TeamDelete mocks base method.
func (*MockApiClientInterface) TeamProjectAssignmentCreateOrUpdate ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamProjectAssignmentCreateOrUpdate(arg0 TeamProjectAssignmentPayload) (TeamProjectAssignment, error)
TeamProjectAssignmentCreateOrUpdate mocks base method.
func (*MockApiClientInterface) TeamProjectAssignmentDelete ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamProjectAssignmentDelete(arg0 string) error
TeamProjectAssignmentDelete mocks base method.
func (*MockApiClientInterface) TeamProjectAssignments ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamProjectAssignments(arg0 string) ([]TeamProjectAssignment, error)
TeamProjectAssignments mocks base method.
func (*MockApiClientInterface) TeamUpdate ¶ added in v0.0.13
func (m *MockApiClientInterface) TeamUpdate(arg0 string, arg1 TeamUpdatePayload) (Team, error)
TeamUpdate mocks base method.
func (*MockApiClientInterface) Teams ¶ added in v0.0.13
func (m *MockApiClientInterface) Teams() ([]Team, error)
Teams mocks base method.
func (*MockApiClientInterface) Template ¶ added in v0.0.6
func (m *MockApiClientInterface) Template(arg0 string) (Template, error)
Template mocks base method.
func (*MockApiClientInterface) TemplateCreate ¶ added in v0.0.6
func (m *MockApiClientInterface) TemplateCreate(arg0 TemplateCreatePayload) (Template, error)
TemplateCreate mocks base method.
func (*MockApiClientInterface) TemplateDelete ¶ added in v0.0.6
func (m *MockApiClientInterface) TemplateDelete(arg0 string) error
TemplateDelete mocks base method.
func (*MockApiClientInterface) TemplateUpdate ¶ added in v0.0.6
func (m *MockApiClientInterface) TemplateUpdate(arg0 string, arg1 TemplateCreatePayload) (Template, error)
TemplateUpdate mocks base method.
func (*MockApiClientInterface) Templates ¶ added in v0.0.6
func (m *MockApiClientInterface) Templates() ([]Template, error)
Templates mocks base method.
type MockApiClientInterfaceMockRecorder ¶ added in v0.0.6
type MockApiClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockApiClientInterfaceMockRecorder is the mock recorder for MockApiClientInterface.
func (*MockApiClientInterfaceMockRecorder) AssignCloudCredentialsToProject ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AssignCloudCredentialsToProject(arg0, arg1 interface{}) *gomock.Call
AssignCloudCredentialsToProject indicates an expected call of AssignCloudCredentialsToProject.
func (*MockApiClientInterfaceMockRecorder) AssignTemplateToProject ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AssignTemplateToProject(arg0, arg1 interface{}) *gomock.Call
AssignTemplateToProject indicates an expected call of AssignTemplateToProject.
func (*MockApiClientInterfaceMockRecorder) AwsCredentials ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AwsCredentials(arg0 interface{}) *gomock.Call
AwsCredentials indicates an expected call of AwsCredentials.
func (*MockApiClientInterfaceMockRecorder) AwsCredentialsCreate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsCreate(arg0 interface{}) *gomock.Call
AwsCredentialsCreate indicates an expected call of AwsCredentialsCreate.
func (*MockApiClientInterfaceMockRecorder) AwsCredentialsDelete ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsDelete(arg0 interface{}) *gomock.Call
AwsCredentialsDelete indicates an expected call of AwsCredentialsDelete.
func (*MockApiClientInterfaceMockRecorder) AwsCredentialsList ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) AwsCredentialsList() *gomock.Call
AwsCredentialsList indicates an expected call of AwsCredentialsList.
func (*MockApiClientInterfaceMockRecorder) CloudCredentialIdsInProject ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) CloudCredentialIdsInProject(arg0 interface{}) *gomock.Call
CloudCredentialIdsInProject indicates an expected call of CloudCredentialIdsInProject.
func (*MockApiClientInterfaceMockRecorder) ConfigurationVariableCreate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariableCreate(arg0, arg1, arg2, arg3, arg4, arg5, arg6 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, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
ConfigurationVariableUpdate indicates an expected call of ConfigurationVariableUpdate.
func (*MockApiClientInterfaceMockRecorder) ConfigurationVariables ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ConfigurationVariables(arg0, arg1 interface{}) *gomock.Call
ConfigurationVariables indicates an expected call of ConfigurationVariables.
func (*MockApiClientInterfaceMockRecorder) Organization ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) Organization() *gomock.Call
Organization indicates an expected call of Organization.
func (*MockApiClientInterfaceMockRecorder) Project ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) Project(arg0 interface{}) *gomock.Call
Project indicates an expected call of Project.
func (*MockApiClientInterfaceMockRecorder) ProjectCreate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ProjectCreate(arg0 interface{}) *gomock.Call
ProjectCreate indicates an expected call of ProjectCreate.
func (*MockApiClientInterfaceMockRecorder) ProjectDelete ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ProjectDelete(arg0 interface{}) *gomock.Call
ProjectDelete indicates an expected call of ProjectDelete.
func (*MockApiClientInterfaceMockRecorder) ProjectUpdate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) ProjectUpdate(arg0, arg1 interface{}) *gomock.Call
ProjectUpdate indicates an expected call of ProjectUpdate.
func (*MockApiClientInterfaceMockRecorder) Projects ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) Projects() *gomock.Call
Projects indicates an expected call of Projects.
func (*MockApiClientInterfaceMockRecorder) RemoveCloudCredentialsFromProject ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) RemoveCloudCredentialsFromProject(arg0, arg1 interface{}) *gomock.Call
RemoveCloudCredentialsFromProject indicates an expected call of RemoveCloudCredentialsFromProject.
func (*MockApiClientInterfaceMockRecorder) RemoveTemplateFromProject ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) RemoveTemplateFromProject(arg0, arg1 interface{}) *gomock.Call
RemoveTemplateFromProject indicates an expected call of RemoveTemplateFromProject.
func (*MockApiClientInterfaceMockRecorder) SshKeyCreate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) SshKeyCreate(arg0 interface{}) *gomock.Call
SshKeyCreate indicates an expected call of SshKeyCreate.
func (*MockApiClientInterfaceMockRecorder) SshKeyDelete ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) SshKeyDelete(arg0 interface{}) *gomock.Call
SshKeyDelete indicates an expected call of SshKeyDelete.
func (*MockApiClientInterfaceMockRecorder) SshKeys ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) SshKeys() *gomock.Call
SshKeys indicates an expected call of SshKeys.
func (*MockApiClientInterfaceMockRecorder) Team ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) Team(arg0 interface{}) *gomock.Call
Team indicates an expected call of Team.
func (*MockApiClientInterfaceMockRecorder) TeamCreate ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamCreate(arg0 interface{}) *gomock.Call
TeamCreate indicates an expected call of TeamCreate.
func (*MockApiClientInterfaceMockRecorder) TeamDelete ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamDelete(arg0 interface{}) *gomock.Call
TeamDelete indicates an expected call of TeamDelete.
func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignmentCreateOrUpdate ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentCreateOrUpdate(arg0 interface{}) *gomock.Call
TeamProjectAssignmentCreateOrUpdate indicates an expected call of TeamProjectAssignmentCreateOrUpdate.
func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignmentDelete ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignmentDelete(arg0 interface{}) *gomock.Call
TeamProjectAssignmentDelete indicates an expected call of TeamProjectAssignmentDelete.
func (*MockApiClientInterfaceMockRecorder) TeamProjectAssignments ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamProjectAssignments(arg0 interface{}) *gomock.Call
TeamProjectAssignments indicates an expected call of TeamProjectAssignments.
func (*MockApiClientInterfaceMockRecorder) TeamUpdate ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) TeamUpdate(arg0, arg1 interface{}) *gomock.Call
TeamUpdate indicates an expected call of TeamUpdate.
func (*MockApiClientInterfaceMockRecorder) Teams ¶ added in v0.0.13
func (mr *MockApiClientInterfaceMockRecorder) Teams() *gomock.Call
Teams indicates an expected call of Teams.
func (*MockApiClientInterfaceMockRecorder) Template ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) Template(arg0 interface{}) *gomock.Call
Template indicates an expected call of Template.
func (*MockApiClientInterfaceMockRecorder) TemplateCreate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) TemplateCreate(arg0 interface{}) *gomock.Call
TemplateCreate indicates an expected call of TemplateCreate.
func (*MockApiClientInterfaceMockRecorder) TemplateDelete ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) TemplateDelete(arg0 interface{}) *gomock.Call
TemplateDelete indicates an expected call of TemplateDelete.
func (*MockApiClientInterfaceMockRecorder) TemplateUpdate ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) TemplateUpdate(arg0, arg1 interface{}) *gomock.Call
TemplateUpdate indicates an expected call of TemplateUpdate.
func (*MockApiClientInterfaceMockRecorder) Templates ¶ added in v0.0.6
func (mr *MockApiClientInterfaceMockRecorder) Templates() *gomock.Call
Templates indicates an expected call of Templates.
type Organization ¶
type Project ¶
type Project struct { IsArchived bool `json:"isArchived"` OrganizationId string `json:"organizationId"` UpdatedAt string `json:"updatedAt"` CreatedAt string `json:"createdAt"` Id string `json:"id"` Name string `json:"name"` CreatedBy string `json:"createdBy"` Role string `json:"role"` CreatedByUser User `json:"createdByUser"` Description string `json:"description"` }
type ProjectCreatePayload ¶ added in v0.0.7
type SshKey ¶
type SshKey struct { User User `json:"user"` UserId string `json:"userId"` CreatedAt string `json:"createdAt"` UpdatedAt string `json:"updatedAt"` Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` OrganizationId string `json:"organizationId"` Value string `json:"value"` }
type SshKeyCreatePayload ¶
type TeamCreatePayload ¶ added in v0.0.13
type TeamProjectAssignment ¶ added in v0.0.13
type TeamProjectAssignmentPayload ¶ added in v0.0.13
type TeamUpdatePayload ¶ added in v0.0.13
type Template ¶
type Template struct { Author User `json:"author"` AuthorId string `json:"authorId"` CreatedAt string `json:"createdAt"` Href string `json:"href"` Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` OrganizationId string `json:"organizationId"` Path string `json:"path"` Revision string `json:"revision"` ProjectId string `json:"projectId"` ProjectIds []string `json:"projectIds"` Repository string `json:"repository"` Retry TemplateRetry `json:"retry"` SshKeys []TemplateSshKey `json:"sshKeys"` Type string `json:"type"` GithubInstallationId int `json:"githubInstallationId"` TokenId string `json:"tokenId,omitempty"` GitlabProjectId int `json:"gitlabProjectId,omitempty"` UpdatedAt string `json:"updatedAt"` TerraformVersion string `json:"terraformVersion"` }
type TemplateAssignmentToProject ¶ added in v0.0.6
type TemplateAssignmentToProjectPayload ¶ added in v0.0.6
type TemplateAssignmentToProjectPayload struct {
ProjectId string `json:"projectId"`
}
type TemplateCreatePayload ¶
type TemplateCreatePayload struct { Retry TemplateRetry `json:"retry"` SshKeys []TemplateSshKey `json:"sshKeys,omitempty"` Type TemplateType `json:"type"` Description string `json:"description"` Name string `json:"name"` Repository string `json:"repository"` Path string `json:"path"` IsGitLab bool `json:"isGitLab"` TokenName string `json:"tokenName"` TokenId string `json:"tokenId,omitempty"` GithubInstallationId int `json:"githubInstallationId,omitempty"` GitlabProjectId int `json:"gitlabProjectId,omitempty"` Revision string `json:"revision"` OrganizationId string `json:"organizationId"` TerraformVersion string `json:"terraformVersion"` }
type TemplateRetry ¶
type TemplateRetry struct { OnDeploy *TemplateRetryOn `json:"onDeploy"` OnDestroy *TemplateRetryOn `json:"onDestroy"` }
type TemplateRetryOn ¶
type TemplateSshKey ¶
type TemplateType ¶
type TemplateType string
const ( TemplateTypeTerraform TemplateType = "terraform" TemplateTypeTerragrunt TemplateType = "terragrunt" )
type User ¶
type User struct { CreatedAt string `json:"created_at"` Email string `json:"email"` FamilyName string `json:"family_name"` GivenName string `json:"given_name"` Name string `json:"name"` Picture string `json:"picture"` UserId string `json:"user_id"` LastLogin string `json:"last_login"` AppMetadata map[string]interface{} `json:"app_metadata"` }