grpc

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Destination_Status_name = map[int32]string{
		0: "STATUS_OFF_AIR",
		1: "STATUS_STARTING",
		2: "STATUS_LIVE",
	}
	Destination_Status_value = map[string]int32{
		"STATUS_OFF_AIR":  0,
		"STATUS_STARTING": 1,
		"STATUS_LIVE":     2,
	}
)

Enum value maps for Destination_Status.

View Source
var File_command_proto protoreflect.FileDescriptor
View Source
var File_domain_proto protoreflect.FileDescriptor
View Source
var File_event_proto protoreflect.FileDescriptor
View Source
var InternalAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.InternalAPI",
	HandlerType: (*InternalAPIServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Communicate",
			Handler:       _InternalAPI_Communicate_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "api.proto",
}

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

Functions

func RegisterInternalAPIServer

func RegisterInternalAPIServer(s grpc.ServiceRegistrar, srv InternalAPIServer)

Types

type AddDestinationCommand

type AddDestinationCommand struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Url  string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*AddDestinationCommand) Descriptor deprecated

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

Deprecated: Use AddDestinationCommand.ProtoReflect.Descriptor instead.

func (*AddDestinationCommand) GetName

func (x *AddDestinationCommand) GetName() string

func (*AddDestinationCommand) GetUrl

func (x *AddDestinationCommand) GetUrl() string

func (*AddDestinationCommand) ProtoMessage

func (*AddDestinationCommand) ProtoMessage()

func (*AddDestinationCommand) ProtoReflect

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

func (*AddDestinationCommand) Reset

func (x *AddDestinationCommand) Reset()

func (*AddDestinationCommand) String

func (x *AddDestinationCommand) String() string

type AddDestinationFailedEvent

type AddDestinationFailedEvent struct {
	Url   string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*AddDestinationFailedEvent) Descriptor deprecated

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

Deprecated: Use AddDestinationFailedEvent.ProtoReflect.Descriptor instead.

func (*AddDestinationFailedEvent) GetError

func (x *AddDestinationFailedEvent) GetError() string

func (*AddDestinationFailedEvent) GetUrl

func (x *AddDestinationFailedEvent) GetUrl() string

func (*AddDestinationFailedEvent) ProtoMessage

func (*AddDestinationFailedEvent) ProtoMessage()

func (*AddDestinationFailedEvent) ProtoReflect

func (*AddDestinationFailedEvent) Reset

func (x *AddDestinationFailedEvent) Reset()

func (*AddDestinationFailedEvent) String

func (x *AddDestinationFailedEvent) String() string

type AppState

