v1

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChannelsService_Authorize_FullMethodName                    = "/channels.v1.ChannelsService/Authorize"
	ChannelsService_RemoveClientConnections_FullMethodName      = "/channels.v1.ChannelsService/RemoveClientConnections"
	ChannelsService_UnsetParentGroupFromChannels_FullMethodName = "/channels.v1.ChannelsService/UnsetParentGroupFromChannels"
	ChannelsService_RetrieveEntity_FullMethodName               = "/channels.v1.ChannelsService/RetrieveEntity"
)

Variables

View Source
var ChannelsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "channels.v1.ChannelsService",
	HandlerType: (*ChannelsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Authorize",
			Handler:    _ChannelsService_Authorize_Handler,
		},
		{
			MethodName: "RemoveClientConnections",
			Handler:    _ChannelsService_RemoveClientConnections_Handler,
		},
		{
			MethodName: "UnsetParentGroupFromChannels",
			Handler:    _ChannelsService_UnsetParentGroupFromChannels_Handler,
		},
		{
			MethodName: "RetrieveEntity",
			Handler:    _ChannelsService_RetrieveEntity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "channels/v1/channels.proto",
}

ChannelsService_ServiceDesc is the grpc.ServiceDesc for ChannelsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_channels_v1_channels_proto protoreflect.FileDescriptor

Functions

func RegisterChannelsServiceServer

func RegisterChannelsServiceServer(s grpc.ServiceRegistrar, srv ChannelsServiceServer)

Types

type AuthzReq

type AuthzReq struct {
	DomainId   string `protobuf:"bytes,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
	ClientId   string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientType string `protobuf:"bytes,3,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"`
	ChannelId  string `protobuf:"bytes,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Type       uint32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthzReq) Descriptor deprecated

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

Deprecated: Use AuthzReq.ProtoReflect.Descriptor instead.

func (*AuthzReq) GetChannelId

func (x *AuthzReq) GetChannelId() string

func (*AuthzReq) GetClientId

func (x *AuthzReq) GetClientId() string

func (*AuthzReq) GetClientType

func (x *AuthzReq) GetClientType() string

func (*AuthzReq) GetDomainId

func (x *AuthzReq) GetDomainId() string

func (*AuthzReq) GetType

func (x *AuthzReq) GetType() uint32

func (*AuthzReq) ProtoMessage

func (*AuthzReq) ProtoMessage()

func (*AuthzReq) ProtoReflect

func (x *AuthzReq) ProtoReflect() protoreflect.Message

func (*AuthzReq) Reset

func (x *AuthzReq) Reset()

func (*AuthzReq) String

func (x *AuthzReq) String() string

type AuthzRes

type AuthzRes struct {
	Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthzRes) Descriptor deprecated

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

Deprecated: Use AuthzRes.ProtoReflect.Descriptor instead.

func (*AuthzRes) GetAuthorized

func (x *AuthzRes) GetAuthorized() bool

func (*AuthzRes) ProtoMessage

func (*AuthzRes) ProtoMessage()

func (*AuthzRes) ProtoReflect

func (x *AuthzRes) ProtoReflect() protoreflect.Message

func (*AuthzRes) Reset

func (x *AuthzRes) Reset()

func (*AuthzRes) String

func (x *AuthzRes) String() string

type ChannelsServiceClient

type ChannelsServiceClient interface {
	Authorize(ctx context.Context, in *AuthzReq, opts ...grpc.CallOption) (*AuthzRes, error)
	RemoveClientConnections(ctx context.Context, in *RemoveClientConnectionsReq, opts ...grpc.CallOption) (*RemoveClientConnectionsRes, error)
	UnsetParentGroupFromChannels(ctx context.Context, in *UnsetParentGroupFromChannelsReq, opts ...grpc.CallOption) (*UnsetParentGroupFromChannelsRes, error)
	RetrieveEntity(ctx context.Context, in *v1.RetrieveEntityReq, opts ...grpc.CallOption) (*v1.RetrieveEntityRes, error)
}

ChannelsServiceClient is the client API for ChannelsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ChannelsServiceServer

type ChannelsServiceServer interface {
	Authorize(context.Context, *AuthzReq) (*AuthzRes, error)
	RemoveClientConnections(context.Context, *RemoveClientConnectionsReq) (*RemoveClientConnectionsRes, error)
	UnsetParentGroupFromChannels(context.Context, *UnsetParentGroupFromChannelsReq) (*UnsetParentGroupFromChannelsRes, error)
	RetrieveEntity(context.Context, *v1.RetrieveEntityReq) (*v1.RetrieveEntityRes, error)
	// contains filtered or unexported methods
}

ChannelsServiceServer is the server API for ChannelsService service. All implementations must embed UnimplementedChannelsServiceServer for forward compatibility.

type RemoveClientConnectionsReq

type RemoveClientConnectionsReq struct {
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveClientConnectionsReq) Descriptor deprecated

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

Deprecated: Use RemoveClientConnectionsReq.ProtoReflect.Descriptor instead.

func (*RemoveClientConnectionsReq) GetClientId

func (x *RemoveClientConnectionsReq) GetClientId() string

func (*RemoveClientConnectionsReq) ProtoMessage

func (*RemoveClientConnectionsReq) ProtoMessage()

func (*RemoveClientConnectionsReq) ProtoReflect

func (*RemoveClientConnectionsReq) Reset

func (x *RemoveClientConnectionsReq) Reset()

func (*RemoveClientConnectionsReq) String

func (x *RemoveClientConnectionsReq) String() string

type RemoveClientConnectionsRes

type RemoveClientConnectionsRes struct {
	// contains filtered or unexported fields
}

func (*RemoveClientConnectionsRes) Descriptor deprecated

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

Deprecated: Use RemoveClientConnectionsRes.ProtoReflect.Descriptor instead.

func (*RemoveClientConnectionsRes) ProtoMessage

func (*RemoveClientConnectionsRes) ProtoMessage()

func (*RemoveClientConnectionsRes) ProtoReflect

func (*RemoveClientConnectionsRes) Reset

func (x *RemoveClientConnectionsRes) Reset()

func (*RemoveClientConnectionsRes) String

func (x *RemoveClientConnectionsRes) String() string

type UnimplementedChannelsServiceServer

type UnimplementedChannelsServiceServer struct{}

UnimplementedChannelsServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedChannelsServiceServer) Authorize

