Documentation
¶
Index ¶
- type DeployRules
- func (*DeployRules) Descriptor() ([]byte, []int)
- func (m *DeployRules) GetRuleFile() string
- func (*DeployRules) ProtoMessage()
- func (m *DeployRules) Reset()
- func (m *DeployRules) String() string
- func (m *DeployRules) XXX_DiscardUnknown()
- func (m *DeployRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeployRules) XXX_Merge(src proto.Message)
- func (m *DeployRules) XXX_Size() int
- func (m *DeployRules) XXX_Unmarshal(b []byte) error
- type Heartbeat
- func (*Heartbeat) Descriptor() ([]byte, []int)
- func (m *Heartbeat) GetHost() *Host
- func (m *Heartbeat) GetTime() *timestamp.Timestamp
- func (*Heartbeat) ProtoMessage()
- func (m *Heartbeat) Reset()
- func (m *Heartbeat) String() string
- func (m *Heartbeat) XXX_DiscardUnknown()
- func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Heartbeat) XXX_Merge(src proto.Message)
- func (m *Heartbeat) XXX_Size() int
- func (m *Heartbeat) XXX_Unmarshal(b []byte) error
- type Host
- func (*Host) Descriptor() ([]byte, []int)
- func (m *Host) GetFqdn() string
- func (m *Host) GetIp() string
- func (m *Host) GetOrg() string
- func (m *Host) GetUuid() string
- func (m *Host) GetZone() string
- func (*Host) ProtoMessage()
- func (m *Host) Reset()
- func (m *Host) String() string
- func (m *Host) XXX_DiscardUnknown()
- func (m *Host) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Host) XXX_Merge(src proto.Message)
- func (m *Host) XXX_Size() int
- func (m *Host) XXX_Unmarshal(b []byte) error
- type ReloadRules
- func (*ReloadRules) Descriptor() ([]byte, []int)
- func (*ReloadRules) ProtoMessage()
- func (m *ReloadRules) Reset()
- func (m *ReloadRules) String() string
- func (m *ReloadRules) XXX_DiscardUnknown()
- func (m *ReloadRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReloadRules) XXX_Merge(src proto.Message)
- func (m *ReloadRules) XXX_Size() int
- func (m *ReloadRules) XXX_Unmarshal(b []byte) error
- type SensorAlert
- func (*SensorAlert) Descriptor() ([]byte, []int)
- func (m *SensorAlert) GetHost() *Host
- func (m *SensorAlert) GetStatus() *status.Status
- func (m *SensorAlert) GetTime() *timestamp.Timestamp
- func (*SensorAlert) ProtoMessage()
- func (m *SensorAlert) Reset()
- func (m *SensorAlert) String() string
- func (m *SensorAlert) XXX_DiscardUnknown()
- func (m *SensorAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SensorAlert) XXX_Merge(src proto.Message)
- func (m *SensorAlert) XXX_Size() int
- func (m *SensorAlert) XXX_Unmarshal(b []byte) error
- type SensorMessage
- func (*SensorMessage) Descriptor() ([]byte, []int)
- func (m *SensorMessage) GetAlert() *SensorAlert
- func (m *SensorMessage) GetHeartbeat() *Heartbeat
- func (m *SensorMessage) GetId() string
- func (m *SensorMessage) GetResponse() *SensorResponse
- func (m *SensorMessage) GetType() isSensorMessage_Type
- func (*SensorMessage) ProtoMessage()
- func (m *SensorMessage) Reset()
- func (m *SensorMessage) String() string
- func (m *SensorMessage) XXX_DiscardUnknown()
- func (m *SensorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SensorMessage) XXX_Merge(src proto.Message)
- func (*SensorMessage) XXX_OneofWrappers() []interface{}
- func (m *SensorMessage) XXX_Size() int
- func (m *SensorMessage) XXX_Unmarshal(b []byte) error
- type SensorMessage_Alert
- type SensorMessage_Heartbeat
- type SensorMessage_Response
- type SensorRequest
- func (*SensorRequest) Descriptor() ([]byte, []int)
- func (m *SensorRequest) GetDeployRules() *DeployRules
- func (m *SensorRequest) GetId() string
- func (m *SensorRequest) GetReloadRules() *ReloadRules
- func (m *SensorRequest) GetTime() *timestamp.Timestamp
- func (m *SensorRequest) GetType() isSensorRequest_Type
- func (*SensorRequest) ProtoMessage()
- func (m *SensorRequest) Reset()
- func (m *SensorRequest) String() string
- func (m *SensorRequest) XXX_DiscardUnknown()
- func (m *SensorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SensorRequest) XXX_Merge(src proto.Message)
- func (*SensorRequest) XXX_OneofWrappers() []interface{}
- func (m *SensorRequest) XXX_Size() int
- func (m *SensorRequest) XXX_Unmarshal(b []byte) error
- type SensorRequest_DeployRules
- type SensorRequest_ReloadRules
- type SensorResponse
- func (*SensorResponse) Descriptor() ([]byte, []int)
- func (m *SensorResponse) GetHost() *Host
- func (m *SensorResponse) GetId() string
- func (m *SensorResponse) GetStatus() *status.Status
- func (m *SensorResponse) GetTime() *timestamp.Timestamp
- func (*SensorResponse) ProtoMessage()
- func (m *SensorResponse) Reset()
- func (m *SensorResponse) String() string
- func (m *SensorResponse) XXX_DiscardUnknown()
- func (m *SensorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SensorResponse) XXX_Merge(src proto.Message)
- func (m *SensorResponse) XXX_Size() int
- func (m *SensorResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployRules ¶
type DeployRules struct { RuleFile string `protobuf:"bytes,1,opt,name=rule_file,json=ruleFile,proto3" json:"rule_file,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeployRules) Descriptor ¶
func (*DeployRules) Descriptor() ([]byte, []int)
func (*DeployRules) GetRuleFile ¶
func (m *DeployRules) GetRuleFile() string
func (*DeployRules) ProtoMessage ¶
func (*DeployRules) ProtoMessage()
func (*DeployRules) Reset ¶
func (m *DeployRules) Reset()
func (*DeployRules) String ¶
func (m *DeployRules) String() string
func (*DeployRules) XXX_DiscardUnknown ¶
func (m *DeployRules) XXX_DiscardUnknown()
func (*DeployRules) XXX_Marshal ¶
func (m *DeployRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeployRules) XXX_Merge ¶
func (m *DeployRules) XXX_Merge(src proto.Message)
func (*DeployRules) XXX_Size ¶
func (m *DeployRules) XXX_Size() int
func (*DeployRules) XXX_Unmarshal ¶
func (m *DeployRules) XXX_Unmarshal(b []byte) error
type Heartbeat ¶
type Heartbeat struct { Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` Host *Host `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Heartbeat) Descriptor ¶
func (*Heartbeat) ProtoMessage ¶
func (*Heartbeat) ProtoMessage()
func (*Heartbeat) XXX_DiscardUnknown ¶
func (m *Heartbeat) XXX_DiscardUnknown()
func (*Heartbeat) XXX_Marshal ¶
func (*Heartbeat) XXX_Unmarshal ¶
type Host ¶
type Host struct { Fqdn string `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` Org string `protobuf:"bytes,4,opt,name=org,proto3" json:"org,omitempty"` Zone string `protobuf:"bytes,5,opt,name=zone,proto3" json:"zone,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Host) Descriptor ¶
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) XXX_DiscardUnknown ¶
func (m *Host) XXX_DiscardUnknown()
func (*Host) XXX_Unmarshal ¶
type ReloadRules ¶
type ReloadRules struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReloadRules) Descriptor ¶
func (*ReloadRules) Descriptor() ([]byte, []int)
func (*ReloadRules) ProtoMessage ¶
func (*ReloadRules) ProtoMessage()
func (*ReloadRules) Reset ¶
func (m *ReloadRules) Reset()
func (*ReloadRules) String ¶
func (m *ReloadRules) String() string
func (*ReloadRules) XXX_DiscardUnknown ¶
func (m *ReloadRules) XXX_DiscardUnknown()
func (*ReloadRules) XXX_Marshal ¶
func (m *ReloadRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReloadRules) XXX_Merge ¶
func (m *ReloadRules) XXX_Merge(src proto.Message)
func (*ReloadRules) XXX_Size ¶
func (m *ReloadRules) XXX_Size() int
func (*ReloadRules) XXX_Unmarshal ¶
func (m *ReloadRules) XXX_Unmarshal(b []byte) error
type SensorAlert ¶
type SensorAlert struct { Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Host *Host `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SensorAlert) Descriptor ¶
func (*SensorAlert) Descriptor() ([]byte, []int)
func (*SensorAlert) GetHost ¶
func (m *SensorAlert) GetHost() *Host
func (*SensorAlert) GetStatus ¶
func (m *SensorAlert) GetStatus() *status.Status
func (*SensorAlert) GetTime ¶
func (m *SensorAlert) GetTime() *timestamp.Timestamp
func (*SensorAlert) ProtoMessage ¶
func (*SensorAlert) ProtoMessage()
func (*SensorAlert) Reset ¶
func (m *SensorAlert) Reset()
func (*SensorAlert) String ¶
func (m *SensorAlert) String() string
func (*SensorAlert) XXX_DiscardUnknown ¶
func (m *SensorAlert) XXX_DiscardUnknown()
func (*SensorAlert) XXX_Marshal ¶
func (m *SensorAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SensorAlert) XXX_Merge ¶
func (m *SensorAlert) XXX_Merge(src proto.Message)
func (*SensorAlert) XXX_Size ¶
func (m *SensorAlert) XXX_Size() int
func (*SensorAlert) XXX_Unmarshal ¶
func (m *SensorAlert) XXX_Unmarshal(b []byte) error
type SensorMessage ¶
type SensorMessage struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Types that are valid to be assigned to Type: // *SensorMessage_Response // *SensorMessage_Alert // *SensorMessage_Heartbeat Type isSensorMessage_Type `protobuf_oneof:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SensorMessage) Descriptor ¶
func (*SensorMessage) Descriptor() ([]byte, []int)
func (*SensorMessage) GetAlert ¶
func (m *SensorMessage) GetAlert() *SensorAlert
func (*SensorMessage) GetHeartbeat ¶
func (m *SensorMessage) GetHeartbeat() *Heartbeat
func (*SensorMessage) GetId ¶
func (m *SensorMessage) GetId() string
func (*SensorMessage) GetResponse ¶
func (m *SensorMessage) GetResponse() *SensorResponse
func (*SensorMessage) GetType ¶
func (m *SensorMessage) GetType() isSensorMessage_Type
func (*SensorMessage) ProtoMessage ¶
func (*SensorMessage) ProtoMessage()
func (*SensorMessage) Reset ¶
func (m *SensorMessage) Reset()
func (*SensorMessage) String ¶
func (m *SensorMessage) String() string
func (*SensorMessage) XXX_DiscardUnknown ¶
func (m *SensorMessage) XXX_DiscardUnknown()
func (*SensorMessage) XXX_Marshal ¶
func (m *SensorMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SensorMessage) XXX_Merge ¶
func (m *SensorMessage) XXX_Merge(src proto.Message)
func (*SensorMessage) XXX_OneofWrappers ¶
func (*SensorMessage) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SensorMessage) XXX_Size ¶
func (m *SensorMessage) XXX_Size() int
func (*SensorMessage) XXX_Unmarshal ¶
func (m *SensorMessage) XXX_Unmarshal(b []byte) error
type SensorMessage_Alert ¶
type SensorMessage_Alert struct {
Alert *SensorAlert `protobuf:"bytes,3,opt,name=alert,proto3,oneof"`
}
type SensorMessage_Heartbeat ¶
type SensorMessage_Heartbeat struct {
Heartbeat *Heartbeat `protobuf:"bytes,4,opt,name=heartbeat,proto3,oneof"`
}
type SensorMessage_Response ¶
type SensorMessage_Response struct {
Response *SensorResponse `protobuf:"bytes,2,opt,name=response,proto3,oneof"`
}
type SensorRequest ¶
type SensorRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // Types that are valid to be assigned to Type: // *SensorRequest_DeployRules // *SensorRequest_ReloadRules Type isSensorRequest_Type `protobuf_oneof:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SensorRequest) Descriptor ¶
func (*SensorRequest) Descriptor() ([]byte, []int)
func (*SensorRequest) GetDeployRules ¶
func (m *SensorRequest) GetDeployRules() *DeployRules
func (*SensorRequest) GetId ¶
func (m *SensorRequest) GetId() string
func (*SensorRequest) GetReloadRules ¶
func (m *SensorRequest) GetReloadRules() *ReloadRules
func (*SensorRequest) GetTime ¶
func (m *SensorRequest) GetTime() *timestamp.Timestamp
func (*SensorRequest) GetType ¶
func (m *SensorRequest) GetType() isSensorRequest_Type
func (*SensorRequest) ProtoMessage ¶
func (*SensorRequest) ProtoMessage()
func (*SensorRequest) Reset ¶
func (m *SensorRequest) Reset()
func (*SensorRequest) String ¶
func (m *SensorRequest) String() string
func (*SensorRequest) XXX_DiscardUnknown ¶
func (m *SensorRequest) XXX_DiscardUnknown()
func (*SensorRequest) XXX_Marshal ¶
func (m *SensorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SensorRequest) XXX_Merge ¶
func (m *SensorRequest) XXX_Merge(src proto.Message)
func (*SensorRequest) XXX_OneofWrappers ¶
func (*SensorRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SensorRequest) XXX_Size ¶
func (m *SensorRequest) XXX_Size() int
func (*SensorRequest) XXX_Unmarshal ¶
func (m *SensorRequest) XXX_Unmarshal(b []byte) error
type SensorRequest_DeployRules ¶
type SensorRequest_DeployRules struct {
DeployRules *DeployRules `protobuf:"bytes,3,opt,name=deploy_rules,json=deployRules,proto3,oneof"`
}
type SensorRequest_ReloadRules ¶
type SensorRequest_ReloadRules struct {
ReloadRules *ReloadRules `protobuf:"bytes,4,opt,name=reload_rules,json=reloadRules,proto3,oneof"`
}
type SensorResponse ¶
type SensorResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` Status *status.Status `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Host *Host `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SensorResponse) Descriptor ¶
func (*SensorResponse) Descriptor() ([]byte, []int)
func (*SensorResponse) GetHost ¶
func (m *SensorResponse) GetHost() *Host
func (*SensorResponse) GetId ¶
func (m *SensorResponse) GetId() string
func (*SensorResponse) GetStatus ¶
func (m *SensorResponse) GetStatus() *status.Status
func (*SensorResponse) GetTime ¶
func (m *SensorResponse) GetTime() *timestamp.Timestamp
func (*SensorResponse) ProtoMessage ¶
func (*SensorResponse) ProtoMessage()
func (*SensorResponse) Reset ¶
func (m *SensorResponse) Reset()
func (*SensorResponse) String ¶
func (m *SensorResponse) String() string
func (*SensorResponse) XXX_DiscardUnknown ¶
func (m *SensorResponse) XXX_DiscardUnknown()
func (*SensorResponse) XXX_Marshal ¶
func (m *SensorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SensorResponse) XXX_Merge ¶
func (m *SensorResponse) XXX_Merge(src proto.Message)
func (*SensorResponse) XXX_Size ¶
func (m *SensorResponse) XXX_Size() int
func (*SensorResponse) XXX_Unmarshal ¶
func (m *SensorResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.