Documentation
¶
Index ¶
- type Updater
- type Updater_Expecter
- type Updater_UpdateNamedEntity_Call
- func (_c *Updater_UpdateNamedEntity_Call) Return(_a0 error) *Updater_UpdateNamedEntity_Call
- func (_c *Updater_UpdateNamedEntity_Call) Run(run func(ctx context.Context, name string, project string, domain string, ...)) *Updater_UpdateNamedEntity_Call
- func (_c *Updater_UpdateNamedEntity_Call) RunAndReturn(...) *Updater_UpdateNamedEntity_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Updater ¶
Updater is an autogenerated mock type for the Updater type
func NewUpdater ¶ added in v0.9.5
NewUpdater creates a new instance of Updater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Updater) EXPECT ¶ added in v0.9.5
func (_m *Updater) EXPECT() *Updater_Expecter
func (*Updater) UpdateNamedEntity ¶
func (_m *Updater) UpdateNamedEntity(ctx context.Context, name string, project string, domain string, rsType core.ResourceType, cmdCtx cmdcore.CommandContext) error
UpdateNamedEntity provides a mock function with given fields: ctx, name, project, domain, rsType, cmdCtx
type Updater_Expecter ¶ added in v0.9.5
type Updater_Expecter struct {
// contains filtered or unexported fields
}
func (*Updater_Expecter) UpdateNamedEntity ¶ added in v0.9.5
func (_e *Updater_Expecter) UpdateNamedEntity(ctx interface{}, name interface{}, project interface{}, domain interface{}, rsType interface{}, cmdCtx interface{}) *Updater_UpdateNamedEntity_Call
UpdateNamedEntity is a helper method to define mock.On call
- ctx context.Context
- name string
- project string
- domain string
- rsType core.ResourceType
- cmdCtx cmdcore.CommandContext
type Updater_UpdateNamedEntity_Call ¶ added in v0.9.5
Updater_UpdateNamedEntity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateNamedEntity'
func (*Updater_UpdateNamedEntity_Call) Return ¶ added in v0.9.5
func (_c *Updater_UpdateNamedEntity_Call) Return(_a0 error) *Updater_UpdateNamedEntity_Call
func (*Updater_UpdateNamedEntity_Call) Run ¶ added in v0.9.5
func (_c *Updater_UpdateNamedEntity_Call) Run(run func(ctx context.Context, name string, project string, domain string, rsType core.ResourceType, cmdCtx cmdcore.CommandContext)) *Updater_UpdateNamedEntity_Call
func (*Updater_UpdateNamedEntity_Call) RunAndReturn ¶ added in v0.9.5
func (_c *Updater_UpdateNamedEntity_Call) RunAndReturn(run func(context.Context, string, string, string, core.ResourceType, cmdcore.CommandContext) error) *Updater_UpdateNamedEntity_Call
Click to show internal directories.
Click to hide internal directories.