Documentation ¶
Index ¶
- func RegisterPlacementControllerServer(s *grpc.Server, srv PlacementControllerServer)
- type PlacementControllerClient
- type PlacementControllerServer
- type ResourceRequest
- func (*ResourceRequest) Descriptor() ([]byte, []int)
- func (m *ResourceRequest) GetAppContext() string
- func (*ResourceRequest) ProtoMessage()
- func (m *ResourceRequest) Reset()
- func (m *ResourceRequest) String() string
- func (m *ResourceRequest) XXX_DiscardUnknown()
- func (m *ResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResourceRequest) XXX_Merge(src proto.Message)
- func (m *ResourceRequest) XXX_Size() int
- func (m *ResourceRequest) XXX_Unmarshal(b []byte) error
- type ResourceResponse
- func (*ResourceResponse) Descriptor() ([]byte, []int)
- func (m *ResourceResponse) GetAppContext() string
- func (m *ResourceResponse) GetMessage() string
- func (m *ResourceResponse) GetStatus() bool
- func (*ResourceResponse) ProtoMessage()
- func (m *ResourceResponse) Reset()
- func (m *ResourceResponse) String() string
- func (m *ResourceResponse) XXX_DiscardUnknown()
- func (m *ResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResourceResponse) XXX_Merge(src proto.Message)
- func (m *ResourceResponse) XXX_Size() int
- func (m *ResourceResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPlacementControllerServer ¶
func RegisterPlacementControllerServer(s *grpc.Server, srv PlacementControllerServer)
Types ¶
type PlacementControllerClient ¶
type PlacementControllerClient interface {
FilterClusters(ctx context.Context, in *ResourceRequest, opts ...grpc.CallOption) (*ResourceResponse, error)
}
PlacementControllerClient is the client API for PlacementController service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPlacementControllerClient ¶
func NewPlacementControllerClient(cc *grpc.ClientConn) PlacementControllerClient
type PlacementControllerServer ¶
type PlacementControllerServer interface {
FilterClusters(context.Context, *ResourceRequest) (*ResourceResponse, error)
}
PlacementControllerServer is the server API for PlacementController service.
type ResourceRequest ¶
type ResourceRequest struct { AppContext string `protobuf:"bytes,1,opt,name=appContext,proto3" json:"appContext,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResourceRequest) Descriptor ¶
func (*ResourceRequest) Descriptor() ([]byte, []int)
func (*ResourceRequest) GetAppContext ¶
func (m *ResourceRequest) GetAppContext() string
func (*ResourceRequest) ProtoMessage ¶
func (*ResourceRequest) ProtoMessage()
func (*ResourceRequest) Reset ¶
func (m *ResourceRequest) Reset()
func (*ResourceRequest) String ¶
func (m *ResourceRequest) String() string
func (*ResourceRequest) XXX_DiscardUnknown ¶
func (m *ResourceRequest) XXX_DiscardUnknown()
func (*ResourceRequest) XXX_Marshal ¶
func (m *ResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceRequest) XXX_Merge ¶
func (dst *ResourceRequest) XXX_Merge(src proto.Message)
func (*ResourceRequest) XXX_Size ¶
func (m *ResourceRequest) XXX_Size() int
func (*ResourceRequest) XXX_Unmarshal ¶
func (m *ResourceRequest) XXX_Unmarshal(b []byte) error
type ResourceResponse ¶
type ResourceResponse struct { AppContext string `protobuf:"bytes,1,opt,name=appContext,proto3" json:"appContext,omitempty"` Status bool `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResourceResponse) Descriptor ¶
func (*ResourceResponse) Descriptor() ([]byte, []int)
func (*ResourceResponse) GetAppContext ¶
func (m *ResourceResponse) GetAppContext() string
func (*ResourceResponse) GetMessage ¶
func (m *ResourceResponse) GetMessage() string
func (*ResourceResponse) GetStatus ¶
func (m *ResourceResponse) GetStatus() bool
func (*ResourceResponse) ProtoMessage ¶
func (*ResourceResponse) ProtoMessage()
func (*ResourceResponse) Reset ¶
func (m *ResourceResponse) Reset()
func (*ResourceResponse) String ¶
func (m *ResourceResponse) String() string
func (*ResourceResponse) XXX_DiscardUnknown ¶
func (m *ResourceResponse) XXX_DiscardUnknown()
func (*ResourceResponse) XXX_Marshal ¶
func (m *ResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceResponse) XXX_Merge ¶
func (dst *ResourceResponse) XXX_Merge(src proto.Message)
func (*ResourceResponse) XXX_Size ¶
func (m *ResourceResponse) XXX_Size() int
func (*ResourceResponse) XXX_Unmarshal ¶
func (m *ResourceResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.