Documentation ¶
Index ¶
- type ProcessorBuilder
- func (p *ProcessorBuilder) ProcessorForBucketListing(ctx context.Context) (...)
- func (p *ProcessorBuilder) ProcessorForCalculating(ctx context.Context) (...)
- func (p *ProcessorBuilder) ProcessorForCompliance(ctx context.Context) (...)
- func (p *ProcessorBuilder) ProcessorForConfigRegions(ctx context.Context) (...)
- func (p *ProcessorBuilder) ProcessorForConfigStorageClasses(ctx context.Context) (...)
- func (p *ProcessorBuilder) ProcessorForCreating(ctx context.Context) (...)
- func (p *ProcessorBuilder) ProcessorForDatasetListing(ctx context.Context) (...)
- func (p *ProcessorBuilder) ProcessorForGetting(ctx context.Context) (processor.Operation[requestobjects.GetRequest, requestobjects.BackupResponse], ...)
- func (p *ProcessorBuilder) ProcessorForListing(ctx context.Context) (...)
- func (p *ProcessorBuilder) ProcessorForRestoring(ctx context.Context) (...)
- func (p *ProcessorBuilder) ProcessorForSourceProjectGet(ctx context.Context) (...)
- func (p *ProcessorBuilder) ProcessorForTrashcanCleanUp(ctx context.Context) (...)
- func (p *ProcessorBuilder) ProcessorForUpdating(ctx context.Context) (...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessorBuilder ¶
type ProcessorBuilder struct {
// contains filtered or unexported fields
}
ProcessorBuilder is responsible for creating Operations for each request type
func NewProcessorBuilder ¶
func NewProcessorBuilder( creatingProcessorFactory processor.CreatingProcessorFactory, gettingProcessorFactory processor.GettingProcessorFactory, listingProcessorFactory processor.ListingProcessorFactory, updatingProcessorFactory processor.UpdatingProcessorFactory, restoringProcessorFactory processor.RestoringProcessorFactory, calculatingProcessorFactory processor.CalculatingProcessorFactory, complianceProcessorFactory processor.ComplianceProcessorFactory, bucketListingProcessorFactory processor.BucketListingProcessorFactory, datasetListingProcessorFactory processor.DatasetListingProcessorFactory, configRegionsProcessorFactory processor.ConfigRegionsProcessorFactory, configStorageClassesProcessorFactory processor.ConfigStorageClassesProcessorFactory, sourceProjectGetProcessorFactory processor.SourceProjectGetProcessorFactory, trashcanCleanUpProcessorFactory processor.TrashcanCleanUpProcessorFactory) *ProcessorBuilder
NewProcessorBuilder created a new ProcessorBuilder
func (*ProcessorBuilder) ProcessorForBucketListing ¶ added in v1.4.0
func (p *ProcessorBuilder) ProcessorForBucketListing(ctx context.Context) (processor.Operation[requestobjects.BucketListRequest, requestobjects.BucketListResponse], error)
func (*ProcessorBuilder) ProcessorForCalculating ¶ added in v1.4.2
func (p *ProcessorBuilder) ProcessorForCalculating(ctx context.Context) (processor.Operation[requestobjects.CalculateRequest, requestobjects.CalculatedResponse], error)
func (*ProcessorBuilder) ProcessorForCompliance ¶ added in v1.4.0
func (p *ProcessorBuilder) ProcessorForCompliance(ctx context.Context) (processor.Operation[requestobjects.ComplianceRequest, requestobjects.ComplianceResponse], error)
func (*ProcessorBuilder) ProcessorForConfigRegions ¶ added in v1.4.0
func (p *ProcessorBuilder) ProcessorForConfigRegions(ctx context.Context) (processor.Operation[requestobjects.EmptyRequest, requestobjects.RegionsListResponse], error)
func (*ProcessorBuilder) ProcessorForConfigStorageClasses ¶ added in v1.4.0
func (p *ProcessorBuilder) ProcessorForConfigStorageClasses(ctx context.Context) (processor.Operation[requestobjects.EmptyRequest, requestobjects.StorageClassListResponse], error)
func (*ProcessorBuilder) ProcessorForCreating ¶ added in v1.4.0
func (p *ProcessorBuilder) ProcessorForCreating(ctx context.Context) (processor.Operation[requestobjects.CreateRequest, requestobjects.BackupResponse], error)
func (*ProcessorBuilder) ProcessorForDatasetListing ¶ added in v1.4.0
func (p *ProcessorBuilder) ProcessorForDatasetListing(ctx context.Context) (processor.Operation[requestobjects.DatasetListRequest, requestobjects.DatasetListResponse], error)
func (*ProcessorBuilder) ProcessorForGetting ¶ added in v1.4.0
func (p *ProcessorBuilder) ProcessorForGetting(ctx context.Context) (processor.Operation[requestobjects.GetRequest, requestobjects.BackupResponse], error)
func (*ProcessorBuilder) ProcessorForListing ¶ added in v1.4.0
func (p *ProcessorBuilder) ProcessorForListing(ctx context.Context) (processor.Operation[requestobjects.ListRequest, requestobjects.ListingResponse], error)
func (*ProcessorBuilder) ProcessorForRestoring ¶ added in v1.4.0
func (p *ProcessorBuilder) ProcessorForRestoring(ctx context.Context) (processor.Operation[requestobjects.RestoreRequest, requestobjects.RestoreResponse], error)
func (*ProcessorBuilder) ProcessorForSourceProjectGet ¶ added in v1.4.2
func (p *ProcessorBuilder) ProcessorForSourceProjectGet(ctx context.Context) (processor.Operation[requestobjects.SourceProjectGetRequest, requestobjects.SourceProjectGetResponse], error)
func (*ProcessorBuilder) ProcessorForTrashcanCleanUp ¶ added in v1.5.1
func (p *ProcessorBuilder) ProcessorForTrashcanCleanUp(ctx context.Context) (processor.Operation[requestobjects.TrashcanCleanUpRequest, requestobjects.TrashcanCleanUpResponse], error)
func (*ProcessorBuilder) ProcessorForUpdating ¶ added in v1.4.0
func (p *ProcessorBuilder) ProcessorForUpdating(ctx context.Context) (processor.Operation[requestobjects.UpdateRequest, requestobjects.UpdateResponse], error)
Click to show internal directories.
Click to hide internal directories.