Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct {
StorageServiceResult *client.StorageService
StorageServiceError error
}
func NewClient ¶
func NewClient() *FakeClient
func (*FakeClient) SetReleaseVersion ¶
func (c *FakeClient) SetReleaseVersion(v string) *FakeClient
func (*FakeClient) SetStorageServiceError ¶
func (c *FakeClient) SetStorageServiceError(e string) *FakeClient
func (*FakeClient) StorageService ¶
func (c *FakeClient) StorageService() (*client.StorageService, error)
type FakeNodeTool ¶
type FakeNodeTool struct {
StatusResult nodetool.NodeMap
StatusError error
VersionResult *version.Version
VersionError error
}
func New ¶
func New() *FakeNodeTool
func (*FakeNodeTool) SetVersion ¶
func (nt *FakeNodeTool) SetVersion(v string) *FakeNodeTool
func (*FakeNodeTool) SetVersionError ¶
func (nt *FakeNodeTool) SetVersionError(e string) *FakeNodeTool
Click to show internal directories.
Click to hide internal directories.