Documentation ¶
Index ¶
- func RegisterRecorderServer(s *grpc.Server, srv RecorderServer)
- type Input
- func (*Input) Descriptor() ([]byte, []int)
- func (m *Input) GetRescUri() string
- func (m *Input) GetUser() string
- func (*Input) ProtoMessage()
- func (m *Input) Reset()
- func (m *Input) String() string
- func (m *Input) XXX_DiscardUnknown()
- func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Input) XXX_Merge(src proto.Message)
- func (m *Input) XXX_Size() int
- func (m *Input) XXX_Unmarshal(b []byte) error
- type Output
- func (*Output) Descriptor() ([]byte, []int)
- func (m *Output) GetId() int64
- func (m *Output) GetPerms() *Perms
- func (m *Output) GetResc() *Resource
- func (m *Output) GetUser() *User
- func (*Output) ProtoMessage()
- func (m *Output) Reset()
- func (m *Output) String() string
- func (m *Output) XXX_DiscardUnknown()
- func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Output) XXX_Merge(src proto.Message)
- func (m *Output) XXX_Size() int
- func (m *Output) XXX_Unmarshal(b []byte) error
- type Perms
- func (*Perms) Descriptor() ([]byte, []int)
- func (m *Perms) GetExec() bool
- func (m *Perms) GetRead() bool
- func (m *Perms) GetWrite() bool
- func (*Perms) ProtoMessage()
- func (m *Perms) Reset()
- func (m *Perms) String() string
- func (m *Perms) XXX_DiscardUnknown()
- func (m *Perms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Perms) XXX_Merge(src proto.Message)
- func (m *Perms) XXX_Size() int
- func (m *Perms) XXX_Unmarshal(b []byte) error
- type RecorderClient
- type RecorderServer
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)
- func (m *Resource) GetPayload() []byte
- func (m *Resource) GetType() string
- func (m *Resource) GetUri() string
- func (*Resource) ProtoMessage()
- func (m *Resource) Reset()
- func (m *Resource) String() string
- func (m *Resource) XXX_DiscardUnknown()
- func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Resource) XXX_Merge(src proto.Message)
- func (m *Resource) XXX_Size() int
- func (m *Resource) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetFirst() string
- func (m *User) GetId() int64
- func (m *User) GetLast() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRecorderServer ¶
func RegisterRecorderServer(s *grpc.Server, srv RecorderServer)
Types ¶
type Input ¶
type Input struct { User *string `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"` RescUri *string `protobuf:"bytes,2,opt,name=resc_uri,json=rescUri" json:"resc_uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Input) Descriptor ¶
func (*Input) GetRescUri ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) XXX_DiscardUnknown ¶
func (m *Input) XXX_DiscardUnknown()
func (*Input) XXX_Marshal ¶
func (*Input) XXX_Unmarshal ¶
type Output ¶
type Output struct { Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"` Resc *Resource `protobuf:"bytes,3,opt,name=resc" json:"resc,omitempty"` Perms *Perms `protobuf:"bytes,4,opt,name=perms" json:"perms,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Output is the standard name for a Cog's output.
func (*Output) Descriptor ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) XXX_DiscardUnknown ¶
func (m *Output) XXX_DiscardUnknown()
func (*Output) XXX_Marshal ¶
func (*Output) XXX_Unmarshal ¶
type Perms ¶
type Perms struct { Read *bool `protobuf:"varint,1,opt,name=read" json:"read,omitempty"` Write *bool `protobuf:"varint,2,opt,name=write" json:"write,omitempty"` Exec *bool `protobuf:"varint,3,opt,name=exec" json:"exec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Perms) Descriptor ¶
func (*Perms) ProtoMessage ¶
func (*Perms) ProtoMessage()
func (*Perms) XXX_DiscardUnknown ¶
func (m *Perms) XXX_DiscardUnknown()
func (*Perms) XXX_Marshal ¶
func (*Perms) XXX_Unmarshal ¶
type RecorderClient ¶
type RecorderClient interface {
Record(ctx context.Context, in *Input, opts ...grpc.CallOption) (*Output, error)
}
RecorderClient is the client API for Recorder service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRecorderClient ¶
func NewRecorderClient(cc *grpc.ClientConn) RecorderClient
type RecorderServer ¶
RecorderServer is the server API for Recorder service.
type Resource ¶
type Resource struct { Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` Uri *string `protobuf:"bytes,2,opt,name=uri" json:"uri,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Resource) Descriptor ¶
func (*Resource) GetPayload ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) XXX_DiscardUnknown ¶
func (m *Resource) XXX_DiscardUnknown()
func (*Resource) XXX_Marshal ¶
func (*Resource) XXX_Unmarshal ¶
type User ¶
type User struct { First *string `protobuf:"bytes,1,opt,name=first" json:"first,omitempty"` Last *string `protobuf:"bytes,2,opt,name=last" json:"last,omitempty"` Id *int64 `protobuf:"varint,3,opt,name=id" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.