type AppState struct {
	Source       *Source        `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Destinations []*Destination `protobuf:"bytes,2,rep,name=destinations,proto3" json:"destinations,omitempty"`
	BuildInfo    *BuildInfo     `protobuf:"bytes,3,opt,name=build_info,json=buildInfo,proto3" json:"build_info,omitempty"`
	// contains filtered or unexported fields
}

func (*AppState) Descriptor deprecated

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

Deprecated: Use AppState.ProtoReflect.Descriptor instead.

func (*AppState) GetBuildInfo

func (x *AppState) GetBuildInfo() *BuildInfo

func (*AppState) GetDestinations

func (x *AppState) GetDestinations() []*Destination

func (*AppState) GetSource

func (x *AppState) GetSource() *Source

func (*AppState) ProtoMessage

func (*AppState) ProtoMessage()

func (*AppState) ProtoReflect

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

func (*AppState) Reset

func (x *AppState) Reset()

func (*AppState) String

func (x *AppState) String() string

type AppStateChangedEvent

type AppStateChangedEvent struct {
	AppState *AppState `protobuf:"bytes,1,opt,name=app_state,json=appState,proto3" json:"app_state,omitempty"`
	// contains filtered or unexported fields
}

func (*AppStateChangedEvent) Descriptor deprecated

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

Deprecated: Use AppStateChangedEvent.ProtoReflect.Descriptor instead.

func (*AppStateChangedEvent) GetAppState

func (x *AppStateChangedEvent) GetAppState() *AppState

func (*AppStateChangedEvent) ProtoMessage

func (*AppStateChangedEvent) ProtoMessage()

func (*AppStateChangedEvent) ProtoReflect

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

func (*AppStateChangedEvent) Reset

func (x *AppStateChangedEvent) Reset()

func (*AppStateChangedEvent) String

func (x *AppStateChangedEvent) String() string

type BuildInfo

type BuildInfo struct {
	GoVersion string `protobuf:"bytes,1,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
	Version   string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Commit    string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
	Date      string `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildInfo) Descriptor deprecated

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

Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead.

func (*BuildInfo) GetCommit

func (x *BuildInfo) GetCommit() string

func (*BuildInfo) GetDate

func (x *BuildInfo) GetDate() string

func (*BuildInfo) GetGoVersion

func (x *BuildInfo) GetGoVersion() string

func (*BuildInfo) GetVersion

func (x *BuildInfo) GetVersion() string

func (*BuildInfo) ProtoMessage

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) ProtoReflect

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

func (*BuildInfo) Reset

func (x *BuildInfo) Reset()

func (*BuildInfo) String

func (x *BuildInfo) String() string

type CloseOtherInstancesCommand

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

func (*CloseOtherInstancesCommand) Descriptor deprecated

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

Deprecated: Use CloseOtherInstancesCommand.ProtoReflect.Descriptor instead.

func (*CloseOtherInstancesCommand) ProtoMessage

func (*CloseOtherInstancesCommand) ProtoMessage()

func (*CloseOtherInstancesCommand) ProtoReflect

func (*CloseOtherInstancesCommand) Reset

func (x *CloseOtherInstancesCommand) Reset()

func (*CloseOtherInstancesCommand) String

func (x *CloseOtherInstancesCommand) String() string

type Command

type Command struct {

	// Types that are assignable to CommandType:
	//
	//	*Command_AddDestination
	//	*Command_RemoveDestination
	//	*Command_StartDestination
	//	*Command_StopDestination
	//	*Command_CloseOtherInstances
	//	*Command_KillServer
	//	*Command_StartHandshake
	CommandType isCommand_CommandType `protobuf_oneof:"command_type"`
	// contains filtered or unexported fields
}

func (*Command) Descriptor deprecated

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

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetAddDestination

func (x *Command) GetAddDestination() *AddDestinationCommand

func (*Command) GetCloseOtherInstances

func (x *Command) GetCloseOtherInstances() *CloseOtherInstancesCommand

func (*Command) GetCommandType

func (m *Command) GetCommandType() isCommand_CommandType

func (*Command) GetKillServer

func (x *Command) GetKillServer() *KillServerCommand

func (*Command) GetRemoveDestination

func (x *Command) GetRemoveDestination() *RemoveDestinationCommand

func (*Command) GetStartDestination

func (x *Command) GetStartDestination() *StartDestinationCommand

func (*Command) GetStartHandshake

func (x *Command) GetStartHandshake() *StartHandshakeCommand

func (*Command) GetStopDestination

func (x *Command) GetStopDestination() *StopDestinationCommand

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect

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

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

type Command_AddDestination

type Command_AddDestination struct {
	AddDestination *AddDestinationCommand `protobuf:"bytes,1,opt,name=add_destination,json=addDestination,proto3,oneof"`
}

type Command_CloseOtherInstances

type Command_CloseOtherInstances struct {
	CloseOtherInstances *CloseOtherInstancesCommand `protobuf:"bytes,5,opt,name=close_other_instances,json=closeOtherInstances,proto3,oneof"`
}

type Command_KillServer

type Command_KillServer struct {
	KillServer *KillServerCommand `protobuf:"bytes,6,opt,name=kill_server,json=killServer,proto3,oneof"`
}

type Command_RemoveDestination

type Command_RemoveDestination struct {
	RemoveDestination *RemoveDestinationCommand `protobuf:"bytes,2,opt,name=remove_destination,json=removeDestination,proto3,oneof"`
}

type Command_StartDestination

type Command_StartDestination struct {
	StartDestination *StartDestinationCommand `protobuf:"bytes,3,opt,name=start_destination,json=startDestination,proto3,oneof"`
}

type Command_StartHandshake

type Command_StartHandshake struct {
	StartHandshake *StartHandshakeCommand `protobuf:"bytes,7,opt,name=start_handshake,json=startHandshake,proto3,oneof"`
}

type Command_StopDestination

type Command_StopDestination struct {
	StopDestination *StopDestinationCommand `protobuf:"bytes,4,opt,name=stop_destination,json=stopDestination,proto3,oneof"`
}

type Container

type Container struct {
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status           string                 `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	HealthState      string                 `protobuf:"bytes,3,opt,name=health_state,json=healthState,proto3" json:"health_state,omitempty"`
	CpuPercent       float64                `protobuf:"fixed64,4,opt,name=cpu_percent,json=cpuPercent,proto3" json:"cpu_percent,omitempty"`
	MemoryUsageBytes uint64                 `protobuf:"varint,5,opt,name=memory_usage_bytes,json=memoryUsageBytes,proto3" json:"memory_usage_bytes,omitempty"`
	RxRate           int32                  `protobuf:"varint,6,opt,name=rx_rate,json=rxRate,proto3" json:"rx_rate,omitempty"`
	TxRate           int32                  `protobuf:"varint,7,opt,name=tx_rate,json=txRate,proto3" json:"tx_rate,omitempty"`
	RxSince          *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=rx_since,json=rxSince,proto3" json:"rx_since,omitempty"`
	ImageName        string                 `protobuf:"bytes,9,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
	PullStatus       string                 `protobuf:"bytes,10,opt,name=pull_status,json=pullStatus,proto3" json:"pull_status,omitempty"`
	PullProgress     string                 `protobuf:"bytes,11,opt,name=pull_progress,json=pullProgress,proto3" json:"pull_progress,omitempty"`
	PullPercent      int32                  `protobuf:"varint,12,opt,name=pull_percent,json=pullPercent,proto3" json:"pull_percent,omitempty"`
	RestartCount     int32                  `protobuf:"varint,13,opt,name=restart_count,json=restartCount,proto3" json:"restart_count,omitempty"`
	ExitCode         *int32                 `protobuf:"varint,14,opt,name=exit_code,json=exitCode,proto3,oneof" json:"exit_code,omitempty"`
	Err              string                 `protobuf:"bytes,15,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*Container) Descriptor deprecated

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetCpuPercent

func (x *Container) GetCpuPercent() float64

func (*Container) GetErr

func (x *Container) GetErr() string

func (*Container) GetExitCode

func (x *Container) GetExitCode() int32

func (*Container) GetHealthState

func (x *Container) GetHealthState() string

func (*Container) GetId

func (x *Container) GetId() string

func (*Container) GetImageName

func (x *Container) GetImageName() string

func (*Container) GetMemoryUsageBytes

func (x *Container) GetMemoryUsageBytes() uint64

func (*Container) GetPullPercent

func (x *Container) GetPullPercent() int32

func (*Container) GetPullProgress

func (x *Container) GetPullProgress() string

func (*Container) GetPullStatus

func (x *Container) GetPullStatus() string

func (*Container) GetRestartCount

func (x *Container) GetRestartCount() int32

func (*Container) GetRxRate

func (x *Container) GetRxRate() int32

func (*Container) GetRxSince

func (x *Container) GetRxSince() *timestamppb.Timestamp

func (*Container) GetStatus

func (x *Container) GetStatus() string

func (*Container) GetTxRate

func (x *Container) GetTxRate() int32

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

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

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

type Destination

type Destination struct {
	Container *Container         `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	Status    Destination_Status `protobuf:"varint,2,opt,name=status,proto3,enum=api.Destination_Status" json:"status,omitempty"`
	Name      string             `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Url       string             `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Destination) Descriptor deprecated

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

Deprecated: Use Destination.ProtoReflect.Descriptor instead.

func (*Destination) GetContainer

func (x *Destination) GetContainer() *Container

func (*Destination) GetName

func (x *Destination) GetName() string

func (*Destination) GetStatus

func (x *Destination) GetStatus() Destination_Status

func (*Destination) GetUrl

func (x *Destination) GetUrl() string

func (*Destination) ProtoMessage

func (*Destination) ProtoMessage()

func (*Destination) ProtoReflect

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

func (*Destination) Reset

func (x *Destination) Reset()

func (*Destination) String

func (x *Destination) String() string

type DestinationAddedEvent

type DestinationAddedEvent struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*DestinationAddedEvent) Descriptor deprecated

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

Deprecated: Use DestinationAddedEvent.ProtoReflect.Descriptor instead.

func (*DestinationAddedEvent) GetUrl

func (x *DestinationAddedEvent) GetUrl() string

func (*DestinationAddedEvent) ProtoMessage

func (*DestinationAddedEvent) ProtoMessage()

func (*DestinationAddedEvent) ProtoReflect

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

func (*DestinationAddedEvent) Reset

func (x *DestinationAddedEvent) Reset()

func (*DestinationAddedEvent) String

func (x *DestinationAddedEvent) String() string

type DestinationRemovedEvent

type DestinationRemovedEvent struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*DestinationRemovedEvent) Descriptor deprecated

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

Deprecated: Use DestinationRemovedEvent.ProtoReflect.Descriptor instead.

func (*DestinationRemovedEvent) GetUrl

func (x *DestinationRemovedEvent) GetUrl() string

func (*DestinationRemovedEvent) ProtoMessage

func (*DestinationRemovedEvent) ProtoMessage()

func (*DestinationRemovedEvent) ProtoReflect

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

func (*DestinationRemovedEvent) Reset

func (x *DestinationRemovedEvent) Reset()

func (*DestinationRemovedEvent) String

func (x *DestinationRemovedEvent) String() string

type DestinationStreamExitedEvent

type DestinationStreamExitedEvent struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DestinationStreamExitedEvent) Descriptor deprecated

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

Deprecated: Use DestinationStreamExitedEvent.ProtoReflect.Descriptor instead.

func (*DestinationStreamExitedEvent) GetError

func (x *DestinationStreamExitedEvent) GetError() string

func (*DestinationStreamExitedEvent) GetName

func (x *DestinationStreamExitedEvent) GetName() string

func (*DestinationStreamExitedEvent) ProtoMessage

func (*DestinationStreamExitedEvent) ProtoMessage()

func (*DestinationStreamExitedEvent) ProtoReflect

func (*DestinationStreamExitedEvent) Reset

func (x *DestinationStreamExitedEvent) Reset()

func (*DestinationStreamExitedEvent) String

type Destination_Status

type Destination_Status int32
const (
	Destination_STATUS_OFF_AIR  Destination_Status = 0
	Destination_STATUS_STARTING Destination_Status = 1
	Destination_STATUS_LIVE     Destination_Status = 2
)

func (Destination_Status) Descriptor

func (Destination_Status) Enum

func (Destination_Status) EnumDescriptor deprecated

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

Deprecated: Use Destination_Status.Descriptor instead.

func (Destination_Status) Number

func (Destination_Status) String

func (x Destination_Status) String() string

func (Destination_Status) Type

type Envelope

type Envelope struct {

	// Types that are assignable to Payload:
	//
	//	*Envelope_Command
	//	*Envelope_Event
	Payload isEnvelope_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*Envelope) Descriptor deprecated

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

Deprecated: Use Envelope.ProtoReflect.Descriptor instead.

func (*Envelope) GetCommand

func (x *Envelope) GetCommand() *Command

func (*Envelope) GetEvent

func (x *Envelope) GetEvent() *Event

func (*Envelope) GetPayload

func (m *Envelope) GetPayload() isEnvelope_Payload

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) ProtoReflect

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

func (*Envelope) Reset

func (x *Envelope) Reset()

func (*Envelope) String

func (x *Envelope) String() string

type Envelope_Command

type Envelope_Command struct {
	Command *Command `protobuf:"bytes,1,opt,name=command,proto3,oneof"`
}

type Envelope_Event

type Envelope_Event struct {
	Event *Event `protobuf:"bytes,2,opt,name=event,proto3,oneof"`
}

type Event

type Event struct {

	// Types that are assignable to EventType:
	//
	//	*Event_AppStateChanged
	//	*Event_DestinationStreamExited
	//	*Event_DestinationAdded
	//	*Event_AddDestinationFailed
	//	*Event_DestinationRemoved
	//	*Event_RemoveDestinationFailed
	//	*Event_StartDestinationFailed
	//	*Event_MediaServerStarted
	//	*Event_OtherInstanceDetected
	//	*Event_FatalError
	//	*Event_HandshakeCompleted
	EventType isEvent_EventType `protobuf_oneof:"event_type"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAddDestinationFailed

func (x *Event) GetAddDestinationFailed() *AddDestinationFailedEvent

func (*Event) GetAppStateChanged

func (x *Event) GetAppStateChanged() *AppStateChangedEvent

func (*Event) GetDestinationAdded

func (x *Event) GetDestinationAdded() *DestinationAddedEvent

func (*Event) GetDestinationRemoved

func (x *Event) GetDestinationRemoved() *DestinationRemovedEvent

func (*Event) GetDestinationStreamExited

func (x *Event) GetDestinationStreamExited() *DestinationStreamExitedEvent

func (*Event) GetEventType

func (m *Event) GetEventType() isEvent_EventType

func (*Event) GetFatalError

func (x *Event) GetFatalError() *FatalErrorEvent

func (*Event) GetHandshakeCompleted

func (x *Event) GetHandshakeCompleted() *HandshakeCompletedEvent

func (*Event) GetMediaServerStarted

func (x *Event) GetMediaServerStarted() *MediaServerStartedEvent

func (*Event) GetOtherInstanceDetected

func (x *Event) GetOtherInstanceDetected() *OtherInstanceDetectedEvent

func (*Event) GetRemoveDestinationFailed

func (x *Event) GetRemoveDestinationFailed() *RemoveDestinationFailedEvent

func (*Event) GetStartDestinationFailed

func (x *Event) GetStartDestinationFailed() *StartDestinationFailedEvent

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_AddDestinationFailed

type Event_AddDestinationFailed struct {
	AddDestinationFailed *AddDestinationFailedEvent `protobuf:"bytes,4,opt,name=add_destination_failed,json=addDestinationFailed,proto3,oneof"`
}

type Event_AppStateChanged

type Event_AppStateChanged struct {
	AppStateChanged *AppStateChangedEvent `protobuf:"bytes,1,opt,name=app_state_changed,json=appStateChanged,proto3,oneof"`
}

type Event_DestinationAdded

type Event_DestinationAdded struct {
	DestinationAdded *DestinationAddedEvent `protobuf:"bytes,3,opt,name=destination_added,json=destinationAdded,proto3,oneof"`
}

type Event_DestinationRemoved

type Event_DestinationRemoved struct {
	DestinationRemoved *DestinationRemovedEvent `protobuf:"bytes,5,opt,name=destination_removed,json=destinationRemoved,proto3,oneof"`
}

type Event_DestinationStreamExited

type Event_DestinationStreamExited struct {
	DestinationStreamExited *DestinationStreamExitedEvent `protobuf:"bytes,2,opt,name=destination_stream_exited,json=destinationStreamExited,proto3,oneof"`
}

type Event_FatalError

type Event_FatalError struct {
	FatalError *FatalErrorEvent `protobuf:"bytes,10,opt,name=fatal_error,json=fatalError,proto3,oneof"`
}

type Event_HandshakeCompleted

type Event_HandshakeCompleted struct {
	HandshakeCompleted *HandshakeCompletedEvent `protobuf:"bytes,11,opt,name=handshake_completed,json=handshakeCompleted,proto3,oneof"`
}

type Event_MediaServerStarted

type Event_MediaServerStarted struct {
	MediaServerStarted *MediaServerStartedEvent `protobuf:"bytes,8,opt,name=media_server_started,json=mediaServerStarted,proto3,oneof"`
}

type Event_OtherInstanceDetected

type Event_OtherInstanceDetected struct {
	OtherInstanceDetected *OtherInstanceDetectedEvent `protobuf:"bytes,9,opt,name=other_instance_detected,json=otherInstanceDetected,proto3,oneof"`
}

type Event_RemoveDestinationFailed

type Event_RemoveDestinationFailed struct {
	RemoveDestinationFailed *RemoveDestinationFailedEvent `protobuf:"bytes,6,opt,name=remove_destination_failed,json=removeDestinationFailed,proto3,oneof"`
}

type Event_StartDestinationFailed

type Event_StartDestinationFailed struct {
	StartDestinationFailed *StartDestinationFailedEvent `protobuf:"bytes,7,opt,name=start_destination_failed,json=startDestinationFailed,proto3,oneof"`
}

type FatalErrorEvent

type FatalErrorEvent struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*FatalErrorEvent) Descriptor deprecated

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

Deprecated: Use FatalErrorEvent.ProtoReflect.Descriptor instead.

func (*FatalErrorEvent) GetMessage

func (x *FatalErrorEvent) GetMessage() string

func (*FatalErrorEvent) ProtoMessage

func (*FatalErrorEvent) ProtoMessage()

func (*FatalErrorEvent) ProtoReflect

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

func (*FatalErrorEvent) Reset

func (x *FatalErrorEvent) Reset()

func (*FatalErrorEvent) String

func (x *FatalErrorEvent) String() string

type HandshakeCompletedEvent

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

func (*HandshakeCompletedEvent) Descriptor deprecated

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

Deprecated: Use HandshakeCompletedEvent.ProtoReflect.Descriptor instead.

func (*HandshakeCompletedEvent) ProtoMessage

func (*HandshakeCompletedEvent) ProtoMessage()

func (*HandshakeCompletedEvent) ProtoReflect

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

func (*HandshakeCompletedEvent) Reset

func (x *HandshakeCompletedEvent) Reset()

func (*HandshakeCompletedEvent) String

func (x *HandshakeCompletedEvent) String() string

type InternalAPIClient

type InternalAPIClient interface {
	Communicate(ctx context.Context, opts ...grpc.CallOption) (InternalAPI_CommunicateClient, error)
}

InternalAPIClient is the client API for InternalAPI 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 InternalAPIServer

type InternalAPIServer interface {
	Communicate(InternalAPI_CommunicateServer) error
	// contains filtered or unexported methods
}

InternalAPIServer is the server API for InternalAPI service. All implementations must embed UnimplementedInternalAPIServer for forward compatibility

type InternalAPI_CommunicateClient

type InternalAPI_CommunicateClient interface {
	Send(*Envelope) error
	Recv() (*Envelope, error)
	grpc.ClientStream
}

type InternalAPI_CommunicateServer

type InternalAPI_CommunicateServer interface {
	Send(*Envelope) error
	Recv() (*Envelope, error)
	grpc.ServerStream
}

type KillServerCommand

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

func (*KillServerCommand) Descriptor deprecated

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

Deprecated: Use KillServerCommand.ProtoReflect.Descriptor instead.

func (*KillServerCommand) ProtoMessage

func (*KillServerCommand) ProtoMessage()

func (*KillServerCommand) ProtoReflect

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

func (*KillServerCommand) Reset

func (x *KillServerCommand) Reset()

func (*KillServerCommand) String

func (x *KillServerCommand) String() string

type MediaServerStartedEvent

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

func (*MediaServerStartedEvent) Descriptor deprecated

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

Deprecated: Use MediaServerStartedEvent.ProtoReflect.Descriptor instead.

func (*MediaServerStartedEvent) ProtoMessage

func (*MediaServerStartedEvent) ProtoMessage()

func (*MediaServerStartedEvent) ProtoReflect

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

func (*MediaServerStartedEvent) Reset

func (x *MediaServerStartedEvent) Reset()

func (*MediaServerStartedEvent) String

func (x *MediaServerStartedEvent) String() string

type OtherInstanceDetectedEvent

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

func (*OtherInstanceDetectedEvent) Descriptor deprecated

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

Deprecated: Use OtherInstanceDetectedEvent.ProtoReflect.Descriptor instead.

func (*OtherInstanceDetectedEvent) ProtoMessage

func (*OtherInstanceDetectedEvent) ProtoMessage()

func (*OtherInstanceDetectedEvent) ProtoReflect

func (*OtherInstanceDetectedEvent) Reset

func (x *OtherInstanceDetectedEvent) Reset()

func (*OtherInstanceDetectedEvent) String

func (x *OtherInstanceDetectedEvent) String() string

type RemoveDestinationCommand

type RemoveDestinationCommand struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveDestinationCommand) Descriptor deprecated

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

