Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileClient ¶
type FileClient struct {
// contains filtered or unexported fields
}
func (*FileClient) GetAllInstances ¶
func (c *FileClient) GetAllInstances() ([]ers.Instance, error)
func (*FileClient) GetInstanceById ¶
func (c *FileClient) GetInstanceById(id string) (*ers.Instance, error)
type InitialFetcher ¶
type InitialFetcher struct {
// contains filtered or unexported fields
}
func (InitialFetcher) GetAllInstances ¶
func (e InitialFetcher) GetAllInstances() ([]ers.Instance, error)
func (InitialFetcher) GetInstanceById ¶
func (e InitialFetcher) GetInstanceById(id string) (*ers.Instance, error)
type InstanceFetcher ¶
type InstanceFetcher interface { GetAllInstances() ([]ers.Instance, error) GetInstanceById(id string) (*ers.Instance, error) }
func NewFileClient ¶
func NewFileClient(filename string) InstanceFetcher
func NewInitialFetcher ¶
func NewInitialFetcher(client client.Client, pageStart, pageSize, pageLimit int) InstanceFetcher
Click to show internal directories.
Click to hide internal directories.