Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
Mock stands for a mocked context.
func NewMockDefault ¶
func NewMockDefault() *Mock
NewMockDefault returns an instance of Mock with default expectations set.
func NewMockDefaultWithConfig ¶
func NewMockDefaultWithConfig(config appconfig.SsmagentConfig) *Mock
func NewMockDefaultWithContext ¶
NewMockDefaultWithContext returns an instance of Mock with specified context.
func NewMockDefaultWithOwnLogMock ¶
NewMockDefaultWithOwnLogMock returns an instance of Mock with own log.
func (*Mock) AppConfig ¶
func (m *Mock) AppConfig() appconfig.SsmagentConfig
AppConfig mocks the Config function.
func (*Mock) AppConstants ¶
func (m *Mock) AppConstants() *appconfig.AppConstants
AppConstants mocks the AppConstatns function.
func (*Mock) CurrentContext ¶
CurrentContext mocks the CurrentContext function.
func (*Mock) Identity ¶
func (m *Mock) Identity() identity.IAgentIdentity
Identity mocks the Identity function.
Click to show internal directories.
Click to hide internal directories.