go: cloud.google.com/go/storage/internal/benchwrapper/proto Index | Files

package storage_bench

import "cloud.google.com/go/storage/internal/benchwrapper/proto"

Index

Package Files

storage.pb.go

func RegisterStorageBenchWrapperServer Uses

func RegisterStorageBenchWrapperServer(s *grpc.Server, srv StorageBenchWrapperServer)

type EmptyResponse Uses

type EmptyResponse struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*EmptyResponse) Descriptor Uses

func (*EmptyResponse) Descriptor() ([]byte, []int)

func (*EmptyResponse) ProtoMessage Uses

func (*EmptyResponse) ProtoMessage()

func (*EmptyResponse) Reset Uses

func (m *EmptyResponse) Reset()

func (*EmptyResponse) String Uses

func (m *EmptyResponse) String() string

func (*EmptyResponse) XXX_DiscardUnknown Uses

func (m *EmptyResponse) XXX_DiscardUnknown()

func (*EmptyResponse) XXX_Marshal Uses

func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmptyResponse) XXX_Merge Uses

func (m *EmptyResponse) XXX_Merge(src proto.Message)

func (*EmptyResponse) XXX_Size Uses

func (m *EmptyResponse) XXX_Size() int

func (*EmptyResponse) XXX_Unmarshal Uses

func (m *EmptyResponse) XXX_Unmarshal(b []byte) error

type ObjectRead Uses

type ObjectRead struct {
    // The bucket string identifier.
    BucketName string `protobuf:"bytes,1,opt,name=bucketName,proto3" json:"bucketName,omitempty"`
    // The object/blob string identifier.
    ObjectName           string   `protobuf:"bytes,2,opt,name=objectName,proto3" json:"objectName,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ObjectRead) Descriptor Uses

func (*ObjectRead) Descriptor() ([]byte, []int)

func (*ObjectRead) GetBucketName Uses

func (m *ObjectRead) GetBucketName() string

func (*ObjectRead) GetObjectName Uses

func (m *ObjectRead) GetObjectName() string

func (*ObjectRead) ProtoMessage Uses

func (*ObjectRead) ProtoMessage()

func (*ObjectRead) Reset Uses

func (m *ObjectRead) Reset()

func (*ObjectRead) String Uses

func (m *ObjectRead) String() string

func (*ObjectRead) XXX_DiscardUnknown Uses

func (m *ObjectRead) XXX_DiscardUnknown()

func (*ObjectRead) XXX_Marshal Uses

func (m *ObjectRead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectRead) XXX_Merge Uses

func (m *ObjectRead) XXX_Merge(src proto.Message)

func (*ObjectRead) XXX_Size Uses

func (m *ObjectRead) XXX_Size() int

func (*ObjectRead) XXX_Unmarshal Uses

func (m *ObjectRead) XXX_Unmarshal(b []byte) error

type ObjectWrite Uses

type ObjectWrite struct {
    // The bucket string identifier.
    BucketName string `protobuf:"bytes,1,opt,name=bucketName,proto3" json:"bucketName,omitempty"`
    // The object/blob string identifiers.
    ObjectName string `protobuf:"bytes,2,opt,name=objectName,proto3" json:"objectName,omitempty"`
    // The string containing the destination path.
    Destination          string   `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ObjectWrite) Descriptor Uses

func (*ObjectWrite) Descriptor() ([]byte, []int)

func (*ObjectWrite) GetBucketName Uses

func (m *ObjectWrite) GetBucketName() string

func (*ObjectWrite) GetDestination Uses

func (m *ObjectWrite) GetDestination() string

func (*ObjectWrite) GetObjectName Uses

func (m *ObjectWrite) GetObjectName() string

func (*ObjectWrite) ProtoMessage Uses

func (*ObjectWrite) ProtoMessage()

func (*ObjectWrite) Reset Uses

func (m *ObjectWrite) Reset()

func (*ObjectWrite) String Uses

func (m *ObjectWrite) String() string

func (*ObjectWrite) XXX_DiscardUnknown Uses

func (m *ObjectWrite) XXX_DiscardUnknown()

func (*ObjectWrite) XXX_Marshal Uses

func (m *ObjectWrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectWrite) XXX_Merge Uses

func (m *ObjectWrite) XXX_Merge(src proto.Message)

func (*ObjectWrite) XXX_Size Uses

func (m *ObjectWrite) XXX_Size() int

func (*ObjectWrite) XXX_Unmarshal Uses

func (m *ObjectWrite) XXX_Unmarshal(b []byte) error

type StorageBenchWrapperClient Uses

type StorageBenchWrapperClient interface {
    // Performs an upload from a specific object.
    Write(ctx context.Context, in *ObjectWrite, opts ...grpc.CallOption) (*EmptyResponse, error)
    // Read a specific object.
    Read(ctx context.Context, in *ObjectRead, opts ...grpc.CallOption) (*EmptyResponse, error)
}

StorageBenchWrapperClient is the client API for StorageBenchWrapper service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewStorageBenchWrapperClient Uses

func NewStorageBenchWrapperClient(cc *grpc.ClientConn) StorageBenchWrapperClient

type StorageBenchWrapperServer Uses

type StorageBenchWrapperServer interface {
    // Performs an upload from a specific object.
    Write(context.Context, *ObjectWrite) (*EmptyResponse, error)
    // Read a specific object.
    Read(context.Context, *ObjectRead) (*EmptyResponse, error)
}

StorageBenchWrapperServer is the server API for StorageBenchWrapper service.

Package storage_bench imports 5 packages (graph) and is imported by 3 packages. Updated 2020-06-09. Refresh now. Tools for package owners.