Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMockingArgs ¶
type ConfigMockingArgs struct { Config *prefabProto.Config ConfigKey string ConfigExists bool }
type ContextMocking ¶
type MockConfigStoreGetter ¶
func NewMockConfigStoreGetter ¶
func NewMockConfigStoreGetter(args []ConfigMockingArgs) *MockConfigStoreGetter
func (*MockConfigStoreGetter) GetConfig ¶
func (m *MockConfigStoreGetter) GetConfig(key string) (*prefabProto.Config, bool)
func (*MockConfigStoreGetter) GetContextValue ¶ added in v0.0.4
func (m *MockConfigStoreGetter) GetContextValue(propertyName string) (interface{}, bool)
func (*MockConfigStoreGetter) GetProjectEnvID ¶ added in v0.0.4
func (m *MockConfigStoreGetter) GetProjectEnvID() int64
func (*MockConfigStoreGetter) Keys ¶ added in v0.0.4
func (m *MockConfigStoreGetter) Keys() []string
type MockContextGetter ¶
func NewMockContext ¶
func NewMockContext(contextPropertyName string, contextValue interface{}, contextExistsValue bool) *MockContextGetter
func NewMockContextWithMultipleValues ¶
func NewMockContextWithMultipleValues(mockings []ContextMocking) *MockContextGetter
func (*MockContextGetter) GetContextValue ¶
func (m *MockContextGetter) GetContextValue(propertyName string) (interface{}, bool)
type MockProjectEnvIDSupplier ¶
func NewMockProjectEnvIDSupplier ¶
func NewMockProjectEnvIDSupplier(envID int64) *MockProjectEnvIDSupplier
func (*MockProjectEnvIDSupplier) GetProjectEnvID ¶
func (m *MockProjectEnvIDSupplier) GetProjectEnvID() int64
Click to show internal directories.
Click to hide internal directories.