Documentation ¶
Index ¶
- Constants
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetServers() map[string]*Server
- func (m *Config) GetTick() string
- func (m *Config) Marshal() (dAtA []byte, err error)
- func (m *Config) MarshalTo(dAtA []byte) (int, error)
- func (m *Config) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) Size() (n int)
- func (m *Config) String() string
- func (m *Config) Unmarshal(dAtA []byte) error
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (*Config) XXX_MessageName() string
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type RFPiPower
- func (*RFPiPower) ConfigURL() string
- func (pp *RFPiPower) Entry()
- func (pp *RFPiPower) Init(api types.ModuleAPIClient)
- func (*RFPiPower) Name() string
- func (*RFPiPower) NewConfig() proto.Message
- func (pp *RFPiPower) SetDiscoveryChan(c chan<- types.Event)
- func (pp *RFPiPower) SetMutationChan(c <-chan types.Event)
- func (pp *RFPiPower) Stop()
- func (pp *RFPiPower) UpdateConfig(cfg proto.Message) (e error)
- type Server
- func (*Server) Descriptor() ([]byte, []int)
- func (m *Server) GetIp() string
- func (m *Server) GetName() string
- func (m *Server) GetPort() int32
- func (m *Server) Marshal() (dAtA []byte, err error)
- func (m *Server) MarshalTo(dAtA []byte) (int, error)
- func (m *Server) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Server) ProtoMessage()
- func (m *Server) Reset()
- func (m *Server) Size() (n int)
- func (m *Server) String() string
- func (m *Server) Unmarshal(dAtA []byte) error
- func (m *Server) XXX_DiscardUnknown()
- func (m *Server) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Server) XXX_Merge(src proto.Message)
- func (*Server) XXX_MessageName() string
- func (m *Server) XXX_Size() int
- func (m *Server) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ( ChassisURL string = "type.googleapis.com/RPi3.Pi/Chassis" RankURL string = "type.googleapis.com/RPi3.Pi/Rank" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Servers map[string]*Server `` /* 155-byte string literal not displayed */ Tick string `protobuf:"bytes,2,opt,name=tick,proto3" json:"tick,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Config) Descriptor ¶
func (*Config) GetServers ¶
func (*Config) MarshalToSizedBuffer ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_MessageName ¶
func (*Config) XXX_Unmarshal ¶
type RFPiPower ¶
type RFPiPower struct {
// contains filtered or unexported fields
}
RFPiPower provides a power on/off interface to the proprietary BitScope power control plane
func (*RFPiPower) Init ¶
func (pp *RFPiPower) Init(api types.ModuleAPIClient)
Init is used to intialize an executable module prior to entrypoint
func (*RFPiPower) SetDiscoveryChan ¶
SetDiscoveryChan sets the current discovery channel this is generally done by the API
func (*RFPiPower) SetMutationChan ¶
SetMutationChan sets the current mutation channel this is generally done by the API
type Server ¶
type Server struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Server) Descriptor ¶
func (*Server) MarshalToSizedBuffer ¶
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) XXX_DiscardUnknown ¶
func (m *Server) XXX_DiscardUnknown()
func (*Server) XXX_Marshal ¶
func (*Server) XXX_MessageName ¶
func (*Server) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.