mirror of
https://github.com/zitadel/zitadel.git
synced 2025-07-16 03:28:36 +00:00

This PR summarizes multiple changes specifically only available with ZITADEL v3: - feat: Web Keys management (https://github.com/zitadel/zitadel/pull/9526) - fix(cmd): ensure proper working of mirror (https://github.com/zitadel/zitadel/pull/9509) - feat(Authz): system user support for permission check v2 (https://github.com/zitadel/zitadel/pull/9640) - chore(license): change from Apache to AGPL (https://github.com/zitadel/zitadel/pull/9597) - feat(console): list v2 sessions (https://github.com/zitadel/zitadel/pull/9539) - fix(console): add loginV2 feature flag (https://github.com/zitadel/zitadel/pull/9682) - fix(feature flags): allow reading "own" flags (https://github.com/zitadel/zitadel/pull/9649) - feat(console): add Actions V2 UI (https://github.com/zitadel/zitadel/pull/9591) BREAKING CHANGE - feat(webkey): migrate to v2beta API (https://github.com/zitadel/zitadel/pull/9445) - chore!: remove CockroachDB Support (https://github.com/zitadel/zitadel/pull/9444) - feat(actions): migrate to v2beta API (https://github.com/zitadel/zitadel/pull/9489) --------- Co-authored-by: Livio Spring <livio.a@gmail.com> Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com> Co-authored-by: Silvan <27845747+adlerhurst@users.noreply.github.com> Co-authored-by: Ramon <mail@conblem.me> Co-authored-by: Elio Bischof <elio@zitadel.com> Co-authored-by: Kenta Yamaguchi <56732734+KEY60228@users.noreply.github.com> Co-authored-by: Harsha Reddy <harsha.reddy@klaviyo.com> Co-authored-by: Livio Spring <livio@zitadel.com> Co-authored-by: Max Peintner <max@caos.ch> Co-authored-by: Iraq <66622793+kkrime@users.noreply.github.com> Co-authored-by: Florian Forster <florian@zitadel.com> Co-authored-by: Tim Möhlmann <tim+github@zitadel.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Max Peintner <peintnerm@gmail.com>
73 lines
2.4 KiB
Go
73 lines
2.4 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: github.com/zitadel/zitadel/internal/execution (interfaces: Queries)
|
|
//
|
|
// Generated by this command:
|
|
//
|
|
// mockgen -package mock -destination ./mock/queries.mock.go github.com/zitadel/zitadel/internal/execution Queries
|
|
//
|
|
|
|
// Package mock is a generated GoMock package.
|
|
package mock
|
|
|
|
import (
|
|
context "context"
|
|
reflect "reflect"
|
|
|
|
authz "github.com/zitadel/zitadel/internal/api/authz"
|
|
query "github.com/zitadel/zitadel/internal/query"
|
|
gomock "go.uber.org/mock/gomock"
|
|
)
|
|
|
|
// MockQueries is a mock of Queries interface.
|
|
type MockQueries struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockQueriesMockRecorder
|
|
}
|
|
|
|
// MockQueriesMockRecorder is the mock recorder for MockQueries.
|
|
type MockQueriesMockRecorder struct {
|
|
mock *MockQueries
|
|
}
|
|
|
|
// NewMockQueries creates a new mock instance.
|
|
func NewMockQueries(ctrl *gomock.Controller) *MockQueries {
|
|
mock := &MockQueries{ctrl: ctrl}
|
|
mock.recorder = &MockQueriesMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockQueries) EXPECT() *MockQueriesMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// InstanceByID mocks base method.
|
|
func (m *MockQueries) InstanceByID(arg0 context.Context, arg1 string) (authz.Instance, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "InstanceByID", arg0, arg1)
|
|
ret0, _ := ret[0].(authz.Instance)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// InstanceByID indicates an expected call of InstanceByID.
|
|
func (mr *MockQueriesMockRecorder) InstanceByID(arg0, arg1 any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InstanceByID", reflect.TypeOf((*MockQueries)(nil).InstanceByID), arg0, arg1)
|
|
}
|
|
|
|
// TargetsByExecutionID mocks base method.
|
|
func (m *MockQueries) TargetsByExecutionID(arg0 context.Context, arg1 []string) ([]*query.ExecutionTarget, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "TargetsByExecutionID", arg0, arg1)
|
|
ret0, _ := ret[0].([]*query.ExecutionTarget)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// TargetsByExecutionID indicates an expected call of TargetsByExecutionID.
|
|
func (mr *MockQueriesMockRecorder) TargetsByExecutionID(arg0, arg1 any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TargetsByExecutionID", reflect.TypeOf((*MockQueries)(nil).TargetsByExecutionID), arg0, arg1)
|
|
}
|