diff --git a/mocks/project_mocks.go b/mocks/project_mocks.go index 593c588e2..f6bc62656 100644 --- a/mocks/project_mocks.go +++ b/mocks/project_mocks.go @@ -40,6 +40,21 @@ func (m *MockProjects) EXPECT() *MockProjectsMockRecorder { return m.recorder } +// AddTagBindings mocks base method. +func (m *MockProjects) AddTagBindings(ctx context.Context, projectID string, options tfe.ProjectAddTagBindingsOptions) ([]*tfe.TagBinding, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "AddTagBindings", ctx, projectID, options) + ret0, _ := ret[0].([]*tfe.TagBinding) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// AddTagBindings indicates an expected call of AddTagBindings. +func (mr *MockProjectsMockRecorder) AddTagBindings(ctx, projectID, options any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddTagBindings", reflect.TypeOf((*MockProjects)(nil).AddTagBindings), ctx, projectID, options) +} + // Create mocks base method. func (m *MockProjects) Create(ctx context.Context, organization string, options tfe.ProjectCreateOptions) (*tfe.Project, error) { m.ctrl.T.Helper() diff --git a/mocks/workspace_mocks.go b/mocks/workspace_mocks.go index 9645b3378..57fdd01e4 100644 --- a/mocks/workspace_mocks.go +++ b/mocks/workspace_mocks.go @@ -55,6 +55,21 @@ func (mr *MockWorkspacesMockRecorder) AddRemoteStateConsumers(ctx, workspaceID, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddRemoteStateConsumers", reflect.TypeOf((*MockWorkspaces)(nil).AddRemoteStateConsumers), ctx, workspaceID, options) } +// AddTagBindings mocks base method. +func (m *MockWorkspaces) AddTagBindings(ctx context.Context, workspaceID string, options tfe.WorkspaceAddTagBindingsOptions) ([]*tfe.TagBinding, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "AddTagBindings", ctx, workspaceID, options) + ret0, _ := ret[0].([]*tfe.TagBinding) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// AddTagBindings indicates an expected call of AddTagBindings. +func (mr *MockWorkspacesMockRecorder) AddTagBindings(ctx, workspaceID, options any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddTagBindings", reflect.TypeOf((*MockWorkspaces)(nil).AddTagBindings), ctx, workspaceID, options) +} + // AddTags mocks base method. func (m *MockWorkspaces) AddTags(ctx context.Context, workspaceID string, options tfe.WorkspaceAddTagsOptions) error { m.ctrl.T.Helper()