Documentation
¶
Index ¶
- type ConfigurationVersions
- func (_m *ConfigurationVersions) Create(ctx context.Context, workspaceID string, ...) (*tfe.ConfigurationVersion, error)
- func (_m *ConfigurationVersions) List(ctx context.Context, workspaceID string, ...) (*tfe.ConfigurationVersionList, error)
- func (_m *ConfigurationVersions) Read(ctx context.Context, cvID string) (*tfe.ConfigurationVersion, error)
- func (_m *ConfigurationVersions) Upload(ctx context.Context, url string, path string) error
- type EventRecorder
- func (_m *EventRecorder) AnnotatedEventf(object runtime.Object, annotations map[string]string, eventtype string, ...)
- func (_m *EventRecorder) Event(object runtime.Object, eventtype string, reason string, message string)
- func (_m *EventRecorder) Eventf(object runtime.Object, eventtype string, reason string, messageFmt string, ...)
- type Organizations
- func (_m *Organizations) Capacity(ctx context.Context, organization string) (*tfe.Capacity, error)
- func (_m *Organizations) Create(ctx context.Context, options tfe.OrganizationCreateOptions) (*tfe.Organization, error)
- func (_m *Organizations) Delete(ctx context.Context, organization string) error
- func (_m *Organizations) Entitlements(ctx context.Context, organization string) (*tfe.Entitlements, error)
- func (_m *Organizations) List(ctx context.Context, options tfe.OrganizationListOptions) (*tfe.OrganizationList, error)
- func (_m *Organizations) Read(ctx context.Context, organization string) (*tfe.Organization, error)
- func (_m *Organizations) RunQueue(ctx context.Context, organization string, options tfe.RunQueueOptions) (*tfe.RunQueue, error)
- func (_m *Organizations) Update(ctx context.Context, organization string, ...) (*tfe.Organization, error)
- type Runs
- func (_m *Runs) Apply(ctx context.Context, runID string, options tfe.RunApplyOptions) error
- func (_m *Runs) Cancel(ctx context.Context, runID string, options tfe.RunCancelOptions) error
- func (_m *Runs) Create(ctx context.Context, options tfe.RunCreateOptions) (*tfe.Run, error)
- func (_m *Runs) Discard(ctx context.Context, runID string, options tfe.RunDiscardOptions) error
- func (_m *Runs) ForceCancel(ctx context.Context, runID string, options tfe.RunForceCancelOptions) error
- func (_m *Runs) List(ctx context.Context, workspaceID string, options tfe.RunListOptions) (*tfe.RunList, error)
- func (_m *Runs) Read(ctx context.Context, runID string) (*tfe.Run, error)
- type Variables
- func (_m *Variables) Create(ctx context.Context, workspaceID string, options tfe.VariableCreateOptions) (*tfe.Variable, error)
- func (_m *Variables) Delete(ctx context.Context, workspaceID string, variableID string) error
- func (_m *Variables) List(ctx context.Context, workspaceID string, options tfe.VariableListOptions) (*tfe.VariableList, error)
- func (_m *Variables) Read(ctx context.Context, workspaceID string, variableID string) (*tfe.Variable, error)
- func (_m *Variables) Update(ctx context.Context, workspaceID string, variableID string, ...) (*tfe.Variable, error)
- type Workspaces
- func (_m *Workspaces) AssignSSHKey(ctx context.Context, workspaceID string, ...) (*tfe.Workspace, error)
- func (_m *Workspaces) Create(ctx context.Context, organization string, options tfe.WorkspaceCreateOptions) (*tfe.Workspace, error)
- func (_m *Workspaces) Delete(ctx context.Context, organization string, _a2 string) error
- func (_m *Workspaces) DeleteByID(ctx context.Context, workspaceID string) error
- func (_m *Workspaces) ForceUnlock(ctx context.Context, workspaceID string) (*tfe.Workspace, error)
- func (_m *Workspaces) List(ctx context.Context, organization string, options tfe.WorkspaceListOptions) (*tfe.WorkspaceList, error)
- func (_m *Workspaces) Lock(ctx context.Context, workspaceID string, options tfe.WorkspaceLockOptions) (*tfe.Workspace, error)
- func (_m *Workspaces) Read(ctx context.Context, organization string, _a2 string) (*tfe.Workspace, error)
- func (_m *Workspaces) ReadByID(ctx context.Context, workspaceID string) (*tfe.Workspace, error)
- func (_m *Workspaces) RemoveVCSConnection(ctx context.Context, organization string, _a2 string) (*tfe.Workspace, error)
- func (_m *Workspaces) RemoveVCSConnectionByID(ctx context.Context, workspaceID string) (*tfe.Workspace, error)
- func (_m *Workspaces) UnassignSSHKey(ctx context.Context, workspaceID string) (*tfe.Workspace, error)
- func (_m *Workspaces) Unlock(ctx context.Context, workspaceID string) (*tfe.Workspace, error)
- func (_m *Workspaces) Update(ctx context.Context, organization string, _a2 string, ...) (*tfe.Workspace, error)
- func (_m *Workspaces) UpdateByID(ctx context.Context, workspaceID string, options tfe.WorkspaceUpdateOptions) (*tfe.Workspace, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationVersions ¶
ConfigurationVersions is an autogenerated mock type for the ConfigurationVersions type
func (*ConfigurationVersions) Create ¶
func (_m *ConfigurationVersions) Create(ctx context.Context, workspaceID string, options tfe.ConfigurationVersionCreateOptions) (*tfe.ConfigurationVersion, error)
Create provides a mock function with given fields: ctx, workspaceID, options
func (*ConfigurationVersions) List ¶
func (_m *ConfigurationVersions) List(ctx context.Context, workspaceID string, options tfe.ConfigurationVersionListOptions) (*tfe.ConfigurationVersionList, error)
List provides a mock function with given fields: ctx, workspaceID, options
func (*ConfigurationVersions) Read ¶
func (_m *ConfigurationVersions) Read(ctx context.Context, cvID string) (*tfe.ConfigurationVersion, error)
Read provides a mock function with given fields: ctx, cvID
type EventRecorder ¶
EventRecorder is an autogenerated mock type for the EventRecorder type
func (*EventRecorder) AnnotatedEventf ¶
func (_m *EventRecorder) AnnotatedEventf(object runtime.Object, annotations map[string]string, eventtype string, reason string, messageFmt string, args ...interface{})
AnnotatedEventf provides a mock function with given fields: object, annotations, eventtype, reason, messageFmt, args
type Organizations ¶
Organizations is an autogenerated mock type for the Organizations type
func (*Organizations) Capacity ¶
Capacity provides a mock function with given fields: ctx, organization
func (*Organizations) Create ¶
func (_m *Organizations) Create(ctx context.Context, options tfe.OrganizationCreateOptions) (*tfe.Organization, error)
Create provides a mock function with given fields: ctx, options
func (*Organizations) Delete ¶
func (_m *Organizations) Delete(ctx context.Context, organization string) error
Delete provides a mock function with given fields: ctx, organization
func (*Organizations) Entitlements ¶
func (_m *Organizations) Entitlements(ctx context.Context, organization string) (*tfe.Entitlements, error)
Entitlements provides a mock function with given fields: ctx, organization
func (*Organizations) List ¶
func (_m *Organizations) List(ctx context.Context, options tfe.OrganizationListOptions) (*tfe.OrganizationList, error)
List provides a mock function with given fields: ctx, options
func (*Organizations) Read ¶
func (_m *Organizations) Read(ctx context.Context, organization string) (*tfe.Organization, error)
Read provides a mock function with given fields: ctx, organization
func (*Organizations) RunQueue ¶
func (_m *Organizations) RunQueue(ctx context.Context, organization string, options tfe.RunQueueOptions) (*tfe.RunQueue, error)
RunQueue provides a mock function with given fields: ctx, organization, options
func (*Organizations) Update ¶
func (_m *Organizations) Update(ctx context.Context, organization string, options tfe.OrganizationUpdateOptions) (*tfe.Organization, error)
Update provides a mock function with given fields: ctx, organization, options
type Runs ¶
Runs is an autogenerated mock type for the Runs type
func (*Runs) ForceCancel ¶
func (_m *Runs) ForceCancel(ctx context.Context, runID string, options tfe.RunForceCancelOptions) error
ForceCancel provides a mock function with given fields: ctx, runID, options
type Variables ¶
Variables is an autogenerated mock type for the Variables type
func (*Variables) Create ¶
func (_m *Variables) Create(ctx context.Context, workspaceID string, options tfe.VariableCreateOptions) (*tfe.Variable, error)
Create provides a mock function with given fields: ctx, workspaceID, options
func (*Variables) Delete ¶
Delete provides a mock function with given fields: ctx, workspaceID, variableID
func (*Variables) List ¶
func (_m *Variables) List(ctx context.Context, workspaceID string, options tfe.VariableListOptions) (*tfe.VariableList, error)
List provides a mock function with given fields: ctx, workspaceID, options
type Workspaces ¶
Workspaces is an autogenerated mock type for the Workspaces type
func (*Workspaces) AssignSSHKey ¶
func (_m *Workspaces) AssignSSHKey(ctx context.Context, workspaceID string, options tfe.WorkspaceAssignSSHKeyOptions) (*tfe.Workspace, error)
AssignSSHKey provides a mock function with given fields: ctx, workspaceID, options
func (*Workspaces) Create ¶
func (_m *Workspaces) Create(ctx context.Context, organization string, options tfe.WorkspaceCreateOptions) (*tfe.Workspace, error)
Create provides a mock function with given fields: ctx, organization, options
func (*Workspaces) Delete ¶
Delete provides a mock function with given fields: ctx, organization, _a2
func (*Workspaces) DeleteByID ¶
func (_m *Workspaces) DeleteByID(ctx context.Context, workspaceID string) error
DeleteByID provides a mock function with given fields: ctx, workspaceID
func (*Workspaces) ForceUnlock ¶
ForceUnlock provides a mock function with given fields: ctx, workspaceID
func (*Workspaces) List ¶
func (_m *Workspaces) List(ctx context.Context, organization string, options tfe.WorkspaceListOptions) (*tfe.WorkspaceList, error)
List provides a mock function with given fields: ctx, organization, options
func (*Workspaces) Lock ¶
func (_m *Workspaces) Lock(ctx context.Context, workspaceID string, options tfe.WorkspaceLockOptions) (*tfe.Workspace, error)
Lock provides a mock function with given fields: ctx, workspaceID, options
func (*Workspaces) Read ¶
func (_m *Workspaces) Read(ctx context.Context, organization string, _a2 string) (*tfe.Workspace, error)
Read provides a mock function with given fields: ctx, organization, _a2
func (*Workspaces) RemoveVCSConnection ¶
func (_m *Workspaces) RemoveVCSConnection(ctx context.Context, organization string, _a2 string) (*tfe.Workspace, error)
RemoveVCSConnection provides a mock function with given fields: ctx, organization, _a2
func (*Workspaces) RemoveVCSConnectionByID ¶
func (_m *Workspaces) RemoveVCSConnectionByID(ctx context.Context, workspaceID string) (*tfe.Workspace, error)
RemoveVCSConnectionByID provides a mock function with given fields: ctx, workspaceID
func (*Workspaces) UnassignSSHKey ¶
func (_m *Workspaces) UnassignSSHKey(ctx context.Context, workspaceID string) (*tfe.Workspace, error)
UnassignSSHKey provides a mock function with given fields: ctx, workspaceID
func (*Workspaces) Update ¶
func (_m *Workspaces) Update(ctx context.Context, organization string, _a2 string, options tfe.WorkspaceUpdateOptions) (*tfe.Workspace, error)
Update provides a mock function with given fields: ctx, organization, _a2, options
func (*Workspaces) UpdateByID ¶
func (_m *Workspaces) UpdateByID(ctx context.Context, workspaceID string, options tfe.WorkspaceUpdateOptions) (*tfe.Workspace, error)
UpdateByID provides a mock function with given fields: ctx, workspaceID, options