Deprecated: Use RemoveDestinationCommand.ProtoReflect.Descriptor instead.

func (*RemoveDestinationCommand) GetUrl

func (x *RemoveDestinationCommand) GetUrl() string

func (*RemoveDestinationCommand) ProtoMessage

func (*RemoveDestinationCommand) ProtoMessage()

func (*RemoveDestinationCommand) ProtoReflect

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

func (*RemoveDestinationCommand) Reset

func (x *RemoveDestinationCommand) Reset()

func (*RemoveDestinationCommand) String

func (x *RemoveDestinationCommand) String() string

type RemoveDestinationFailedEvent

type RemoveDestinationFailedEvent struct {
	Url   string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveDestinationFailedEvent) Descriptor deprecated

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

Deprecated: Use RemoveDestinationFailedEvent.ProtoReflect.Descriptor instead.

func (*RemoveDestinationFailedEvent) GetError

func (x *RemoveDestinationFailedEvent) GetError() string

func (*RemoveDestinationFailedEvent) GetUrl

func (*RemoveDestinationFailedEvent) ProtoMessage

func (*RemoveDestinationFailedEvent) ProtoMessage()

func (*RemoveDestinationFailedEvent) ProtoReflect

func (*RemoveDestinationFailedEvent) Reset

func (x *RemoveDestinationFailedEvent) Reset()

