Versions in this module Expand all Collapse all v0 v0.18.0 Apr 6, 2018 v0.17.0 Nov 30, 2017 Changes in this version + func RegisterObjectStoreHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterObjectStoreHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ObjectStoreClient) error + func RegisterObjectStoreHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterObjectStoreServer(s *grpc.Server, srv ObjectStoreServer) + type CreateReply struct + Id string + Location string + Name string + func (*CreateReply) Descriptor() ([]byte, []int) + func (*CreateReply) ProtoMessage() + func (m *CreateReply) GetId() string + func (m *CreateReply) GetLocation() string + func (m *CreateReply) GetName() string + func (m *CreateReply) Reset() + func (m *CreateReply) String() string + type CreateRequest struct + Acl string + Name string + func (*CreateRequest) Descriptor() ([]byte, []int) + func (*CreateRequest) ProtoMessage() + func (m *CreateRequest) GetAcl() string + func (m *CreateRequest) GetName() string + func (m *CreateRequest) Reset() + func (m *CreateRequest) String() string + type ForgetReply struct + Name string + func (*ForgetReply) Descriptor() ([]byte, []int) + func (*ForgetReply) ProtoMessage() + func (m *ForgetReply) GetName() string + func (m *ForgetReply) Reset() + func (m *ForgetReply) String() string + type ForgetRequest struct + Name string + func (*ForgetRequest) Descriptor() ([]byte, []int) + func (*ForgetRequest) ProtoMessage() + func (m *ForgetRequest) GetName() string + func (m *ForgetRequest) Reset() + func (m *ForgetRequest) String() string + type ListReply struct + Entries []*ObjectStoreEntry + func (*ListReply) Descriptor() ([]byte, []int) + func (*ListReply) ProtoMessage() + func (m *ListReply) GetEntries() []*ObjectStoreEntry + func (m *ListReply) Reset() + func (m *ListReply) String() string + type ListRequest struct + func (*ListRequest) Descriptor() ([]byte, []int) + func (*ListRequest) ProtoMessage() + func (m *ListRequest) Reset() + func (m *ListRequest) String() string + type ObjectStoreClient interface + Create func(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateReply, error) + Forget func(ctx context.Context, in *ForgetRequest, opts ...grpc.CallOption) (*ForgetReply, error) + List func(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListReply, error) + Remove func(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveReply, error) + func NewObjectStoreClient(cc *grpc.ClientConn) ObjectStoreClient + type ObjectStoreEntry struct + Acl string + Missing bool + ObjectStore *object_stores.ObjectStore + Region string + func (*ObjectStoreEntry) Descriptor() ([]byte, []int) + func (*ObjectStoreEntry) ProtoMessage() + func (m *ObjectStoreEntry) GetAcl() string + func (m *ObjectStoreEntry) GetMissing() bool + func (m *ObjectStoreEntry) GetObjectStore() *object_stores.ObjectStore + func (m *ObjectStoreEntry) GetRegion() string + func (m *ObjectStoreEntry) Reset() + func (m *ObjectStoreEntry) String() string + type ObjectStoreServer interface + Create func(context.Context, *CreateRequest) (*CreateReply, error) + Forget func(context.Context, *ForgetRequest) (*ForgetReply, error) + List func(context.Context, *ListRequest) (*ListReply, error) + Remove func(context.Context, *RemoveRequest) (*RemoveReply, error) + type RemoveReply struct + Name string + func (*RemoveReply) Descriptor() ([]byte, []int) + func (*RemoveReply) ProtoMessage() + func (m *RemoveReply) GetName() string + func (m *RemoveReply) Reset() + func (m *RemoveReply) String() string + type RemoveRequest struct + Force bool + Name string + func (*RemoveRequest) Descriptor() ([]byte, []int) + func (*RemoveRequest) ProtoMessage() + func (m *RemoveRequest) GetForce() bool + func (m *RemoveRequest) GetName() string + func (m *RemoveRequest) Reset() + func (m *RemoveRequest) String() string + type Server struct + Accounts accounts.Interface + ObjectStores object_stores.Interface + Provider cloud.Provider + Region string + func (s *Server) Create(ctx context.Context, in *CreateRequest) (*CreateReply, error) + func (s *Server) Forget(ctx context.Context, in *ForgetRequest) (*ForgetReply, error) + func (s *Server) List(ctx context.Context, in *ListRequest) (*ListReply, error) + func (s *Server) Remove(ctx context.Context, in *RemoveRequest) (*RemoveReply, error)