Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter contains times from/to filter records.
type Preparer ¶
Preparer to prepare virtual machine data to specific structure for writing to Goat server.
func CreatePreparer ¶
CreatePreparer creates Preparer for virtual machine records.
func (*Preparer) Finish ¶
func (p *Preparer) Finish()
Finish gets to know to the Goat server that a writing is finished and a response is expected. Then, it closes the gRPC connection.
func (*Preparer) InitializeMaps ¶
InitializeMaps reads additional data for virtual machine record.
func (*Preparer) Preparation ¶
Preparation prepares virtual machine data for writing and call method to write.
func (*Preparer) SendIdentifier ¶
SendIdentifier sends identifier to Goat server.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor to process virtual machine data.
func CreateProcessor ¶
CreateProcessor creates processor with reader.
func (*Processor) Process ¶
func (p *Processor) Process(read chan resource.Resource, readDone chan bool, swg *sizedwaitgroup.SizedWaitGroup)
Process provides listing of the virtual machines with pagination.
type Writer ¶
type Writer struct { Stream pb.AccountingService_ProcessVmsClient // contains filtered or unexported fields }
Writer structure to write virtual machine data to Goat server.
func CreateWriter ¶
CreateWriter creates Writer for virtual machine data.
func (*Writer) Close ¶
Close gets to know to the goat server that a writing is finished and a response is expected.
func (*Writer) SendIdentifier ¶
SendIdentifier sends identifier to Goat server.
func (*Writer) SetUp ¶
func (w *Writer) SetUp(conn *grpc.ClientConn)
SetUp creates gRPC client and sets up Stream to process virtual machines to Writer.