Documentation ¶
Index ¶
- func Run(ctx context.Context, conf Config) error
- type Config
- type ConfigObs
- type Controller
- func (c *Controller) DisableAutomation(ctx context.Context, in *pb.SwitchAutomationRequest) (*pb.Track, error)
- func (c *Controller) EnableAutomation(ctx context.Context, in *pb.SwitchAutomationRequest) (*pb.Track, error)
- func (c *Controller) GetTrack(ctx context.Context, in *pb.GetTrackRequest) (*pb.Track, error)
- func (c *Controller) ListScene(ctx context.Context, in *pb.ListSceneRequest) (*pb.ListSceneResponse, error)
- func (c *Controller) ListSharedmem(context.Context, *emptypb.Empty) (*pb.ListSharedmemResponse, error)
- func (c *Controller) ListTrack(ctx context.Context, in *emptypb.Empty) (*pb.ListTrackResponse, error)
- func (c *Controller) MoveSceneToNext(ctx context.Context, in *pb.MoveSceneToNextRequest) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct { pb.UnimplementedTrackServiceServer pb.UnimplementedSceneServiceServer pb.UnimplementedDebugServiceServer Logger logr.Logger ObsWsMap map[int32]obsws.Client MemWriter sharedmem.WriterIface MemReader sharedmem.ReaderIface MemDebugger sharedmem.DebuggerIface }
func (*Controller) DisableAutomation ¶
func (c *Controller) DisableAutomation(ctx context.Context, in *pb.SwitchAutomationRequest) (*pb.Track, error)
func (*Controller) EnableAutomation ¶
func (c *Controller) EnableAutomation(ctx context.Context, in *pb.SwitchAutomationRequest) (*pb.Track, error)
func (*Controller) GetTrack ¶
func (c *Controller) GetTrack(ctx context.Context, in *pb.GetTrackRequest) (*pb.Track, error)
func (*Controller) ListScene ¶
func (c *Controller) ListScene(ctx context.Context, in *pb.ListSceneRequest) (*pb.ListSceneResponse, error)
func (*Controller) ListSharedmem ¶
func (c *Controller) ListSharedmem(context.Context, *emptypb.Empty) (*pb.ListSharedmemResponse, error)
func (*Controller) ListTrack ¶
func (c *Controller) ListTrack(ctx context.Context, in *emptypb.Empty) (*pb.ListTrackResponse, error)
func (*Controller) MoveSceneToNext ¶
func (c *Controller) MoveSceneToNext(ctx context.Context, in *pb.MoveSceneToNextRequest) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.