placementcontroller

package
v0.0.0-...-7c77b90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL