Documentation
¶
Index ¶
- Variables
- func RegisterMeshServiceServer(s *grpc.Server, srv MeshServiceServer)
- type ApplyRuleRequest
- func (*ApplyRuleRequest) Descriptor() ([]byte, []int)
- func (m *ApplyRuleRequest) GetCustomBody() string
- func (m *ApplyRuleRequest) GetDeleteOp() bool
- func (m *ApplyRuleRequest) GetNamespace() string
- func (m *ApplyRuleRequest) GetOpName() string
- func (m *ApplyRuleRequest) GetUsername() string
- func (*ApplyRuleRequest) ProtoMessage()
- func (m *ApplyRuleRequest) Reset()
- func (m *ApplyRuleRequest) String() string
- func (m *ApplyRuleRequest) XXX_DiscardUnknown()
- func (m *ApplyRuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ApplyRuleRequest) XXX_Merge(src proto.Message)
- func (m *ApplyRuleRequest) XXX_Size() int
- func (m *ApplyRuleRequest) XXX_Unmarshal(b []byte) error
- type ApplyRuleResponse
- func (*ApplyRuleResponse) Descriptor() ([]byte, []int)
- func (m *ApplyRuleResponse) GetError() string
- func (*ApplyRuleResponse) ProtoMessage()
- func (m *ApplyRuleResponse) Reset()
- func (m *ApplyRuleResponse) String() string
- func (m *ApplyRuleResponse) XXX_DiscardUnknown()
- func (m *ApplyRuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ApplyRuleResponse) XXX_Merge(src proto.Message)
- func (m *ApplyRuleResponse) XXX_Size() int
- func (m *ApplyRuleResponse) XXX_Unmarshal(b []byte) error
- type CreateMeshInstanceRequest
- func (*CreateMeshInstanceRequest) Descriptor() ([]byte, []int)
- func (m *CreateMeshInstanceRequest) GetContextName() string
- func (m *CreateMeshInstanceRequest) GetK8SConfig() []byte
- func (*CreateMeshInstanceRequest) ProtoMessage()
- func (m *CreateMeshInstanceRequest) Reset()
- func (m *CreateMeshInstanceRequest) String() string
- func (m *CreateMeshInstanceRequest) XXX_DiscardUnknown()
- func (m *CreateMeshInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateMeshInstanceRequest) XXX_Merge(src proto.Message)
- func (m *CreateMeshInstanceRequest) XXX_Size() int
- func (m *CreateMeshInstanceRequest) XXX_Unmarshal(b []byte) error
- type CreateMeshInstanceResponse
- func (*CreateMeshInstanceResponse) Descriptor() ([]byte, []int)
- func (*CreateMeshInstanceResponse) ProtoMessage()
- func (m *CreateMeshInstanceResponse) Reset()
- func (m *CreateMeshInstanceResponse) String() string
- func (m *CreateMeshInstanceResponse) XXX_DiscardUnknown()
- func (m *CreateMeshInstanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateMeshInstanceResponse) XXX_Merge(src proto.Message)
- func (m *CreateMeshInstanceResponse) XXX_Size() int
- func (m *CreateMeshInstanceResponse) XXX_Unmarshal(b []byte) error
- type EventType
- type EventsRequest
- func (*EventsRequest) Descriptor() ([]byte, []int)
- func (*EventsRequest) ProtoMessage()
- func (m *EventsRequest) Reset()
- func (m *EventsRequest) String() string
- func (m *EventsRequest) XXX_DiscardUnknown()
- func (m *EventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EventsRequest) XXX_Merge(src proto.Message)
- func (m *EventsRequest) XXX_Size() int
- func (m *EventsRequest) XXX_Unmarshal(b []byte) error
- type EventsResponse
- func (*EventsResponse) Descriptor() ([]byte, []int)
- func (m *EventsResponse) GetDetails() string
- func (m *EventsResponse) GetEventType() EventType
- func (m *EventsResponse) GetSummary() string
- func (*EventsResponse) ProtoMessage()
- func (m *EventsResponse) Reset()
- func (m *EventsResponse) String() string
- func (m *EventsResponse) XXX_DiscardUnknown()
- func (m *EventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EventsResponse) XXX_Merge(src proto.Message)
- func (m *EventsResponse) XXX_Size() int
- func (m *EventsResponse) XXX_Unmarshal(b []byte) error
- type MeshClient
- type MeshNameRequest
- func (*MeshNameRequest) Descriptor() ([]byte, []int)
- func (*MeshNameRequest) ProtoMessage()
- func (m *MeshNameRequest) Reset()
- func (m *MeshNameRequest) String() string
- func (m *MeshNameRequest) XXX_DiscardUnknown()
- func (m *MeshNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MeshNameRequest) XXX_Merge(src proto.Message)
- func (m *MeshNameRequest) XXX_Size() int
- func (m *MeshNameRequest) XXX_Unmarshal(b []byte) error
- type MeshNameResponse
- func (*MeshNameResponse) Descriptor() ([]byte, []int)
- func (m *MeshNameResponse) GetName() string
- func (*MeshNameResponse) ProtoMessage()
- func (m *MeshNameResponse) Reset()
- func (m *MeshNameResponse) String() string
- func (m *MeshNameResponse) XXX_DiscardUnknown()
- func (m *MeshNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MeshNameResponse) XXX_Merge(src proto.Message)
- func (m *MeshNameResponse) XXX_Size() int
- func (m *MeshNameResponse) XXX_Unmarshal(b []byte) error
- type MeshServiceClient
- type MeshServiceServer
- type MeshService_StreamEventsClient
- type MeshService_StreamEventsServer
- type SupportedOperation
- func (*SupportedOperation) Descriptor() ([]byte, []int)
- func (m *SupportedOperation) GetKey() string
- func (m *SupportedOperation) GetValue() string
- func (*SupportedOperation) ProtoMessage()
- func (m *SupportedOperation) Reset()
- func (m *SupportedOperation) String() string
- func (m *SupportedOperation) XXX_DiscardUnknown()
- func (m *SupportedOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SupportedOperation) XXX_Merge(src proto.Message)
- func (m *SupportedOperation) XXX_Size() int
- func (m *SupportedOperation) XXX_Unmarshal(b []byte) error
- type SupportedOperationsRequest
- func (*SupportedOperationsRequest) Descriptor() ([]byte, []int)
- func (*SupportedOperationsRequest) ProtoMessage()
- func (m *SupportedOperationsRequest) Reset()
- func (m *SupportedOperationsRequest) String() string
- func (m *SupportedOperationsRequest) XXX_DiscardUnknown()
- func (m *SupportedOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SupportedOperationsRequest) XXX_Merge(src proto.Message)
- func (m *SupportedOperationsRequest) XXX_Size() int
- func (m *SupportedOperationsRequest) XXX_Unmarshal(b []byte) error
- type SupportedOperationsResponse
- func (*SupportedOperationsResponse) Descriptor() ([]byte, []int)
- func (m *SupportedOperationsResponse) GetError() string
- func (m *SupportedOperationsResponse) GetOps() map[string]string
- func (*SupportedOperationsResponse) ProtoMessage()
- func (m *SupportedOperationsResponse) Reset()
- func (m *SupportedOperationsResponse) String() string
- func (m *SupportedOperationsResponse) XXX_DiscardUnknown()
- func (m *SupportedOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SupportedOperationsResponse) XXX_Merge(src proto.Message)
- func (m *SupportedOperationsResponse) XXX_Size() int
- func (m *SupportedOperationsResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var EventType_name = map[int32]string{
0: "INFO",
1: "WARN",
2: "ERROR",
}
View Source
var EventType_value = map[string]int32{
"INFO": 0,
"WARN": 1,
"ERROR": 2,
}
Functions ¶
func RegisterMeshServiceServer ¶ added in v0.0.4
func RegisterMeshServiceServer(s *grpc.Server, srv MeshServiceServer)
Types ¶
type ApplyRuleRequest ¶ added in v0.0.4
type ApplyRuleRequest struct {
OpName string `protobuf:"bytes,1,opt,name=opName,proto3" json:"opName,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
CustomBody string `protobuf:"bytes,4,opt,name=custom_body,json=customBody,proto3" json:"custom_body,omitempty"`
DeleteOp bool `protobuf:"varint,5,opt,name=delete_op,json=deleteOp,proto3" json:"delete_op,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ApplyRuleRequest) Descriptor ¶ added in v0.0.4
func (*ApplyRuleRequest) Descriptor() ([]byte, []int)
func (*ApplyRuleRequest) GetCustomBody ¶ added in v0.0.4
func (m *ApplyRuleRequest) GetCustomBody() string
func (*ApplyRuleRequest) GetDeleteOp ¶ added in v0.0.4
func (m *ApplyRuleRequest) GetDeleteOp() bool
func (*ApplyRuleRequest) GetNamespace ¶ added in v0.0.4
func (m *ApplyRuleRequest) GetNamespace() string
func (*ApplyRuleRequest) GetOpName ¶ added in v0.0.4
func (m *ApplyRuleRequest) GetOpName() string
func (*ApplyRuleRequest) GetUsername ¶ added in v0.0.4
func (m *ApplyRuleRequest) GetUsername() string
func (*ApplyRuleRequest) ProtoMessage ¶ added in v0.0.4
func (*ApplyRuleRequest) ProtoMessage()
func (*ApplyRuleRequest) Reset ¶ added in v0.0.4
func (m *ApplyRuleRequest) Reset()
func (*ApplyRuleRequest) String ¶ added in v0.0.4
func (m *ApplyRuleRequest) String() string
func (*ApplyRuleRequest) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *ApplyRuleRequest) XXX_DiscardUnknown()
func (*ApplyRuleRequest) XXX_Marshal ¶ added in v0.0.4
func (m *ApplyRuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplyRuleRequest) XXX_Merge ¶ added in v0.0.4
func (dst *ApplyRuleRequest) XXX_Merge(src proto.Message)
func (*ApplyRuleRequest) XXX_Size ¶ added in v0.0.4
func (m *ApplyRuleRequest) XXX_Size() int
func (*ApplyRuleRequest) XXX_Unmarshal ¶ added in v0.0.4
func (m *ApplyRuleRequest) XXX_Unmarshal(b []byte) error
type ApplyRuleResponse ¶ added in v0.0.4
type ApplyRuleResponse struct {
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ApplyRuleResponse) Descriptor ¶ added in v0.0.4
func (*ApplyRuleResponse) Descriptor() ([]byte, []int)
func (*ApplyRuleResponse) GetError ¶ added in v0.0.4
func (m *ApplyRuleResponse) GetError() string
func (*ApplyRuleResponse) ProtoMessage ¶ added in v0.0.4
func (*ApplyRuleResponse) ProtoMessage()
func (*ApplyRuleResponse) Reset ¶ added in v0.0.4
func (m *ApplyRuleResponse) Reset()
func (*ApplyRuleResponse) String ¶ added in v0.0.4
func (m *ApplyRuleResponse) String() string
func (*ApplyRuleResponse) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *ApplyRuleResponse) XXX_DiscardUnknown()
func (*ApplyRuleResponse) XXX_Marshal ¶ added in v0.0.4
func (m *ApplyRuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplyRuleResponse) XXX_Merge ¶ added in v0.0.4
func (dst *ApplyRuleResponse) XXX_Merge(src proto.Message)
func (*ApplyRuleResponse) XXX_Size ¶ added in v0.0.4
func (m *ApplyRuleResponse) XXX_Size() int
func (*ApplyRuleResponse) XXX_Unmarshal ¶ added in v0.0.4
func (m *ApplyRuleResponse) XXX_Unmarshal(b []byte) error
type CreateMeshInstanceRequest ¶ added in v0.0.4
type CreateMeshInstanceRequest struct {
K8SConfig []byte `protobuf:"bytes,1,opt,name=k8sConfig,proto3" json:"k8sConfig,omitempty"`
ContextName string `protobuf:"bytes,2,opt,name=contextName,proto3" json:"contextName,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CreateMeshInstanceRequest) Descriptor ¶ added in v0.0.4
func (*CreateMeshInstanceRequest) Descriptor() ([]byte, []int)
func (*CreateMeshInstanceRequest) GetContextName ¶ added in v0.0.4
func (m *CreateMeshInstanceRequest) GetContextName() string
func (*CreateMeshInstanceRequest) GetK8SConfig ¶ added in v0.0.4
func (m *CreateMeshInstanceRequest) GetK8SConfig() []byte
func (*CreateMeshInstanceRequest) ProtoMessage ¶ added in v0.0.4
func (*CreateMeshInstanceRequest) ProtoMessage()
func (*CreateMeshInstanceRequest) Reset ¶ added in v0.0.4
func (m *CreateMeshInstanceRequest) Reset()
func (*CreateMeshInstanceRequest) String ¶ added in v0.0.4
func (m *CreateMeshInstanceRequest) String() string
func (*CreateMeshInstanceRequest) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *CreateMeshInstanceRequest) XXX_DiscardUnknown()
func (*CreateMeshInstanceRequest) XXX_Marshal ¶ added in v0.0.4
func (m *CreateMeshInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateMeshInstanceRequest) XXX_Merge ¶ added in v0.0.4
func (dst *CreateMeshInstanceRequest) XXX_Merge(src proto.Message)
func (*CreateMeshInstanceRequest) XXX_Size ¶ added in v0.0.4
func (m *CreateMeshInstanceRequest) XXX_Size() int
func (*CreateMeshInstanceRequest) XXX_Unmarshal ¶ added in v0.0.4
func (m *CreateMeshInstanceRequest) XXX_Unmarshal(b []byte) error
type CreateMeshInstanceResponse ¶ added in v0.0.4
type CreateMeshInstanceResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CreateMeshInstanceResponse) Descriptor ¶ added in v0.0.4
func (*CreateMeshInstanceResponse) Descriptor() ([]byte, []int)
func (*CreateMeshInstanceResponse) ProtoMessage ¶ added in v0.0.4
func (*CreateMeshInstanceResponse) ProtoMessage()
func (*CreateMeshInstanceResponse) Reset ¶ added in v0.0.4
func (m *CreateMeshInstanceResponse) Reset()
func (*CreateMeshInstanceResponse) String ¶ added in v0.0.4
func (m *CreateMeshInstanceResponse) String() string
func (*CreateMeshInstanceResponse) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *CreateMeshInstanceResponse) XXX_DiscardUnknown()
func (*CreateMeshInstanceResponse) XXX_Marshal ¶ added in v0.0.4
func (m *CreateMeshInstanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateMeshInstanceResponse) XXX_Merge ¶ added in v0.0.4
func (dst *CreateMeshInstanceResponse) XXX_Merge(src proto.Message)
func (*CreateMeshInstanceResponse) XXX_Size ¶ added in v0.0.4
func (m *CreateMeshInstanceResponse) XXX_Size() int
func (*CreateMeshInstanceResponse) XXX_Unmarshal ¶ added in v0.0.4
func (m *CreateMeshInstanceResponse) XXX_Unmarshal(b []byte) error
type EventType ¶ added in v0.0.6
type EventType int32
func (EventType) EnumDescriptor ¶ added in v0.0.6
type EventsRequest ¶ added in v0.0.6
type EventsRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*EventsRequest) Descriptor ¶ added in v0.0.6
func (*EventsRequest) Descriptor() ([]byte, []int)
func (*EventsRequest) ProtoMessage ¶ added in v0.0.6
func (*EventsRequest) ProtoMessage()
func (*EventsRequest) Reset ¶ added in v0.0.6
func (m *EventsRequest) Reset()
func (*EventsRequest) String ¶ added in v0.0.6
func (m *EventsRequest) String() string
func (*EventsRequest) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventsRequest) XXX_DiscardUnknown()
func (*EventsRequest) XXX_Marshal ¶ added in v0.0.6
func (m *EventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventsRequest) XXX_Merge ¶ added in v0.0.6
func (dst *EventsRequest) XXX_Merge(src proto.Message)
func (*EventsRequest) XXX_Size ¶ added in v0.0.6
func (m *EventsRequest) XXX_Size() int
func (*EventsRequest) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventsRequest) XXX_Unmarshal(b []byte) error
type EventsResponse ¶ added in v0.0.6
type EventsResponse struct {
EventType EventType `protobuf:"varint,1,opt,name=event_type,json=eventType,proto3,enum=meshes.EventType" json:"event_type,omitempty"`
Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*EventsResponse) Descriptor ¶ added in v0.0.6
func (*EventsResponse) Descriptor() ([]byte, []int)
func (*EventsResponse) GetDetails ¶ added in v0.0.6
func (m *EventsResponse) GetDetails() string
func (*EventsResponse) GetEventType ¶ added in v0.0.6
func (m *EventsResponse) GetEventType() EventType
func (*EventsResponse) GetSummary ¶ added in v0.0.6
func (m *EventsResponse) GetSummary() string
func (*EventsResponse) ProtoMessage ¶ added in v0.0.6
func (*EventsResponse) ProtoMessage()
func (*EventsResponse) Reset ¶ added in v0.0.6
func (m *EventsResponse) Reset()
func (*EventsResponse) String ¶ added in v0.0.6
func (m *EventsResponse) String() string
func (*EventsResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *EventsResponse) XXX_DiscardUnknown()
func (*EventsResponse) XXX_Marshal ¶ added in v0.0.6
func (m *EventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventsResponse) XXX_Merge ¶ added in v0.0.6
func (dst *EventsResponse) XXX_Merge(src proto.Message)
func (*EventsResponse) XXX_Size ¶ added in v0.0.6
func (m *EventsResponse) XXX_Size() int
func (*EventsResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *EventsResponse) XXX_Unmarshal(b []byte) error
type MeshClient ¶
type MeshClient struct {
MClient MeshServiceClient
// contains filtered or unexported fields
}
func CreateClient ¶ added in v0.0.4
func (*MeshClient) Close ¶ added in v0.0.4
func (m *MeshClient) Close() error
type MeshNameRequest ¶ added in v0.0.4
type MeshNameRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MeshNameRequest) Descriptor ¶ added in v0.0.4
func (*MeshNameRequest) Descriptor() ([]byte, []int)
func (*MeshNameRequest) ProtoMessage ¶ added in v0.0.4
func (*MeshNameRequest) ProtoMessage()
func (*MeshNameRequest) Reset ¶ added in v0.0.4
func (m *MeshNameRequest) Reset()
func (*MeshNameRequest) String ¶ added in v0.0.4
func (m *MeshNameRequest) String() string
func (*MeshNameRequest) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *MeshNameRequest) XXX_DiscardUnknown()
func (*MeshNameRequest) XXX_Marshal ¶ added in v0.0.4
func (m *MeshNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MeshNameRequest) XXX_Merge ¶ added in v0.0.4
func (dst *MeshNameRequest) XXX_Merge(src proto.Message)
func (*MeshNameRequest) XXX_Size ¶ added in v0.0.4
func (m *MeshNameRequest) XXX_Size() int
func (*MeshNameRequest) XXX_Unmarshal ¶ added in v0.0.4
func (m *MeshNameRequest) XXX_Unmarshal(b []byte) error
type MeshNameResponse ¶ added in v0.0.4
type MeshNameResponse struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MeshNameResponse) Descriptor ¶ added in v0.0.4
func (*MeshNameResponse) Descriptor() ([]byte, []int)
func (*MeshNameResponse) GetName ¶ added in v0.0.4
func (m *MeshNameResponse) GetName() string
func (*MeshNameResponse) ProtoMessage ¶ added in v0.0.4
func (*MeshNameResponse) ProtoMessage()
func (*MeshNameResponse) Reset ¶ added in v0.0.4
func (m *MeshNameResponse) Reset()
func (*MeshNameResponse) String ¶ added in v0.0.4
func (m *MeshNameResponse) String() string
func (*MeshNameResponse) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *MeshNameResponse) XXX_DiscardUnknown()
func (*MeshNameResponse) XXX_Marshal ¶ added in v0.0.4
func (m *MeshNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MeshNameResponse) XXX_Merge ¶ added in v0.0.4
func (dst *MeshNameResponse) XXX_Merge(src proto.Message)
func (*MeshNameResponse) XXX_Size ¶ added in v0.0.4
func (m *MeshNameResponse) XXX_Size() int
func (*MeshNameResponse) XXX_Unmarshal ¶ added in v0.0.4
func (m *MeshNameResponse) XXX_Unmarshal(b []byte) error
type MeshServiceClient ¶ added in v0.0.4
type MeshServiceClient interface {
CreateMeshInstance(ctx context.Context, in *CreateMeshInstanceRequest, opts ...grpc.CallOption) (*CreateMeshInstanceResponse, error)
MeshName(ctx context.Context, in *MeshNameRequest, opts ...grpc.CallOption) (*MeshNameResponse, error)
ApplyOperation(ctx context.Context, in *ApplyRuleRequest, opts ...grpc.CallOption) (*ApplyRuleResponse, error)
SupportedOperations(ctx context.Context, in *SupportedOperationsRequest, opts ...grpc.CallOption) (*SupportedOperationsResponse, error)
StreamEvents(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (MeshService_StreamEventsClient, error)
}
MeshServiceClient is the client API for MeshService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMeshServiceClient ¶ added in v0.0.4
func NewMeshServiceClient(cc *grpc.ClientConn) MeshServiceClient
type MeshServiceServer ¶ added in v0.0.4
type MeshServiceServer interface {
CreateMeshInstance(context.Context, *CreateMeshInstanceRequest) (*CreateMeshInstanceResponse, error)
MeshName(context.Context, *MeshNameRequest) (*MeshNameResponse, error)
ApplyOperation(context.Context, *ApplyRuleRequest) (*ApplyRuleResponse, error)
SupportedOperations(context.Context, *SupportedOperationsRequest) (*SupportedOperationsResponse, error)
StreamEvents(*EventsRequest, MeshService_StreamEventsServer) error
}
MeshServiceServer is the server API for MeshService service.
type MeshService_StreamEventsClient ¶ added in v0.0.6
type MeshService_StreamEventsClient interface {
Recv() (*EventsResponse, error)
grpc.ClientStream
}
type MeshService_StreamEventsServer ¶ added in v0.0.6
type MeshService_StreamEventsServer interface {
Send(*EventsResponse) error
grpc.ServerStream
}
type SupportedOperation ¶ added in v0.0.4
type SupportedOperation struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SupportedOperation) Descriptor ¶ added in v0.0.4
func (*SupportedOperation) Descriptor() ([]byte, []int)
func (*SupportedOperation) GetKey ¶ added in v0.0.4
func (m *SupportedOperation) GetKey() string
func (*SupportedOperation) GetValue ¶ added in v0.0.4
func (m *SupportedOperation) GetValue() string
func (*SupportedOperation) ProtoMessage ¶ added in v0.0.4
func (*SupportedOperation) ProtoMessage()
func (*SupportedOperation) Reset ¶ added in v0.0.4
func (m *SupportedOperation) Reset()
func (*SupportedOperation) String ¶ added in v0.0.4
func (m *SupportedOperation) String() string
func (*SupportedOperation) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *SupportedOperation) XXX_DiscardUnknown()
func (*SupportedOperation) XXX_Marshal ¶ added in v0.0.4
func (m *SupportedOperation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SupportedOperation) XXX_Merge ¶ added in v0.0.4
func (dst *SupportedOperation) XXX_Merge(src proto.Message)
func (*SupportedOperation) XXX_Size ¶ added in v0.0.4
func (m *SupportedOperation) XXX_Size() int
func (*SupportedOperation) XXX_Unmarshal ¶ added in v0.0.4
func (m *SupportedOperation) XXX_Unmarshal(b []byte) error
type SupportedOperationsRequest ¶ added in v0.0.4
type SupportedOperationsRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SupportedOperationsRequest) Descriptor ¶ added in v0.0.4
func (*SupportedOperationsRequest) Descriptor() ([]byte, []int)
func (*SupportedOperationsRequest) ProtoMessage ¶ added in v0.0.4
func (*SupportedOperationsRequest) ProtoMessage()
func (*SupportedOperationsRequest) Reset ¶ added in v0.0.4
func (m *SupportedOperationsRequest) Reset()
func (*SupportedOperationsRequest) String ¶ added in v0.0.4
func (m *SupportedOperationsRequest) String() string
func (*SupportedOperationsRequest) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *SupportedOperationsRequest) XXX_DiscardUnknown()
func (*SupportedOperationsRequest) XXX_Marshal ¶ added in v0.0.4
func (m *SupportedOperationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SupportedOperationsRequest) XXX_Merge ¶ added in v0.0.4
func (dst *SupportedOperationsRequest) XXX_Merge(src proto.Message)
func (*SupportedOperationsRequest) XXX_Size ¶ added in v0.0.4
func (m *SupportedOperationsRequest) XXX_Size() int
func (*SupportedOperationsRequest) XXX_Unmarshal ¶ added in v0.0.4
func (m *SupportedOperationsRequest) XXX_Unmarshal(b []byte) error
type SupportedOperationsResponse ¶ added in v0.0.4
type SupportedOperationsResponse struct {
Ops map[string]string `` /* 147-byte string literal not displayed */
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SupportedOperationsResponse) Descriptor ¶ added in v0.0.4
func (*SupportedOperationsResponse) Descriptor() ([]byte, []int)
func (*SupportedOperationsResponse) GetError ¶ added in v0.0.4
func (m *SupportedOperationsResponse) GetError() string
func (*SupportedOperationsResponse) GetOps ¶ added in v0.0.4
func (m *SupportedOperationsResponse) GetOps() map[string]string
func (*SupportedOperationsResponse) ProtoMessage ¶ added in v0.0.4
func (*SupportedOperationsResponse) ProtoMessage()
func (*SupportedOperationsResponse) Reset ¶ added in v0.0.4
func (m *SupportedOperationsResponse) Reset()
func (*SupportedOperationsResponse) String ¶ added in v0.0.4
func (m *SupportedOperationsResponse) String() string
func (*SupportedOperationsResponse) XXX_DiscardUnknown ¶ added in v0.0.4
func (m *SupportedOperationsResponse) XXX_DiscardUnknown()
func (*SupportedOperationsResponse) XXX_Marshal ¶ added in v0.0.4
func (m *SupportedOperationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SupportedOperationsResponse) XXX_Merge ¶ added in v0.0.4
func (dst *SupportedOperationsResponse) XXX_Merge(src proto.Message)
func (*SupportedOperationsResponse) XXX_Size ¶ added in v0.0.4
func (m *SupportedOperationsResponse) XXX_Size() int
func (*SupportedOperationsResponse) XXX_Unmarshal ¶ added in v0.0.4
func (m *SupportedOperationsResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.