Documentation ¶
Index ¶
- Constants
- Variables
- type Availability
- func (z *Availability) DecodeMsg(dc *msgp.Reader) (err error)
- func (z Availability) EncodeMsg(en *msgp.Writer) (err error)
- func (v Availability) MarshalEasyJSON(w *jwriter.Writer)
- func (v Availability) MarshalJSON() ([]byte, error)
- func (z Availability) MarshalMsg(b []byte) (o []byte, err error)
- func (z Availability) Msgsize() (s int)
- func (v *Availability) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Availability) UnmarshalJSON(data []byte) error
- func (z *Availability) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Group
- func (z *Group) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Group) EncodeMsg(en *msgp.Writer) (err error)
- func (v Group) MarshalEasyJSON(w *jwriter.Writer)
- func (v Group) MarshalJSON() ([]byte, error)
- func (z *Group) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Group) Msgsize() (s int)
- func (v *Group) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Group) UnmarshalJSON(data []byte) error
- func (z *Group) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Groups
- type Info
- func (z *Info) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Info) EncodeMsg(en *msgp.Writer) (err error)
- func (v Info) MarshalEasyJSON(w *jwriter.Writer)
- func (v Info) MarshalJSON() ([]byte, error)
- func (z *Info) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Info) Msgsize() (s int)
- func (v *Info) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Info) UnmarshalJSON(data []byte) error
- func (z *Info) UnmarshalMsg(bts []byte) (o []byte, err error)
- type LoginCount
- func (z *LoginCount) DecodeMsg(dc *msgp.Reader) (err error)
- func (z LoginCount) EncodeMsg(en *msgp.Writer) (err error)
- func (v LoginCount) MarshalEasyJSON(w *jwriter.Writer)
- func (v LoginCount) MarshalJSON() ([]byte, error)
- func (z LoginCount) MarshalMsg(b []byte) (o []byte, err error)
- func (z LoginCount) Msgsize() (s int)
- func (v *LoginCount) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *LoginCount) UnmarshalJSON(data []byte) error
- func (z *LoginCount) UnmarshalMsg(bts []byte) (o []byte, err error)
- type LoginPopularity
- func (z *LoginPopularity) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *LoginPopularity) EncodeMsg(en *msgp.Writer) (err error)
- func (v LoginPopularity) MarshalEasyJSON(w *jwriter.Writer)
- func (v LoginPopularity) MarshalJSON() ([]byte, error)
- func (z *LoginPopularity) MarshalMsg(b []byte) (o []byte, err error)
- func (z *LoginPopularity) Msgsize() (s int)
- func (v *LoginPopularity) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *LoginPopularity) UnmarshalJSON(data []byte) error
- func (z *LoginPopularity) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Machine
- func (z *Machine) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Machine) EncodeMsg(en *msgp.Writer) (err error)
- func (v Machine) MarshalEasyJSON(w *jwriter.Writer)
- func (v Machine) MarshalJSON() ([]byte, error)
- func (z *Machine) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Machine) Msgsize() (s int)
- func (v *Machine) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Machine) UnmarshalJSON(data []byte) error
- func (z *Machine) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Member
- func (z *Member) DecodeMsg(dc *msgp.Reader) (err error)
- func (z Member) EncodeMsg(en *msgp.Writer) (err error)
- func (v Member) MarshalEasyJSON(w *jwriter.Writer)
- func (v Member) MarshalJSON() ([]byte, error)
- func (z Member) MarshalMsg(b []byte) (o []byte, err error)
- func (z Member) Msgsize() (s int)
- func (v *Member) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Member) UnmarshalJSON(data []byte) error
- func (z *Member) UnmarshalMsg(bts []byte) (o []byte, err error)
- type NetworkInformation
- func (z *NetworkInformation) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *NetworkInformation) EncodeMsg(en *msgp.Writer) (err error)
- func (v NetworkInformation) MarshalEasyJSON(w *jwriter.Writer)
- func (v NetworkInformation) MarshalJSON() ([]byte, error)
- func (z *NetworkInformation) MarshalMsg(b []byte) (o []byte, err error)
- func (z *NetworkInformation) Msgsize() (s int)
- func (v *NetworkInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *NetworkInformation) UnmarshalJSON(data []byte) error
- func (z *NetworkInformation) UnmarshalMsg(bts []byte) (o []byte, err error)
- type NetworkInterfaceInfo
- func (z *NetworkInterfaceInfo) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *NetworkInterfaceInfo) EncodeMsg(en *msgp.Writer) (err error)
- func (v NetworkInterfaceInfo) MarshalEasyJSON(w *jwriter.Writer)
- func (v NetworkInterfaceInfo) MarshalJSON() ([]byte, error)
- func (z *NetworkInterfaceInfo) MarshalMsg(b []byte) (o []byte, err error)
- func (z *NetworkInterfaceInfo) Msgsize() (s int)
- func (v *NetworkInterfaceInfo) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *NetworkInterfaceInfo) UnmarshalJSON(data []byte) error
- func (z *NetworkInterfaceInfo) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Principal
- func (z *Principal) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Principal) EncodeMsg(en *msgp.Writer) (err error)
- func (v Principal) MarshalEasyJSON(w *jwriter.Writer)
- func (v Principal) MarshalJSON() ([]byte, error)
- func (z *Principal) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Principal) Msgsize() (s int)
- func (v *Principal) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Principal) UnmarshalJSON(data []byte) error
- func (z *Principal) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Privilege
- func (z *Privilege) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Privilege) EncodeMsg(en *msgp.Writer) (err error)
- func (v Privilege) MarshalEasyJSON(w *jwriter.Writer)
- func (v Privilege) MarshalJSON() ([]byte, error)
- func (z *Privilege) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Privilege) Msgsize() (s int)
- func (v *Privilege) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Privilege) UnmarshalJSON(data []byte) error
- func (z *Privilege) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Privileges
- type RegisteredTask
- func (z *RegisteredTask) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *RegisteredTask) EncodeMsg(en *msgp.Writer) (err error)
- func (v RegisteredTask) MarshalEasyJSON(w *jwriter.Writer)
- func (v RegisteredTask) MarshalJSON() ([]byte, error)
- func (z *RegisteredTask) MarshalMsg(b []byte) (o []byte, err error)
- func (z *RegisteredTask) Msgsize() (s int)
- func (v *RegisteredTask) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *RegisteredTask) UnmarshalJSON(data []byte) error
- func (z *RegisteredTask) UnmarshalMsg(bts []byte) (o []byte, err error)
- type RegistrationInfo
- func (z *RegistrationInfo) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *RegistrationInfo) EncodeMsg(en *msgp.Writer) (err error)
- func (v RegistrationInfo) MarshalEasyJSON(w *jwriter.Writer)
- func (v RegistrationInfo) MarshalJSON() ([]byte, error)
- func (z *RegistrationInfo) MarshalMsg(b []byte) (o []byte, err error)
- func (z *RegistrationInfo) Msgsize() (s int)
- func (v *RegistrationInfo) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *RegistrationInfo) UnmarshalJSON(data []byte) error
- func (z *RegistrationInfo) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Service
- func (z *Service) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Service) EncodeMsg(en *msgp.Writer) (err error)
- func (v Service) MarshalEasyJSON(w *jwriter.Writer)
- func (v Service) MarshalJSON() ([]byte, error)
- func (z *Service) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Service) Msgsize() (s int)
- func (v *Service) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Service) UnmarshalJSON(data []byte) error
- func (z *Service) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Services
- type Share
- func (z *Share) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Share) EncodeMsg(en *msgp.Writer) (err error)
- func (v Share) MarshalEasyJSON(w *jwriter.Writer)
- func (v Share) MarshalJSON() ([]byte, error)
- func (z *Share) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Share) Msgsize() (s int)
- func (v *Share) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Share) UnmarshalJSON(data []byte) error
- func (z *Share) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Shares
- type Software
- func (z *Software) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Software) EncodeMsg(en *msgp.Writer) (err error)
- func (v Software) MarshalEasyJSON(w *jwriter.Writer)
- func (v Software) MarshalJSON() ([]byte, error)
- func (z *Software) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Software) Msgsize() (s int)
- func (v *Software) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Software) UnmarshalJSON(data []byte) error
- func (z *Software) UnmarshalMsg(bts []byte) (o []byte, err error)
- type TaskAction
- func (z *TaskAction) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *TaskAction) EncodeMsg(en *msgp.Writer) (err error)
- func (v TaskAction) MarshalEasyJSON(w *jwriter.Writer)
- func (v TaskAction) MarshalJSON() ([]byte, error)
- func (z *TaskAction) MarshalMsg(b []byte) (o []byte, err error)
- func (z *TaskAction) Msgsize() (s int)
- func (v *TaskAction) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *TaskAction) UnmarshalJSON(data []byte) error
- func (z *TaskAction) UnmarshalMsg(bts []byte) (o []byte, err error)
- type TaskDefinition
- func (z *TaskDefinition) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *TaskDefinition) EncodeMsg(en *msgp.Writer) (err error)
- func (v TaskDefinition) MarshalEasyJSON(w *jwriter.Writer)
- func (v TaskDefinition) MarshalJSON() ([]byte, error)
- func (z *TaskDefinition) MarshalMsg(b []byte) (o []byte, err error)
- func (z *TaskDefinition) Msgsize() (s int)
- func (v *TaskDefinition) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *TaskDefinition) UnmarshalJSON(data []byte) error
- func (z *TaskDefinition) UnmarshalMsg(bts []byte) (o []byte, err error)
- type TaskSettings
- func (z *TaskSettings) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *TaskSettings) EncodeMsg(en *msgp.Writer) (err error)
- func (v TaskSettings) MarshalEasyJSON(w *jwriter.Writer)
- func (v TaskSettings) MarshalJSON() ([]byte, error)
- func (z *TaskSettings) MarshalMsg(b []byte) (o []byte, err error)
- func (z *TaskSettings) Msgsize() (s int)
- func (v *TaskSettings) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *TaskSettings) UnmarshalJSON(data []byte) error
- func (z *TaskSettings) UnmarshalMsg(bts []byte) (o []byte, err error)
- type User
- func (z *User) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *User) EncodeMsg(en *msgp.Writer) (err error)
- func (v User) MarshalEasyJSON(w *jwriter.Writer)
- func (v User) MarshalJSON() ([]byte, error)
- func (z *User) MarshalMsg(b []byte) (o []byte, err error)
- func (z *User) Msgsize() (s int)
- func (v *User) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *User) UnmarshalJSON(data []byte) error
- func (z *User) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Users
Constants ¶
const Suffix = ".localmachine.json"
Variables ¶
var ( InstalledSoftware = engine.NewAttribute("installedSoftware") MACAddress = engine.NewAttribute("MACAddress").Merge() )
Functions ¶
This section is empty.
Types ¶
type Availability ¶
type Availability struct { Day uint64 `json:",omitempty"` Week uint64 `json:",omitempty"` Month uint64 `json:",omitempty"` }
func (*Availability) DecodeMsg ¶
func (z *Availability) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (Availability) EncodeMsg ¶
func (z Availability) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (Availability) MarshalEasyJSON ¶
func (v Availability) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Availability) MarshalJSON ¶
func (v Availability) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (Availability) MarshalMsg ¶
func (z Availability) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (Availability) Msgsize ¶
func (z Availability) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Availability) UnmarshalEasyJSON ¶
func (v *Availability) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Availability) UnmarshalJSON ¶
func (v *Availability) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*Availability) UnmarshalMsg ¶
func (z *Availability) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type Group ¶
type Group struct { Name string `json:",omitempty"` SID string `json:",omitempty"` Comment string `json:",omitempty"` Members []Member `json:",omitempty"` }
func (Group) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Group) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Group) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Group) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Group) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Group) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Groups ¶
type Groups []Group
func (Groups) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type Info ¶
type Info struct { basedata.Common UnprivilegedCollection bool `json:",omitempty"` // True if we know that the collector ran without admin rights, so some data will be missing Machine Machine `json:",omitempty"` // Hardware shared.Hardware `json:",omitempty"` Network NetworkInformation `json:",omitempty"` Availability Availability `json:",omitempty"` LoginPopularity LoginPopularity `json:",omitempty"` Users Users `json:",omitempty"` Groups Groups `json:",omitempty"` Services Services `json:",omitempty"` Software []Software `json:",omitempty"` Tasks []RegisteredTask `json:",omitempty"` Privileges Privileges `json:",omitempty"` }
func (Info) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Info) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Info) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Info) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Info) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Info) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type LoginCount ¶
type LoginCount struct { Name string `json:",omitempty"` SID string `json:",omitempty"` Count uint64 `json:",omitempty"` }
func (*LoginCount) DecodeMsg ¶
func (z *LoginCount) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (LoginCount) EncodeMsg ¶
func (z LoginCount) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (LoginCount) MarshalEasyJSON ¶
func (v LoginCount) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (LoginCount) MarshalJSON ¶
func (v LoginCount) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (LoginCount) MarshalMsg ¶
func (z LoginCount) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (LoginCount) Msgsize ¶
func (z LoginCount) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*LoginCount) UnmarshalEasyJSON ¶
func (v *LoginCount) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*LoginCount) UnmarshalJSON ¶
func (v *LoginCount) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*LoginCount) UnmarshalMsg ¶
func (z *LoginCount) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type LoginPopularity ¶
type LoginPopularity struct { Day []LoginCount Week []LoginCount Month []LoginCount }
func (*LoginPopularity) DecodeMsg ¶
func (z *LoginPopularity) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*LoginPopularity) EncodeMsg ¶
func (z *LoginPopularity) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (LoginPopularity) MarshalEasyJSON ¶
func (v LoginPopularity) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (LoginPopularity) MarshalJSON ¶
func (v LoginPopularity) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*LoginPopularity) MarshalMsg ¶
func (z *LoginPopularity) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*LoginPopularity) Msgsize ¶
func (z *LoginPopularity) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*LoginPopularity) UnmarshalEasyJSON ¶
func (v *LoginPopularity) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*LoginPopularity) UnmarshalJSON ¶
func (v *LoginPopularity) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*LoginPopularity) UnmarshalMsg ¶
func (z *LoginPopularity) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type Machine ¶
type Machine struct { Name string `json:",omitempty"` LocalSID string `json:",omitempty"` Domain string `json:",omitempty"` ComputerDomainSID string `json:",omitempty"` IsDomainJoined bool `json:",omitempty"` Architecture string `json:",omitempty"` NumberOfProcessors int `json:",omitempty"` ProductName string `json:",omitempty"` ProductType string `json:",omitempty"` ProductSuite string `json:",omitempty"` EditionID string `json:",omitempty"` ReleaseID string `json:",omitempty"` BuildBranch string `json:",omitempty"` MajorVersionNumber uint64 `json:",omitempty"` Version string `json:",omitempty"` BuildNumber string `json:",omitempty"` DefaultUsername string `json:",omitempty"` DefaultDomain string `json:",omitempty"` AltDefaultUsername string `json:",omitempty"` AltDefaultDomain string `json:",omitempty"` AppCache [][]byte `json:",omitempty"` SCCMLastValidMP string `json:",omitempty"` WUServer string `json:",omitempty"` WUStatusServer string `json:",omitempty"` UACConsentPromptBehaviorAdmin uint64 `json:",omitempty"` UACEnableLUA uint64 `json:",omitempty"` UACLocalAccountTokenFilterPolicy uint64 `json:",omitempty"` UACFilterAdministratorToken uint64 `json:",omitempty"` }
func (Machine) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Machine) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Machine) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Machine) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Machine) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Machine) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Member ¶
func (Member) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Member) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (Member) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (Member) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Member) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Member) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type NetworkInformation ¶
type NetworkInformation struct { InternetConnectivity string `json:",omitempty"` NetworkInterfaces []NetworkInterfaceInfo `json:",omitempty"` }
func (*NetworkInformation) DecodeMsg ¶
func (z *NetworkInformation) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*NetworkInformation) EncodeMsg ¶
func (z *NetworkInformation) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (NetworkInformation) MarshalEasyJSON ¶
func (v NetworkInformation) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (NetworkInformation) MarshalJSON ¶
func (v NetworkInformation) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*NetworkInformation) MarshalMsg ¶
func (z *NetworkInformation) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*NetworkInformation) Msgsize ¶
func (z *NetworkInformation) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*NetworkInformation) UnmarshalEasyJSON ¶
func (v *NetworkInformation) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NetworkInformation) UnmarshalJSON ¶
func (v *NetworkInformation) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*NetworkInformation) UnmarshalMsg ¶
func (z *NetworkInformation) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type NetworkInterfaceInfo ¶
type NetworkInterfaceInfo struct { // Hardware net.Interface Name string `json:",omitempty"` MACAddress string `json:",omitempty"` Flags uint `json:",omitempty"` Addresses []string `json:",omitempty"` }
func (*NetworkInterfaceInfo) DecodeMsg ¶
func (z *NetworkInterfaceInfo) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*NetworkInterfaceInfo) EncodeMsg ¶
func (z *NetworkInterfaceInfo) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (NetworkInterfaceInfo) MarshalEasyJSON ¶
func (v NetworkInterfaceInfo) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (NetworkInterfaceInfo) MarshalJSON ¶
func (v NetworkInterfaceInfo) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*NetworkInterfaceInfo) MarshalMsg ¶
func (z *NetworkInterfaceInfo) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*NetworkInterfaceInfo) Msgsize ¶
func (z *NetworkInterfaceInfo) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*NetworkInterfaceInfo) UnmarshalEasyJSON ¶
func (v *NetworkInterfaceInfo) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NetworkInterfaceInfo) UnmarshalJSON ¶
func (v *NetworkInterfaceInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*NetworkInterfaceInfo) UnmarshalMsg ¶
func (z *NetworkInterfaceInfo) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type Principal ¶
type Principal struct { Name string `json:",omitempty"` GroupID string `json:",omitempty"` ID string `json:",omitempty"` LogonType int `json:",omitempty"` RunLevel int `json:",omitempty"` UserID string `json:",omitempty"` }
func (Principal) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Principal) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Principal) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Principal) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Principal) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Principal) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Privilege ¶
func (Privilege) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Privilege) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Privilege) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Privilege) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Privilege) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Privilege) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Privileges ¶
type Privileges []Privilege
func (*Privileges) DecodeMsg ¶
func (z *Privileges) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (Privileges) EncodeMsg ¶
func (z Privileges) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (Privileges) MarshalMsg ¶
func (z Privileges) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (Privileges) Msgsize ¶
func (z Privileges) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Privileges) UnmarshalMsg ¶
func (z *Privileges) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type RegisteredTask ¶
type RegisteredTask struct { Name string `json:",omitempty"` Path string `json:",omitempty"` Definition TaskDefinition `json:",omitempty"` Enabled bool `json:",omitempty"` State string `json:",omitempty"` MissedRuns uint `json:",omitempty"` NextRunTime time.Time `json:",omitempty"` LastRunTime time.Time `json:",omitempty"` LastTaskResult uint32 `json:",omitempty"` }
func (*RegisteredTask) DecodeMsg ¶
func (z *RegisteredTask) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*RegisteredTask) EncodeMsg ¶
func (z *RegisteredTask) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (RegisteredTask) MarshalEasyJSON ¶
func (v RegisteredTask) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RegisteredTask) MarshalJSON ¶
func (v RegisteredTask) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RegisteredTask) MarshalMsg ¶
func (z *RegisteredTask) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*RegisteredTask) Msgsize ¶
func (z *RegisteredTask) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*RegisteredTask) UnmarshalEasyJSON ¶
func (v *RegisteredTask) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RegisteredTask) UnmarshalJSON ¶
func (v *RegisteredTask) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*RegisteredTask) UnmarshalMsg ¶
func (z *RegisteredTask) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type RegistrationInfo ¶
type RegistrationInfo struct { Author string `json:",omitempty"` Date time.Time `json:",omitempty"` Description string `json:",omitempty"` Documentation string `json:",omitempty"` SecurityDescriptor string `json:",omitempty"` Source string `json:",omitempty"` URI string `json:",omitempty"` Version string `json:",omitempty"` }
func (*RegistrationInfo) DecodeMsg ¶
func (z *RegistrationInfo) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*RegistrationInfo) EncodeMsg ¶
func (z *RegistrationInfo) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (RegistrationInfo) MarshalEasyJSON ¶
func (v RegistrationInfo) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RegistrationInfo) MarshalJSON ¶
func (v RegistrationInfo) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RegistrationInfo) MarshalMsg ¶
func (z *RegistrationInfo) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*RegistrationInfo) Msgsize ¶
func (z *RegistrationInfo) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*RegistrationInfo) UnmarshalEasyJSON ¶
func (v *RegistrationInfo) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RegistrationInfo) UnmarshalJSON ¶
func (v *RegistrationInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*RegistrationInfo) UnmarshalMsg ¶
func (z *RegistrationInfo) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type Service ¶
type Service struct { RegistryOwner string `json:",omitempty"` RegistryDACL []byte `json:",omitempty"` Name string `json:",omitempty"` DisplayName string `json:",omitempty"` Description string `json:",omitempty"` ImagePath string `json:",omitempty"` ImageExecutable string `json:",omitempty"` ImageExecutableOwner string `json:",omitempty"` ImageExecutableDACL []byte `json:",omitempty"` Start int `json:",omitempty"` Type int `json:",omitempty"` Account string `json:",omitempty"` AccountSID string `json:",omitempty"` RequiredPrivileges []string `json:",omitempty"` }
func (Service) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Service) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Service) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Service) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Service) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Service) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Services ¶
type Services []Service
func (Services) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type Share ¶
type Share struct {}
func (Share) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Share) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Share) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Share) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Share) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Share) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Shares ¶
type Shares []Share
func (Shares) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type Software ¶
type Software struct { DisplayName string `json:"displayName"` DisplayVersion string `json:"displayVersion"` Arch string `json:"arch"` Publisher string `json:"publisher"` InstallDate time.Time `json:"installDate"` EstimatedSize uint64 `json:"estimatedSize"` Contact string `json:"Contact"` HelpLink string `json:"HelpLink"` InstallSource string `json:"InstallSource"` InstallLocation string `json:"InstallLocation"` UninstallString string `json:"UninstallString"` VersionMajor uint64 `json:"VersionMajor"` VersionMinor uint64 `json:"VersionMinor"` }
func (Software) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Software) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Software) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Software) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*Software) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Software) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type TaskAction ¶
type TaskAction struct { Type string `json:",omitempty"` PathDACL []byte `json:",omitempty"` PathOwner string `json:",omitempty"` Path string `json:",omitempty"` Args string `json:",omitempty"` WorkingDir string `json:",omitempty"` }
func (*TaskAction) DecodeMsg ¶
func (z *TaskAction) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*TaskAction) EncodeMsg ¶
func (z *TaskAction) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (TaskAction) MarshalEasyJSON ¶
func (v TaskAction) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (TaskAction) MarshalJSON ¶
func (v TaskAction) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*TaskAction) MarshalMsg ¶
func (z *TaskAction) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*TaskAction) Msgsize ¶
func (z *TaskAction) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*TaskAction) UnmarshalEasyJSON ¶
func (v *TaskAction) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*TaskAction) UnmarshalJSON ¶
func (v *TaskAction) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*TaskAction) UnmarshalMsg ¶
func (z *TaskAction) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type TaskDefinition ¶
type TaskDefinition struct { Actions []TaskAction `json:",omitempty"` Context string `json:",omitempty"` Data string `json:",omitempty"` Principal Principal `json:",omitempty"` RegistrationInfo RegistrationInfo `json:",omitempty"` Settings TaskSettings `json:",omitempty"` Triggers []string `json:",omitempty"` XMLText string `json:",omitempty"` }
func (*TaskDefinition) DecodeMsg ¶
func (z *TaskDefinition) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*TaskDefinition) EncodeMsg ¶
func (z *TaskDefinition) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (TaskDefinition) MarshalEasyJSON ¶
func (v TaskDefinition) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (TaskDefinition) MarshalJSON ¶
func (v TaskDefinition) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*TaskDefinition) MarshalMsg ¶
func (z *TaskDefinition) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*TaskDefinition) Msgsize ¶
func (z *TaskDefinition) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*TaskDefinition) UnmarshalEasyJSON ¶
func (v *TaskDefinition) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*TaskDefinition) UnmarshalJSON ¶
func (v *TaskDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*TaskDefinition) UnmarshalMsg ¶
func (z *TaskDefinition) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type TaskSettings ¶
type TaskSettings struct { AllowDemandStart bool `json:",omitempty"` AllowHardTerminate bool `json:",omitempty"` DeleteExpiredTaskAfter string `json:",omitempty"` DontStartOnBatteries bool `json:",omitempty"` Enabled bool `json:",omitempty"` TimeLimit string `json:",omitempty"` Hidden bool `json:",omitempty"` Priority uint `json:",omitempty"` RestartCount uint `json:",omitempty"` RestartInterval string `json:",omitempty"` RunOnlyIfIdle bool `json:",omitempty"` RunOnlyIfNetworkAvailable bool `json:",omitempty"` StartWhenAvailable bool `json:",omitempty"` StopIfGoingOnBatteries bool `json:",omitempty"` WakeToRun bool `json:",omitempty"` }
func (*TaskSettings) DecodeMsg ¶
func (z *TaskSettings) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*TaskSettings) EncodeMsg ¶
func (z *TaskSettings) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (TaskSettings) MarshalEasyJSON ¶
func (v TaskSettings) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (TaskSettings) MarshalJSON ¶
func (v TaskSettings) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*TaskSettings) MarshalMsg ¶
func (z *TaskSettings) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*TaskSettings) Msgsize ¶
func (z *TaskSettings) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*TaskSettings) UnmarshalEasyJSON ¶
func (v *TaskSettings) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*TaskSettings) UnmarshalJSON ¶
func (v *TaskSettings) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*TaskSettings) UnmarshalMsg ¶
func (z *TaskSettings) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type User ¶
type User struct { Name string `json:",omitempty"` SID string `json:",omitempty"` FullName string `json:",omitempty"` IsEnabled bool `json:",omitempty"` IsLocked bool `json:",omitempty"` IsAdmin bool `json:",omitempty"` PasswordNeverExpires bool `json:",omitempty"` NoChangePassword bool `json:",omitempty"` PasswordLastSet time.Time `json:",omitempty"` LastLogon time.Time `json:",omitempty"` LastLogoff time.Time `json:",omitempty"` BadPasswordCount int `json:",omitempty"` NumberOfLogins int `json:",omitempty"` }
func (User) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (User) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*User) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*User) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*User) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*User) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Users ¶
type Users []User
func (Users) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler