Documentation ¶
Index ¶
- Variables
- func RegisterHyperServiceServer(s *grpc.Server, srv HyperServiceServer)
- type DeleteReply
- func (*DeleteReply) Descriptor() ([]byte, []int)
- func (m *DeleteReply) GetDeleted() int64
- func (*DeleteReply) ProtoMessage()
- func (m *DeleteReply) Reset()
- func (m *DeleteReply) String() string
- func (m *DeleteReply) XXX_DiscardUnknown()
- func (m *DeleteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteReply) XXX_Merge(src proto.Message)
- func (m *DeleteReply) XXX_Size() int
- func (m *DeleteReply) XXX_Unmarshal(b []byte) error
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)
- func (*DeleteRequest) ProtoMessage()
- func (m *DeleteRequest) Reset()
- func (m *DeleteRequest) String() string
- func (m *DeleteRequest) XXX_DiscardUnknown()
- func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRequest) XXX_Size() int
- func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
- type GetReply
- func (*GetReply) Descriptor() ([]byte, []int)
- func (m *GetReply) GetHyper() *Hyper
- func (*GetReply) ProtoMessage()
- func (m *GetReply) Reset()
- func (m *GetReply) String() string
- func (m *GetReply) XXX_DiscardUnknown()
- func (m *GetReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetReply) XXX_Merge(src proto.Message)
- func (m *GetReply) XXX_Size() int
- func (m *GetReply) XXX_Unmarshal(b []byte) error
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (m *GetRequest) GetId() int32
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type Hyper
- func (*Hyper) Descriptor() ([]byte, []int)
- func (m *Hyper) GetDuration() int64
- func (m *Hyper) GetHostname() string
- func (m *Hyper) GetId() int32
- func (m *Hyper) GetParentid() int32
- func (m *Hyper) GetStatus() string
- func (*Hyper) ProtoMessage()
- func (m *Hyper) Reset()
- func (m *Hyper) String() string
- func (m *Hyper) XXX_DiscardUnknown()
- func (m *Hyper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Hyper) XXX_Merge(src proto.Message)
- func (m *Hyper) XXX_Size() int
- func (m *Hyper) XXX_Unmarshal(b []byte) error
- type HyperServiceClient
- type HyperServiceServer
- type HyperService_ListClient
- type HyperService_ListServer
- type Kind
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)
- func (m *ListRequest) GetKind() Kind
- func (m *ListRequest) GetParentid() int32
- func (m *ListRequest) GetStatus() string
- func (m *ListRequest) GetUnscoped() bool
- func (*ListRequest) ProtoMessage()
- func (m *ListRequest) Reset()
- func (m *ListRequest) String() string
- func (m *ListRequest) XXX_DiscardUnknown()
- func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRequest) XXX_Merge(src proto.Message)
- func (m *ListRequest) XXX_Size() int
- func (m *ListRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedHyperServiceServer
- func (*UnimplementedHyperServiceServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteReply, error)
- func (*UnimplementedHyperServiceServer) Get(ctx context.Context, req *GetRequest) (*GetReply, error)
- func (*UnimplementedHyperServiceServer) List(req *ListRequest, srv HyperService_ListServer) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Kind_name = map[int32]string{
0: "all",
1: "hyper",
2: "agent",
}
View Source
var Kind_value = map[string]int32{
"all": 0,
"hyper": 1,
"agent": 2,
}
Functions ¶
func RegisterHyperServiceServer ¶
func RegisterHyperServiceServer(s *grpc.Server, srv HyperServiceServer)
Types ¶
type DeleteReply ¶
type DeleteReply struct { Deleted int64 `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteReply) Descriptor ¶
func (*DeleteReply) Descriptor() ([]byte, []int)
func (*DeleteReply) GetDeleted ¶
func (m *DeleteReply) GetDeleted() int64
func (*DeleteReply) ProtoMessage ¶
func (*DeleteReply) ProtoMessage()
func (*DeleteReply) Reset ¶
func (m *DeleteReply) Reset()
func (*DeleteReply) String ¶
func (m *DeleteReply) String() string
func (*DeleteReply) XXX_DiscardUnknown ¶
func (m *DeleteReply) XXX_DiscardUnknown()
func (*DeleteReply) XXX_Marshal ¶
func (m *DeleteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteReply) XXX_Merge ¶
func (m *DeleteReply) XXX_Merge(src proto.Message)
func (*DeleteReply) XXX_Size ¶
func (m *DeleteReply) XXX_Size() int
func (*DeleteReply) XXX_Unmarshal ¶
func (m *DeleteReply) XXX_Unmarshal(b []byte) error
type DeleteRequest ¶
type DeleteRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteRequest) Descriptor ¶
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) Reset ¶
func (m *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (m *DeleteRequest) String() string
func (*DeleteRequest) XXX_DiscardUnknown ¶
func (m *DeleteRequest) XXX_DiscardUnknown()
func (*DeleteRequest) XXX_Marshal ¶
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRequest) XXX_Merge ¶
func (m *DeleteRequest) XXX_Merge(src proto.Message)
func (*DeleteRequest) XXX_Size ¶
func (m *DeleteRequest) XXX_Size() int
func (*DeleteRequest) XXX_Unmarshal ¶
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
type GetReply ¶
type GetReply struct { Hyper *Hyper `protobuf:"bytes,1,opt,name=hyper,proto3" json:"hyper,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetReply) Descriptor ¶
func (*GetReply) ProtoMessage ¶
func (*GetReply) ProtoMessage()
func (*GetReply) XXX_DiscardUnknown ¶
func (m *GetReply) XXX_DiscardUnknown()
func (*GetReply) XXX_Marshal ¶
func (*GetReply) XXX_Unmarshal ¶
type GetRequest ¶
type GetRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) GetId ¶
func (m *GetRequest) GetId() int32
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) String ¶
func (m *GetRequest) String() string
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (m *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type Hyper ¶
type Hyper struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` Parentid int32 `protobuf:"varint,5,opt,name=parentid,proto3" json:"parentid,omitempty"` Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Hyper) Descriptor ¶
func (*Hyper) GetDuration ¶
func (*Hyper) GetHostname ¶
func (*Hyper) GetParentid ¶
func (*Hyper) ProtoMessage ¶
func (*Hyper) ProtoMessage()
func (*Hyper) XXX_DiscardUnknown ¶
func (m *Hyper) XXX_DiscardUnknown()
func (*Hyper) XXX_Marshal ¶
func (*Hyper) XXX_Unmarshal ¶
type HyperServiceClient ¶
type HyperServiceClient interface { Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteReply, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetReply, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (HyperService_ListClient, error) }
HyperServiceClient is the client API for HyperService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHyperServiceClient ¶
func NewHyperServiceClient(cc *grpc.ClientConn) HyperServiceClient
type HyperServiceServer ¶
type HyperServiceServer interface { Delete(context.Context, *DeleteRequest) (*DeleteReply, error) Get(context.Context, *GetRequest) (*GetReply, error) List(*ListRequest, HyperService_ListServer) error }
HyperServiceServer is the server API for HyperService service.
type HyperService_ListClient ¶
type HyperService_ListClient interface { Recv() (*Hyper, error) grpc.ClientStream }
type HyperService_ListServer ¶
type HyperService_ListServer interface { Send(*Hyper) error grpc.ServerStream }
type ListRequest ¶
type ListRequest struct { Parentid int32 `protobuf:"varint,1,opt,name=parentid,proto3" json:"parentid,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Kind Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=com.ibm.cloudland.hypers.Kind" json:"kind,omitempty"` Unscoped bool `protobuf:"varint,4,opt,name=unscoped,proto3" json:"unscoped,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRequest) Descriptor ¶
func (*ListRequest) Descriptor() ([]byte, []int)
func (*ListRequest) GetKind ¶
func (m *ListRequest) GetKind() Kind
func (*ListRequest) GetParentid ¶
func (m *ListRequest) GetParentid() int32
func (*ListRequest) GetStatus ¶
func (m *ListRequest) GetStatus() string
func (*ListRequest) GetUnscoped ¶
func (m *ListRequest) GetUnscoped() bool
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) Reset ¶
func (m *ListRequest) Reset()
func (*ListRequest) String ¶
func (m *ListRequest) String() string
func (*ListRequest) XXX_DiscardUnknown ¶
func (m *ListRequest) XXX_DiscardUnknown()
func (*ListRequest) XXX_Marshal ¶
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRequest) XXX_Merge ¶
func (m *ListRequest) XXX_Merge(src proto.Message)
func (*ListRequest) XXX_Size ¶
func (m *ListRequest) XXX_Size() int
func (*ListRequest) XXX_Unmarshal ¶
func (m *ListRequest) XXX_Unmarshal(b []byte) error
type UnimplementedHyperServiceServer ¶
type UnimplementedHyperServiceServer struct { }
UnimplementedHyperServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedHyperServiceServer) Delete ¶
func (*UnimplementedHyperServiceServer) Delete(ctx context.Context, req *DeleteRequest) (*DeleteReply, error)
func (*UnimplementedHyperServiceServer) Get ¶
func (*UnimplementedHyperServiceServer) Get(ctx context.Context, req *GetRequest) (*GetReply, error)
func (*UnimplementedHyperServiceServer) List ¶
func (*UnimplementedHyperServiceServer) List(req *ListRequest, srv HyperService_ListServer) error
Click to show internal directories.
Click to hide internal directories.