clmcontrollereventchannel

package
v0.0.0-...-bb2f907 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClmControllerEventType_name = map[int32]string{
	0: "CLUSTER_CREATED",
	1: "CLUSTER_UPDATED",
	2: "CLUSTER_DELETED",
}
View Source
var ClmControllerEventType_value = map[string]int32{
	"CLUSTER_CREATED": 0,
	"CLUSTER_UPDATED": 1,
	"CLUSTER_DELETED": 2,
}

Functions

func RegisterClmControllerEventChannelServer

func RegisterClmControllerEventChannelServer(s *grpc.Server, srv ClmControllerEventChannelServer)

Types

type ClmControllerEventChannelClient

type ClmControllerEventChannelClient interface {
	Publish(ctx context.Context, in *ClmControllerEventRequest, opts ...grpc.CallOption) (*ClmControllerEventResponse, error)
}

ClmControllerEventChannelClient is the client API for ClmControllerEventChannel service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClmControllerEventChannelClient

func NewClmControllerEventChannelClient(cc *grpc.ClientConn) ClmControllerEventChannelClient

type ClmControllerEventChannelServer

type ClmControllerEventChannelServer interface {
	Publish(context.Context, *ClmControllerEventRequest) (*ClmControllerEventResponse, error)
}

ClmControllerEventChannelServer is the server API for ClmControllerEventChannel service.

type ClmControllerEventRequest

type ClmControllerEventRequest struct {
	ProviderName         string                 `protobuf:"bytes,1,opt,name=providerName,proto3" json:"providerName,omitempty"`
	ClusterName          string                 `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"`
	Event                ClmControllerEventType `protobuf:"varint,3,opt,name=event,proto3,enum=ClmControllerEventType" json:"event,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ClmControllerEventRequest) Descriptor

func (*ClmControllerEventRequest) Descriptor() ([]byte, []int)

func (*ClmControllerEventRequest) GetClusterName

func (m *ClmControllerEventRequest) GetClusterName() string

func (*ClmControllerEventRequest) GetEvent

func (*ClmControllerEventRequest) GetProviderName

func (m *ClmControllerEventRequest) GetProviderName() string

func (*ClmControllerEventRequest) ProtoMessage

func (*ClmControllerEventRequest) ProtoMessage()

func (*ClmControllerEventRequest) Reset

func (m *ClmControllerEventRequest) Reset()

func (*ClmControllerEventRequest) String

func (m *ClmControllerEventRequest) String() string

func (*ClmControllerEventRequest) XXX_DiscardUnknown

func (m *ClmControllerEventRequest) XXX_DiscardUnknown()

func (*ClmControllerEventRequest) XXX_Marshal

func (m *ClmControllerEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClmControllerEventRequest) XXX_Merge

func (dst *ClmControllerEventRequest) XXX_Merge(src proto.Message)

func (*ClmControllerEventRequest) XXX_Size

func (m *ClmControllerEventRequest) XXX_Size() int

func (*ClmControllerEventRequest) XXX_Unmarshal

func (m *ClmControllerEventRequest) XXX_Unmarshal(b []byte) error

type ClmControllerEventResponse

type ClmControllerEventResponse struct {
	ProviderName         string   `protobuf:"bytes,1,opt,name=providerName,proto3" json:"providerName,omitempty"`
	ClusterName          string   `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"`
	Status               bool     `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
	Message              string   `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClmControllerEventResponse) Descriptor

func (*ClmControllerEventResponse) Descriptor() ([]byte, []int)

func (*ClmControllerEventResponse) GetClusterName

func (m *ClmControllerEventResponse) GetClusterName() string

func (*ClmControllerEventResponse) GetMessage

func (m *ClmControllerEventResponse) GetMessage() string

func (*ClmControllerEventResponse) GetProviderName

func (m *ClmControllerEventResponse) GetProviderName() string

func (*ClmControllerEventResponse) GetStatus

func (m *ClmControllerEventResponse) GetStatus() bool

func (*ClmControllerEventResponse) ProtoMessage

func (*ClmControllerEventResponse) ProtoMessage()

func (*ClmControllerEventResponse) Reset

func (m *ClmControllerEventResponse) Reset()

func (*ClmControllerEventResponse) String

func (m *ClmControllerEventResponse) String() string

func (*ClmControllerEventResponse) XXX_DiscardUnknown

func (m *ClmControllerEventResponse) XXX_DiscardUnknown()

func (*ClmControllerEventResponse) XXX_Marshal

func (m *ClmControllerEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClmControllerEventResponse) XXX_Merge

func (dst *ClmControllerEventResponse) XXX_Merge(src proto.Message)

func (*ClmControllerEventResponse) XXX_Size

func (m *ClmControllerEventResponse) XXX_Size() int

func (*ClmControllerEventResponse) XXX_Unmarshal

func (m *ClmControllerEventResponse) XXX_Unmarshal(b []byte) error

type ClmControllerEventType

type ClmControllerEventType int32
const (
	ClmControllerEventType_CLUSTER_CREATED ClmControllerEventType = 0
	ClmControllerEventType_CLUSTER_UPDATED ClmControllerEventType = 1
	ClmControllerEventType_CLUSTER_DELETED ClmControllerEventType = 2
)

func (ClmControllerEventType) EnumDescriptor

func (ClmControllerEventType) EnumDescriptor() ([]byte, []int)

func (ClmControllerEventType) String

func (x ClmControllerEventType) String() string

Jump to

Keyboard shortcuts

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