Documentation ¶
Index ¶
Constants ¶
const ( // FactFilterOperatorEq captures enum value "==" FactFilterOperatorEq string = "==" // FactFilterOperatorRe captures enum value "=~" FactFilterOperatorRe string = "=~" // FactFilterOperatorNrBang captures enum value "!=" FactFilterOperatorNrBang string = "!=" // FactFilterOperatorGe captures enum value ">=" FactFilterOperatorGe string = ">=" // FactFilterOperatorGt captures enum value ">" FactFilterOperatorGt string = ">" // FactFilterOperatorLe captures enum value "<=" FactFilterOperatorLe string = "<=" // FactFilterOperatorLt captures enum value "<" FactFilterOperatorLt string = "<" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentsFilter ¶
type AgentsFilter []WordOrRegex
AgentsFilter agents filter swagger:model agentsFilter
type ClassesFilter ¶
type ClassesFilter []WordOrRegex
ClassesFilter classes filter swagger:model classesFilter
type CollectiveFilter ¶
type CollectiveFilter struct {
Word
}
CollectiveFilter collective filter swagger:model collectiveFilter
func (*CollectiveFilter) MarshalBinary ¶
func (m *CollectiveFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (CollectiveFilter) MarshalJSON ¶
func (m CollectiveFilter) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*CollectiveFilter) UnmarshalBinary ¶
func (m *CollectiveFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CollectiveFilter) UnmarshalJSON ¶
func (m *CollectiveFilter) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type DiscoveryRequest ¶
type DiscoveryRequest struct { // agents Agents AgentsFilter `json:"agents"` // classes Classes ClassesFilter `json:"classes"` // collective Collective CollectiveFilter `json:"collective,omitempty"` // facts Facts FactsFilter `json:"facts"` // identities Identities IdentitiesFilter `json:"identities"` // PQL Query // Min Length: 1 Query string `json:"query,omitempty"` }
DiscoveryRequest discovery request swagger:model discoveryRequest
func (*DiscoveryRequest) MarshalBinary ¶
func (m *DiscoveryRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiscoveryRequest) UnmarshalBinary ¶
func (m *DiscoveryRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiscoverySuccessModel ¶
type DiscoverySuccessModel struct { // HTTP Status Code Code int64 `json:"code,omitempty"` // nodes Nodes []string `json:"nodes"` }
DiscoverySuccessModel discovery success model swagger:model discoverySuccessModel
func (*DiscoverySuccessModel) MarshalBinary ¶
func (m *DiscoverySuccessModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiscoverySuccessModel) UnmarshalBinary ¶
func (m *DiscoverySuccessModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorModel ¶
type ErrorModel struct { // HTTP Status Code Code int64 `json:"code,omitempty"` // Short description of the problem Message string `json:"message,omitempty"` }
ErrorModel error model swagger:model errorModel
func (*ErrorModel) MarshalBinary ¶
func (m *ErrorModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorModel) UnmarshalBinary ¶
func (m *ErrorModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FactFilter ¶
type FactFilter struct { // fact // Required: true Fact Word `json:"fact"` // operator // Required: true Operator *string `json:"operator"` // value // Required: true Value WordOrRegex `json:"value"` }
FactFilter fact filter swagger:model factFilter
func (*FactFilter) MarshalBinary ¶
func (m *FactFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FactFilter) UnmarshalBinary ¶
func (m *FactFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FactsFilter ¶
type FactsFilter []*FactFilter
FactsFilter facts filter swagger:model factsFilter
type IdentitiesFilter ¶
type IdentitiesFilter []WordOrRegex
IdentitiesFilter identities filter swagger:model identitiesFilter
type Set ¶
type Set struct { // nodes Nodes []string `json:"nodes"` // query // Required: true // Min Length: 1 Query *string `json:"query"` // set // Required: true Set Word `json:"set"` }
Set set swagger:model set
func (*Set) MarshalBinary ¶
MarshalBinary interface implementation
func (*Set) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Sets ¶
type Sets struct { // HTTP Status Code Code int64 `json:"code,omitempty"` // sets Sets []Word `json:"sets"` }
Sets sets swagger:model sets
func (*Sets) MarshalBinary ¶
MarshalBinary interface implementation
func (*Sets) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SuccessModel ¶
type SuccessModel struct { // HTTP Status Code Code int64 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` }
SuccessModel success model swagger:model successModel
func (*SuccessModel) MarshalBinary ¶
func (m *SuccessModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SuccessModel) UnmarshalBinary ¶
func (m *SuccessModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation