Documentation
¶
Index ¶
- Variables
- func RegisterInternalAPIServer(s grpc.ServiceRegistrar, srv InternalAPIServer)
- type AddDestinationCommand
- func (*AddDestinationCommand) Descriptor() ([]byte, []int)deprecated
- func (x *AddDestinationCommand) GetName() string
- func (x *AddDestinationCommand) GetUrl() string
- func (*AddDestinationCommand) ProtoMessage()
- func (x *AddDestinationCommand) ProtoReflect() protoreflect.Message
- func (x *AddDestinationCommand) Reset()
- func (x *AddDestinationCommand) String() string
- type AddDestinationFailedEvent
- func (*AddDestinationFailedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AddDestinationFailedEvent) GetError() string
- func (x *AddDestinationFailedEvent) GetUrl() string
- func (*AddDestinationFailedEvent) ProtoMessage()
- func (x *AddDestinationFailedEvent) ProtoReflect() protoreflect.Message
- func (x *AddDestinationFailedEvent) Reset()
- func (x *AddDestinationFailedEvent) String() string
- type AppState
- func (*AppState) Descriptor() ([]byte, []int)deprecated
- func (x *AppState) GetBuildInfo() *BuildInfo
- func (x *AppState) GetDestinations() []*Destination
- func (x *AppState) GetSource() *Source
- func (*AppState) ProtoMessage()
- func (x *AppState) ProtoReflect() protoreflect.Message
- func (x *AppState) Reset()
- func (x *AppState) String() string
- type AppStateChangedEvent
- func (*AppStateChangedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *AppStateChangedEvent) GetAppState() *AppState
- func (*AppStateChangedEvent) ProtoMessage()
- func (x *AppStateChangedEvent) ProtoReflect() protoreflect.Message
- func (x *AppStateChangedEvent) Reset()
- func (x *AppStateChangedEvent) String() string
- type BuildInfo
- func (*BuildInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfo) GetCommit() string
- func (x *BuildInfo) GetDate() string
- func (x *BuildInfo) GetGoVersion() string
- func (x *BuildInfo) GetVersion() string
- func (*BuildInfo) ProtoMessage()
- func (x *BuildInfo) ProtoReflect() protoreflect.Message
- func (x *BuildInfo) Reset()
- func (x *BuildInfo) String() string
- type CloseOtherInstancesCommand
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetAddDestination() *AddDestinationCommand
- func (x *Command) GetCloseOtherInstances() *CloseOtherInstancesCommand
- func (m *Command) GetCommandType() isCommand_CommandType
- func (x *Command) GetKillServer() *KillServerCommand
- func (x *Command) GetRemoveDestination() *RemoveDestinationCommand
- func (x *Command) GetStartDestination() *StartDestinationCommand
- func (x *Command) GetStartHandshake() *StartHandshakeCommand
- func (x *Command) GetStopDestination() *StopDestinationCommand
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type Command_AddDestination
- type Command_CloseOtherInstances
- type Command_KillServer
- type Command_RemoveDestination
- type Command_StartDestination
- type Command_StartHandshake
- type Command_StopDestination
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetCpuPercent() float64
- func (x *Container) GetErr() string
- func (x *Container) GetExitCode() int32
- func (x *Container) GetHealthState() string
- func (x *Container) GetId() string
- func (x *Container) GetImageName() string
- func (x *Container) GetMemoryUsageBytes() uint64
- func (x *Container) GetPullPercent() int32
- func (x *Container) GetPullProgress() string
- func (x *Container) GetPullStatus() string
- func (x *Container) GetRestartCount() int32
- func (x *Container) GetRxRate() int32
- func (x *Container) GetRxSince() *timestamppb.Timestamp
- func (x *Container) GetStatus() string
- func (x *Container) GetTxRate() int32
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type Destination
- func (*Destination) Descriptor() ([]byte, []int)deprecated
- func (x *Destination) GetContainer() *Container
- func (x *Destination) GetName() string
- func (x *Destination) GetStatus() Destination_Status
- func (x *Destination) GetUrl() string
- func (*Destination) ProtoMessage()
- func (x *Destination) ProtoReflect() protoreflect.Message
- func (x *Destination) Reset()
- func (x *Destination) String() string
- type DestinationAddedEvent
- func (*DestinationAddedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *DestinationAddedEvent) GetUrl() string
- func (*DestinationAddedEvent) ProtoMessage()
- func (x *DestinationAddedEvent) ProtoReflect() protoreflect.Message
- func (x *DestinationAddedEvent) Reset()
- func (x *DestinationAddedEvent) String() string
- type DestinationRemovedEvent
- func (*DestinationRemovedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *DestinationRemovedEvent) GetUrl() string
- func (*DestinationRemovedEvent) ProtoMessage()
- func (x *DestinationRemovedEvent) ProtoReflect() protoreflect.Message
- func (x *DestinationRemovedEvent) Reset()
- func (x *DestinationRemovedEvent) String() string
- type DestinationStreamExitedEvent
- func (*DestinationStreamExitedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *DestinationStreamExitedEvent) GetError() string
- func (x *DestinationStreamExitedEvent) GetName() string
- func (*DestinationStreamExitedEvent) ProtoMessage()
- func (x *DestinationStreamExitedEvent) ProtoReflect() protoreflect.Message
- func (x *DestinationStreamExitedEvent) Reset()
- func (x *DestinationStreamExitedEvent) String() string
- type Destination_Status
- func (Destination_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Destination_Status) Enum() *Destination_Status
- func (Destination_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Destination_Status) Number() protoreflect.EnumNumber
- func (x Destination_Status) String() string
- func (Destination_Status) Type() protoreflect.EnumType
- type Envelope
- func (*Envelope) Descriptor() ([]byte, []int)deprecated
- func (x *Envelope) GetCommand() *Command
- func (x *Envelope) GetEvent() *Event
- func (m *Envelope) GetPayload() isEnvelope_Payload
- func (*Envelope) ProtoMessage()
- func (x *Envelope) ProtoReflect() protoreflect.Message
- func (x *Envelope) Reset()
- func (x *Envelope) String() string
- type Envelope_Command
- type Envelope_Event
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAddDestinationFailed() *AddDestinationFailedEvent
- func (x *Event) GetAppStateChanged() *AppStateChangedEvent
- func (x *Event) GetDestinationAdded() *DestinationAddedEvent
- func (x *Event) GetDestinationRemoved() *DestinationRemovedEvent
- func (x *Event) GetDestinationStreamExited() *DestinationStreamExitedEvent
- func (m *Event) GetEventType() isEvent_EventType
- func (x *Event) GetFatalError() *FatalErrorEvent
- func (x *Event) GetHandshakeCompleted() *HandshakeCompletedEvent
- func (x *Event) GetMediaServerStarted() *MediaServerStartedEvent
- func (x *Event) GetOtherInstanceDetected() *OtherInstanceDetectedEvent
- func (x *Event) GetRemoveDestinationFailed() *RemoveDestinationFailedEvent
- func (x *Event) GetStartDestinationFailed() *StartDestinationFailedEvent
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_AddDestinationFailed
- type Event_AppStateChanged
- type Event_DestinationAdded
- type Event_DestinationRemoved
- type Event_DestinationStreamExited
- type Event_FatalError
- type Event_HandshakeCompleted
- type Event_MediaServerStarted
- type Event_OtherInstanceDetected
- type Event_RemoveDestinationFailed
- type Event_StartDestinationFailed
- type FatalErrorEvent
- type HandshakeCompletedEvent
- type InternalAPIClient
- type InternalAPIServer
- type InternalAPI_CommunicateClient
- type InternalAPI_CommunicateServer
- type KillServerCommand
- type MediaServerStartedEvent
- type OtherInstanceDetectedEvent
- type RemoveDestinationCommand
- func (*RemoveDestinationCommand) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDestinationCommand) GetUrl() string
- func (*RemoveDestinationCommand) ProtoMessage()
- func (x *RemoveDestinationCommand) ProtoReflect() protoreflect.Message
- func (x *RemoveDestinationCommand) Reset()
- func (x *RemoveDestinationCommand) String() string
- type RemoveDestinationFailedEvent
- func (*RemoveDestinationFailedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDestinationFailedEvent) GetError() string
- func (x *RemoveDestinationFailedEvent) GetUrl() string
- func (*RemoveDestinationFailedEvent) ProtoMessage()
- func (x *RemoveDestinationFailedEvent) ProtoReflect() protoreflect.Message
- func (x *RemoveDestinationFailedEvent) Reset()
- func (x *RemoveDestinationFailedEvent) String() string
- type Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetContainer() *Container
- func (x *Source) GetExitReason() string
- func (x *Source) GetLive() bool
- func (x *Source) GetLiveChangedAt() *timestamppb.Timestamp
- func (x *Source) GetRtmpUrl() string
- func (x *Source) GetRtmpsUrl() string
- func (x *Source) GetTracks() []string
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) String() string
- type StartDestinationCommand
- func (*StartDestinationCommand) Descriptor() ([]byte, []int)deprecated
- func (x *StartDestinationCommand) GetUrl() string
- func (*StartDestinationCommand) ProtoMessage()
- func (x *StartDestinationCommand) ProtoReflect() protoreflect.Message
- func (x *StartDestinationCommand) Reset()
- func (x *StartDestinationCommand) String() string
- type StartDestinationFailedEvent
- func (*StartDestinationFailedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *StartDestinationFailedEvent) GetMessage() string
- func (x *StartDestinationFailedEvent) GetUrl() string
- func (*StartDestinationFailedEvent) ProtoMessage()
- func (x *StartDestinationFailedEvent) ProtoReflect() protoreflect.Message
- func (x *StartDestinationFailedEvent) Reset()
- func (x *StartDestinationFailedEvent) String() string
- type StartHandshakeCommand
- type StopDestinationCommand
- func (*StopDestinationCommand) Descriptor() ([]byte, []int)deprecated
- func (x *StopDestinationCommand) GetUrl() string
- func (*StopDestinationCommand) ProtoMessage()
- func (x *StopDestinationCommand) ProtoReflect() protoreflect.Message
- func (x *StopDestinationCommand) Reset()
- func (x *StopDestinationCommand) String() string
- type UnimplementedInternalAPIServer
- type UnsafeInternalAPIServer
Constants ¶
This section is empty.
Variables ¶
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.
var File_api_proto protoreflect.FileDescriptor
var File_command_proto protoreflect.FileDescriptor
var File_domain_proto protoreflect.FileDescriptor
var File_event_proto protoreflect.FileDescriptor
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 (x *AddDestinationFailedEvent) ProtoReflect() protoreflect.Message
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) GetBuildInfo ¶
func (*AppState) GetDestinations ¶
func (x *AppState) GetDestinations() []*Destination
func (*AppState) ProtoMessage ¶
func (*AppState) ProtoMessage()
func (*AppState) ProtoReflect ¶
func (x *AppState) ProtoReflect() protoreflect.Message
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) GetGoVersion ¶
func (*BuildInfo) GetVersion ¶
func (*BuildInfo) ProtoMessage ¶
func (*BuildInfo) ProtoMessage()
func (*BuildInfo) ProtoReflect ¶
func (x *BuildInfo) ProtoReflect() protoreflect.Message
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 (x *CloseOtherInstancesCommand) ProtoReflect() protoreflect.Message
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) 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
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) GetCpuPercent ¶
func (*Container) GetExitCode ¶
func (*Container) GetHealthState ¶
func (*Container) GetImageName ¶
func (*Container) GetMemoryUsageBytes ¶
func (*Container) GetPullPercent ¶
func (*Container) GetPullProgress ¶
func (*Container) GetPullStatus ¶
func (*Container) GetRestartCount ¶
func (*Container) GetRxSince ¶
func (x *Container) GetRxSince() *timestamppb.Timestamp
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
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 (x *DestinationStreamExitedEvent) ProtoReflect() protoreflect.Message
func (*DestinationStreamExitedEvent) Reset ¶
func (x *DestinationStreamExitedEvent) Reset()
func (*DestinationStreamExitedEvent) String ¶
func (x *DestinationStreamExitedEvent) String() 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) Descriptor() protoreflect.EnumDescriptor
func (Destination_Status) Enum ¶
func (x Destination_Status) Enum() *Destination_Status
func (Destination_Status) EnumDescriptor
deprecated
func (Destination_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Destination_Status.Descriptor instead.
func (Destination_Status) Number ¶
func (x Destination_Status) Number() protoreflect.EnumNumber
func (Destination_Status) String ¶
func (x Destination_Status) String() string
func (Destination_Status) Type ¶
func (Destination_Status) Type() protoreflect.EnumType
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) GetCommand ¶
func (*Envelope) GetPayload ¶
func (m *Envelope) GetPayload() isEnvelope_Payload
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
func (*Envelope) ProtoReflect ¶
func (x *Envelope) ProtoReflect() protoreflect.Message
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) 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
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.
func NewInternalAPIClient ¶
func NewInternalAPIClient(cc grpc.ClientConnInterface) InternalAPIClient
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 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 (x *OtherInstanceDetectedEvent) ProtoReflect() protoreflect.Message
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 (x *RemoveDestinationFailedEvent) GetUrl() string
func (*RemoveDestinationFailedEvent) ProtoMessage ¶
func (*RemoveDestinationFailedEvent) ProtoMessage()
func (*RemoveDestinationFailedEvent) ProtoReflect ¶
func (x *RemoveDestinationFailedEvent) ProtoReflect() protoreflect.Message
func (*RemoveDestinationFailedEvent) Reset ¶
func (x *RemoveDestinationFailedEvent) Reset()
func (*RemoveDestinationFailedEvent) String ¶
func (x *RemoveDestinationFailedEvent) String() 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) GetContainer ¶
func (*Source) GetExitReason ¶
func (*Source) GetLiveChangedAt ¶
func (x *Source) GetLiveChangedAt() *timestamppb.Timestamp
func (*Source) GetRtmpUrl ¶
func (*Source) GetRtmpsUrl ¶
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
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 (x *StartDestinationFailedEvent) ProtoReflect() protoreflect.Message
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 ¶
func (UnimplementedInternalAPIServer) Communicate(InternalAPI_CommunicateServer) error
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.