Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { DeleteCalled bool DeleteErr error FetchCalled bool FetchErr error FetchSettings registry.AgentSettings UpdateCalled bool UpdateErr error UpdateSettings registry.AgentSettings }
FakeClient represents a Fake BOSH Registry Client.
func (*FakeClient) Delete ¶
func (c *FakeClient) Delete(instanceID string) error
Delete deletes the instance settings for a given instance ID.
func (*FakeClient) Fetch ¶
func (c *FakeClient) Fetch(instanceID string) (registry.AgentSettings, error)
Fetch gets the agent settings for a given instance ID.
func (*FakeClient) Update ¶
func (c *FakeClient) Update(instanceID string, agentSettings registry.AgentSettings) error
Update updates the agent settings for a given instance ID.
Click to show internal directories.
Click to hide internal directories.