func (*RemoveDestinationFailedEvent) String

type Source

type Source struct {
	Container     *Container             `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	Live          bool                   `protobuf:"varint,2,opt,name=live,proto3" json:"live,omitempty"`
	LiveChangedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=live_changed_at,json=liveChangedAt,proto3" json:"live_changed_at,omitempty"`
	Tracks        []string               `protobuf:"bytes,4,rep,name=tracks,proto3" json:"tracks,omitempty"`
	ExitReason    string                 `protobuf:"bytes,5,opt,name=exit_reason,json=exitReason,proto3" json:"exit_reason,omitempty"`
	RtmpUrl       string                 `protobuf:"bytes,6,opt,name=rtmp_url,json=rtmpUrl,proto3" json:"rtmp_url,omitempty"`
	RtmpsUrl      string                 `protobuf:"bytes,7,opt,name=rtmps_url,json=rtmpsUrl,proto3" json:"rtmps_url,omitempty"`
	// contains filtered or unexported fields
}

func (*Source) Descriptor deprecated

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetContainer

func (x *Source) GetContainer() *Container

func (*Source) GetExitReason

func (x *Source) GetExitReason() string

func (*Source) GetLive

func (x *Source) GetLive() bool

func (*Source) GetLiveChangedAt

func (x *Source) GetLiveChangedAt() *timestamppb.Timestamp

func (*Source) GetRtmpUrl

func (x *Source) GetRtmpUrl() string

func (*Source) GetRtmpsUrl

func (x *Source) GetRtmpsUrl() string

func (*Source) GetTracks

func (x *Source) GetTracks() []string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

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

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type StartDestinationCommand

type StartDestinationCommand struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*StartDestinationCommand) Descriptor deprecated

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

Deprecated: Use StartDestinationCommand.ProtoReflect.Descriptor instead.

func (*StartDestinationCommand) GetUrl

func (x *StartDestinationCommand) GetUrl() string

func (*StartDestinationCommand) ProtoMessage

func (*StartDestinationCommand) ProtoMessage()

func (*StartDestinationCommand) ProtoReflect

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

func (*StartDestinationCommand) Reset

func (x *StartDestinationCommand) Reset()

func (*StartDestinationCommand) String

func (x *StartDestinationCommand) String() string

type StartDestinationFailedEvent

type StartDestinationFailedEvent struct {
	Url     string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*StartDestinationFailedEvent) Descriptor deprecated

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

Deprecated: Use StartDestinationFailedEvent.ProtoReflect.Descriptor instead.

func (*StartDestinationFailedEvent) GetMessage

func (x *StartDestinationFailedEvent) GetMessage() string

func (*StartDestinationFailedEvent) GetUrl