func (UnimplementedChannelsServiceServer) RemoveClientConnections

func (UnimplementedChannelsServiceServer) RetrieveEntity

type UnsafeChannelsServiceServer

type UnsafeChannelsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeChannelsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelsServiceServer will result in compilation errors.

type UnsetParentGroupFromChannelsReq

type UnsetParentGroupFromChannelsReq struct {
	ParentGroupId string `protobuf:"bytes,1,opt,name=parent_group_id,json=parentGroupId,proto3" json:"parent_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UnsetParentGroupFromChannelsReq) Descriptor deprecated

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

Deprecated: Use UnsetParentGroupFromChannelsReq.ProtoReflect.Descriptor instead.

func (*UnsetParentGroupFromChannelsReq) GetParentGroupId

func (x *UnsetParentGroupFromChannelsReq) GetParentGroupId() string

func (*UnsetParentGroupFromChannelsReq) ProtoMessage

func (*UnsetParentGroupFromChannelsReq) ProtoMessage()

func (*UnsetParentGroupFromChannelsReq) ProtoReflect

func (*UnsetParentGroupFromChannelsReq) Reset

func (*UnsetParentGroupFromChannelsReq) String

type UnsetParentGroupFromChannelsRes

type UnsetParentGroupFromChannelsRes struct {
	// contains filtered or unexported fields
}

func (*UnsetParentGroupFromChannelsRes) Descriptor deprecated

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

Deprecated: Use UnsetParentGroupFromChannelsRes.ProtoReflect.Descriptor instead.

func (*UnsetParentGroupFromChannelsRes) ProtoMessage

func (*UnsetParentGroupFromChannelsRes) ProtoMessage()

func (*UnsetParentGroupFromChannelsRes) ProtoReflect

func (*UnsetParentGroupFromChannelsRes) Reset

func (*UnsetParentGroupFromChannelsRes) String

Jump to

Keyboard shortcuts

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