Documentation ¶
Overview ¶
nolint
nolint
Index ¶
- type DataTransfer
- type EndpointIterator
- type EndpointServiceClient
- func (c *EndpointServiceClient) Create(ctx context.Context, in *datatransfer.CreateEndpointRequest, ...) (*operation.Operation, error)
- func (c *EndpointServiceClient) Delete(ctx context.Context, in *datatransfer.DeleteEndpointRequest, ...) (*operation.Operation, error)
- func (c *EndpointServiceClient) EndpointIterator(ctx context.Context, req *datatransfer.ListEndpointsRequest, ...) *EndpointIterator
- func (c *EndpointServiceClient) Get(ctx context.Context, in *datatransfer.GetEndpointRequest, ...) (*datatransfer.Endpoint, error)
- func (c *EndpointServiceClient) List(ctx context.Context, in *datatransfer.ListEndpointsRequest, ...) (*datatransfer.ListEndpointsResponse, error)
- func (c *EndpointServiceClient) Update(ctx context.Context, in *datatransfer.UpdateEndpointRequest, ...) (*operation.Operation, error)
- type TransferIterator
- type TransferServiceClient
- func (c *TransferServiceClient) Activate(ctx context.Context, in *datatransfer.ActivateTransferRequest, ...) (*operation.Operation, error)
- func (c *TransferServiceClient) Create(ctx context.Context, in *datatransfer.CreateTransferRequest, ...) (*operation.Operation, error)
- func (c *TransferServiceClient) Deactivate(ctx context.Context, in *datatransfer.DeactivateTransferRequest, ...) (*operation.Operation, error)
- func (c *TransferServiceClient) Delete(ctx context.Context, in *datatransfer.DeleteTransferRequest, ...) (*operation.Operation, error)
- func (c *TransferServiceClient) Get(ctx context.Context, in *datatransfer.GetTransferRequest, ...) (*datatransfer.Transfer, error)
- func (c *TransferServiceClient) List(ctx context.Context, in *datatransfer.ListTransfersRequest, ...) (*datatransfer.ListTransfersResponse, error)
- func (c *TransferServiceClient) TransferIterator(ctx context.Context, req *datatransfer.ListTransfersRequest, ...) *TransferIterator
- func (c *TransferServiceClient) Update(ctx context.Context, in *datatransfer.UpdateTransferRequest, ...) (*operation.Operation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataTransfer ¶
type DataTransfer struct {
// contains filtered or unexported fields
}
DataTransfer provides access to "datatransfer" component of Yandex.Cloud
func NewDataTransfer ¶
func NewDataTransfer(g func(ctx context.Context) (*grpc.ClientConn, error)) *DataTransfer
NewDataTransfer creates instance of DataTransfer
func (*DataTransfer) Endpoint ¶
func (d *DataTransfer) Endpoint() *EndpointServiceClient
Endpoint gets EndpointService client
func (*DataTransfer) Transfer ¶
func (d *DataTransfer) Transfer() *TransferServiceClient
Transfer gets TransferService client
type EndpointIterator ¶
type EndpointIterator struct {
// contains filtered or unexported fields
}
func (*EndpointIterator) Error ¶
func (it *EndpointIterator) Error() error
func (*EndpointIterator) Next ¶
func (it *EndpointIterator) Next() bool
func (*EndpointIterator) Take ¶
func (it *EndpointIterator) Take(size int64) ([]*datatransfer.Endpoint, error)
func (*EndpointIterator) TakeAll ¶
func (it *EndpointIterator) TakeAll() ([]*datatransfer.Endpoint, error)
func (*EndpointIterator) Value ¶
func (it *EndpointIterator) Value() *datatransfer.Endpoint
type EndpointServiceClient ¶
type EndpointServiceClient struct {
// contains filtered or unexported fields
}
EndpointServiceClient is a datatransfer.EndpointServiceClient with lazy GRPC connection initialization.
func (*EndpointServiceClient) Create ¶
func (c *EndpointServiceClient) Create(ctx context.Context, in *datatransfer.CreateEndpointRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements datatransfer.EndpointServiceClient
func (*EndpointServiceClient) Delete ¶
func (c *EndpointServiceClient) Delete(ctx context.Context, in *datatransfer.DeleteEndpointRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements datatransfer.EndpointServiceClient
func (*EndpointServiceClient) EndpointIterator ¶
func (c *EndpointServiceClient) EndpointIterator(ctx context.Context, req *datatransfer.ListEndpointsRequest, opts ...grpc.CallOption) *EndpointIterator
func (*EndpointServiceClient) Get ¶
func (c *EndpointServiceClient) Get(ctx context.Context, in *datatransfer.GetEndpointRequest, opts ...grpc.CallOption) (*datatransfer.Endpoint, error)
Get implements datatransfer.EndpointServiceClient
func (*EndpointServiceClient) List ¶
func (c *EndpointServiceClient) List(ctx context.Context, in *datatransfer.ListEndpointsRequest, opts ...grpc.CallOption) (*datatransfer.ListEndpointsResponse, error)
List implements datatransfer.EndpointServiceClient
func (*EndpointServiceClient) Update ¶
func (c *EndpointServiceClient) Update(ctx context.Context, in *datatransfer.UpdateEndpointRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements datatransfer.EndpointServiceClient
type TransferIterator ¶
type TransferIterator struct {
// contains filtered or unexported fields
}
func (*TransferIterator) Error ¶
func (it *TransferIterator) Error() error
func (*TransferIterator) Next ¶
func (it *TransferIterator) Next() bool
func (*TransferIterator) Take ¶
func (it *TransferIterator) Take(size int64) ([]*datatransfer.Transfer, error)
func (*TransferIterator) TakeAll ¶
func (it *TransferIterator) TakeAll() ([]*datatransfer.Transfer, error)
func (*TransferIterator) Value ¶
func (it *TransferIterator) Value() *datatransfer.Transfer
type TransferServiceClient ¶
type TransferServiceClient struct {
// contains filtered or unexported fields
}
TransferServiceClient is a datatransfer.TransferServiceClient with lazy GRPC connection initialization.
func (*TransferServiceClient) Activate ¶
func (c *TransferServiceClient) Activate(ctx context.Context, in *datatransfer.ActivateTransferRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Activate implements datatransfer.TransferServiceClient
func (*TransferServiceClient) Create ¶
func (c *TransferServiceClient) Create(ctx context.Context, in *datatransfer.CreateTransferRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Create implements datatransfer.TransferServiceClient
func (*TransferServiceClient) Deactivate ¶
func (c *TransferServiceClient) Deactivate(ctx context.Context, in *datatransfer.DeactivateTransferRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Deactivate implements datatransfer.TransferServiceClient
func (*TransferServiceClient) Delete ¶
func (c *TransferServiceClient) Delete(ctx context.Context, in *datatransfer.DeleteTransferRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Delete implements datatransfer.TransferServiceClient
func (*TransferServiceClient) Get ¶
func (c *TransferServiceClient) Get(ctx context.Context, in *datatransfer.GetTransferRequest, opts ...grpc.CallOption) (*datatransfer.Transfer, error)
Get implements datatransfer.TransferServiceClient
func (*TransferServiceClient) List ¶
func (c *TransferServiceClient) List(ctx context.Context, in *datatransfer.ListTransfersRequest, opts ...grpc.CallOption) (*datatransfer.ListTransfersResponse, error)
List implements datatransfer.TransferServiceClient
func (*TransferServiceClient) TransferIterator ¶
func (c *TransferServiceClient) TransferIterator(ctx context.Context, req *datatransfer.ListTransfersRequest, opts ...grpc.CallOption) *TransferIterator
func (*TransferServiceClient) Update ¶
func (c *TransferServiceClient) Update(ctx context.Context, in *datatransfer.UpdateTransferRequest, opts ...grpc.CallOption) (*operation.Operation, error)
Update implements datatransfer.TransferServiceClient