func (x *StartDestinationFailedEvent) GetUrl() string

func (*StartDestinationFailedEvent) ProtoMessage

func (*StartDestinationFailedEvent) ProtoMessage()

func (*StartDestinationFailedEvent) ProtoReflect

func (*StartDestinationFailedEvent) Reset

func (x *StartDestinationFailedEvent) Reset()

func (*StartDestinationFailedEvent) String

func (x *StartDestinationFailedEvent) String() string

type StartHandshakeCommand

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

func (*StartHandshakeCommand) Descriptor deprecated

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

Deprecated: Use StartHandshakeCommand.ProtoReflect.Descriptor instead.

func (*StartHandshakeCommand) ProtoMessage

func (*StartHandshakeCommand) ProtoMessage()

func (*StartHandshakeCommand) ProtoReflect

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

func (*StartHandshakeCommand) Reset

func (x *StartHandshakeCommand) Reset()

func (*StartHandshakeCommand) String

func (x *StartHandshakeCommand) String() string

type StopDestinationCommand

type StopDestinationCommand struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*StopDestinationCommand) Descriptor deprecated

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

Deprecated: Use StopDestinationCommand.ProtoReflect.Descriptor instead.

func (*StopDestinationCommand) GetUrl

func (x *StopDestinationCommand) GetUrl() string

func (*StopDestinationCommand) ProtoMessage

func (*StopDestinationCommand) ProtoMessage()

func (*StopDestinationCommand) ProtoReflect

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

func (*StopDestinationCommand) Reset

func (x *StopDestinationCommand) Reset()

func (*StopDestinationCommand) String

func (x *StopDestinationCommand) String() string

type UnimplementedInternalAPIServer

type UnimplementedInternalAPIServer struct {
}

UnimplementedInternalAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedInternalAPIServer) Communicate

type UnsafeInternalAPIServer

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

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

Jump to

Keyboard shortcuts

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