Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAliases
- func (m *MockAliases) Create(ctx context.Context, registry, key, kind string, value interface{}, ...) (*entities0.Alias, error)
- func (m *MockAliases) Delete(ctx context.Context, registry, key string, userInfo *entities.UserInfo) error
- func (m *MockAliases) EXPECT() *MockAliasesMockRecorder
- func (m *MockAliases) Get(ctx context.Context, registry, key string, userInfo *entities.UserInfo) (*entities0.Alias, error)
- func (m *MockAliases) Parse(alias string) (string, string, bool)
- func (m *MockAliases) Replace(ctx context.Context, addrs []string, userInfo *entities.UserInfo) ([]string, error)
- func (m *MockAliases) ReplaceSimple(ctx context.Context, addr string, userInfo *entities.UserInfo) (string, error)
- func (m *MockAliases) Update(ctx context.Context, registry, key, kind string, value interface{}, ...) (*entities0.Alias, error)
- type MockAliasesMockRecorder
- func (mr *MockAliasesMockRecorder) Create(ctx, registry, key, kind, value, userInfo interface{}) *gomock.Call
- func (mr *MockAliasesMockRecorder) Delete(ctx, registry, key, userInfo interface{}) *gomock.Call
- func (mr *MockAliasesMockRecorder) Get(ctx, registry, key, userInfo interface{}) *gomock.Call
- func (mr *MockAliasesMockRecorder) Parse(alias interface{}) *gomock.Call
- func (mr *MockAliasesMockRecorder) Replace(ctx, addrs, userInfo interface{}) *gomock.Call
- func (mr *MockAliasesMockRecorder) ReplaceSimple(ctx, addr, userInfo interface{}) *gomock.Call
- func (mr *MockAliasesMockRecorder) Update(ctx, registry, key, kind, value, userInfo interface{}) *gomock.Call
- type MockRegistries
- func (m *MockRegistries) Create(ctx context.Context, name string, allowedTenants []string, ...) (*entities0.AliasRegistry, error)
- func (m *MockRegistries) Delete(ctx context.Context, name string, userInfo *entities.UserInfo) error
- func (m *MockRegistries) EXPECT() *MockRegistriesMockRecorder
- func (m *MockRegistries) Get(ctx context.Context, name string, userInfo *entities.UserInfo) (*entities0.AliasRegistry, error)
- type MockRegistriesMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAliases ¶
type MockAliases struct {
// contains filtered or unexported fields
}
MockAliases is a mock of Aliases interface
func NewMockAliases ¶
func NewMockAliases(ctrl *gomock.Controller) *MockAliases
NewMockAliases creates a new mock instance
func (*MockAliases) Create ¶
func (m *MockAliases) Create(ctx context.Context, registry, key, kind string, value interface{}, userInfo *entities.UserInfo) (*entities0.Alias, error)
Create mocks base method
func (*MockAliases) Delete ¶
func (m *MockAliases) Delete(ctx context.Context, registry, key string, userInfo *entities.UserInfo) error
Delete mocks base method
func (*MockAliases) EXPECT ¶
func (m *MockAliases) EXPECT() *MockAliasesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAliases) Get ¶
func (m *MockAliases) Get(ctx context.Context, registry, key string, userInfo *entities.UserInfo) (*entities0.Alias, error)
Get mocks base method
func (*MockAliases) Parse ¶
func (m *MockAliases) Parse(alias string) (string, string, bool)
Parse mocks base method
func (*MockAliases) Replace ¶
func (m *MockAliases) Replace(ctx context.Context, addrs []string, userInfo *entities.UserInfo) ([]string, error)
Replace mocks base method
func (*MockAliases) ReplaceSimple ¶
func (m *MockAliases) ReplaceSimple(ctx context.Context, addr string, userInfo *entities.UserInfo) (string, error)
ReplaceSimple mocks base method
type MockAliasesMockRecorder ¶
type MockAliasesMockRecorder struct {
// contains filtered or unexported fields
}
MockAliasesMockRecorder is the mock recorder for MockAliases
func (*MockAliasesMockRecorder) Create ¶
func (mr *MockAliasesMockRecorder) Create(ctx, registry, key, kind, value, userInfo interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockAliasesMockRecorder) Delete ¶
func (mr *MockAliasesMockRecorder) Delete(ctx, registry, key, userInfo interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockAliasesMockRecorder) Get ¶
func (mr *MockAliasesMockRecorder) Get(ctx, registry, key, userInfo interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockAliasesMockRecorder) Parse ¶
func (mr *MockAliasesMockRecorder) Parse(alias interface{}) *gomock.Call
Parse indicates an expected call of Parse
func (*MockAliasesMockRecorder) Replace ¶
func (mr *MockAliasesMockRecorder) Replace(ctx, addrs, userInfo interface{}) *gomock.Call
Replace indicates an expected call of Replace
func (*MockAliasesMockRecorder) ReplaceSimple ¶
func (mr *MockAliasesMockRecorder) ReplaceSimple(ctx, addr, userInfo interface{}) *gomock.Call
ReplaceSimple indicates an expected call of ReplaceSimple
func (*MockAliasesMockRecorder) Update ¶
func (mr *MockAliasesMockRecorder) Update(ctx, registry, key, kind, value, userInfo interface{}) *gomock.Call
Update indicates an expected call of Update
type MockRegistries ¶
type MockRegistries struct {
// contains filtered or unexported fields
}
MockRegistries is a mock of Registries interface
func NewMockRegistries ¶
func NewMockRegistries(ctrl *gomock.Controller) *MockRegistries
NewMockRegistries creates a new mock instance
func (*MockRegistries) Create ¶
func (m *MockRegistries) Create(ctx context.Context, name string, allowedTenants []string, userInfo *entities.UserInfo) (*entities0.AliasRegistry, error)
Create mocks base method
func (*MockRegistries) Delete ¶
func (m *MockRegistries) Delete(ctx context.Context, name string, userInfo *entities.UserInfo) error
Delete mocks base method
func (*MockRegistries) EXPECT ¶
func (m *MockRegistries) EXPECT() *MockRegistriesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRegistriesMockRecorder ¶
type MockRegistriesMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistriesMockRecorder is the mock recorder for MockRegistries
func (*MockRegistriesMockRecorder) Create ¶
func (mr *MockRegistriesMockRecorder) Create(ctx, name, allowedTenants, userInfo interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockRegistriesMockRecorder) Delete ¶
func (mr *MockRegistriesMockRecorder) Delete(ctx, name, userInfo interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockRegistriesMockRecorder) Get ¶
func (mr *MockRegistriesMockRecorder) Get(ctx, name, userInfo interface{}) *gomock.Call
Get indicates an expected call of Get