You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/vendor/github.com/yandex-cloud/go-sdk/gen/operation/operation_group.go

25 lines
581 B

// Code generated by sdkgen. DO NOT EDIT.
package operation
import (
"context"
"google.golang.org/grpc"
)
// Operation provides access to "operation" component of Yandex.Cloud
type Operation struct {
getConn func(ctx context.Context) (*grpc.ClientConn, error)
}
// NewOperation creates instance of Operation
func NewOperation(g func(ctx context.Context) (*grpc.ClientConn, error)) *Operation {
return &Operation{g}
}
// Operation gets OperationService client
func (o *Operation) Operation() *OperationServiceClient {
return &OperationServiceClient{getConn: o.getConn}
}