Documentation ¶
Index ¶
- Variables
- func RegisterStatsServiceServer(s *grpc.Server, srv StatsServiceServer)
- type ControlStats
- func (*ControlStats) Descriptor() ([]byte, []int)
- func (m *ControlStats) GetControl() string
- func (m *ControlStats) GetFailed() int32
- func (m *ControlStats) GetImpact() float32
- func (m *ControlStats) GetPassed() int32
- func (m *ControlStats) GetSkipped() int32
- func (m *ControlStats) GetTitle() string
- func (*ControlStats) ProtoMessage()
- func (m *ControlStats) Reset()
- func (m *ControlStats) String() string
- func (m *ControlStats) XXX_DiscardUnknown()
- func (m *ControlStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ControlStats) XXX_Merge(src proto.Message)
- func (m *ControlStats) XXX_Size() int
- func (m *ControlStats) XXX_Unmarshal(b []byte) error
- type ControlsSummary
- func (*ControlsSummary) Descriptor() ([]byte, []int)
- func (m *ControlsSummary) GetCriticals() int32
- func (m *ControlsSummary) GetFailures() int32
- func (m *ControlsSummary) GetMajors() int32
- func (m *ControlsSummary) GetMinors() int32
- func (m *ControlsSummary) GetPassed() int32
- func (m *ControlsSummary) GetSkipped() int32
- func (*ControlsSummary) ProtoMessage()
- func (m *ControlsSummary) Reset()
- func (m *ControlsSummary) String() string
- func (m *ControlsSummary) XXX_DiscardUnknown()
- func (m *ControlsSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ControlsSummary) XXX_Merge(src proto.Message)
- func (m *ControlsSummary) XXX_Size() int
- func (m *ControlsSummary) XXX_Unmarshal(b []byte) error
- type FailureSummary
- func (*FailureSummary) Descriptor() ([]byte, []int)
- func (m *FailureSummary) GetFailures() int32
- func (m *FailureSummary) GetId() string
- func (m *FailureSummary) GetName() string
- func (m *FailureSummary) GetProfile() string
- func (*FailureSummary) ProtoMessage()
- func (m *FailureSummary) Reset()
- func (m *FailureSummary) String() string
- func (m *FailureSummary) XXX_DiscardUnknown()
- func (m *FailureSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FailureSummary) XXX_Merge(src proto.Message)
- func (m *FailureSummary) XXX_Size() int
- func (m *FailureSummary) XXX_Unmarshal(b []byte) error
- type Failures
- func (*Failures) Descriptor() ([]byte, []int)
- func (m *Failures) GetControls() []*FailureSummary
- func (m *Failures) GetEnvironments() []*FailureSummary
- func (m *Failures) GetPlatforms() []*FailureSummary
- func (m *Failures) GetProfiles() []*FailureSummary
- func (*Failures) ProtoMessage()
- func (m *Failures) Reset()
- func (m *Failures) String() string
- func (m *Failures) XXX_DiscardUnknown()
- func (m *Failures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Failures) XXX_Merge(src proto.Message)
- func (m *Failures) XXX_Size() int
- func (m *Failures) XXX_Unmarshal(b []byte) error
- type ListFilter
- func (*ListFilter) Descriptor() ([]byte, []int)
- func (m *ListFilter) GetType() string
- func (m *ListFilter) GetValues() []string
- func (*ListFilter) ProtoMessage()
- func (m *ListFilter) Reset()
- func (m *ListFilter) String() string
- func (m *ListFilter) XXX_DiscardUnknown()
- func (m *ListFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListFilter) XXX_Merge(src proto.Message)
- func (m *ListFilter) XXX_Size() int
- func (m *ListFilter) XXX_Unmarshal(b []byte) error
- type NodeSummary
- func (*NodeSummary) Descriptor() ([]byte, []int)
- func (m *NodeSummary) GetCompliant() int32
- func (m *NodeSummary) GetHighRisk() int32
- func (m *NodeSummary) GetLowRisk() int32
- func (m *NodeSummary) GetMediumRisk() int32
- func (m *NodeSummary) GetNoncompliant() int32
- func (m *NodeSummary) GetSkipped() int32
- func (*NodeSummary) ProtoMessage()
- func (m *NodeSummary) Reset()
- func (m *NodeSummary) String() string
- func (m *NodeSummary) XXX_DiscardUnknown()
- func (m *NodeSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NodeSummary) XXX_Merge(src proto.Message)
- func (m *NodeSummary) XXX_Size() int
- func (m *NodeSummary) XXX_Unmarshal(b []byte) error
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)
- func (m *Profile) GetControlStats() []*ControlStats
- func (m *Profile) GetProfileList() []*ProfileList
- func (m *Profile) GetProfileSummary() *ProfileSummary
- func (*Profile) ProtoMessage()
- func (m *Profile) Reset()
- func (m *Profile) String() string
- func (m *Profile) XXX_DiscardUnknown()
- func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Profile) XXX_Merge(src proto.Message)
- func (m *Profile) XXX_Size() int
- func (m *Profile) XXX_Unmarshal(b []byte) error
- type ProfileList
- func (*ProfileList) Descriptor() ([]byte, []int)
- func (m *ProfileList) GetCriticals() int32
- func (m *ProfileList) GetFailures() int32
- func (m *ProfileList) GetId() string
- func (m *ProfileList) GetMajors() int32
- func (m *ProfileList) GetMinors() int32
- func (m *ProfileList) GetName() string
- func (m *ProfileList) GetPassed() int32
- func (m *ProfileList) GetSkipped() int32
- func (*ProfileList) ProtoMessage()
- func (m *ProfileList) Reset()
- func (m *ProfileList) String() string
- func (m *ProfileList) XXX_DiscardUnknown()
- func (m *ProfileList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProfileList) XXX_Merge(src proto.Message)
- func (m *ProfileList) XXX_Size() int
- func (m *ProfileList) XXX_Unmarshal(b []byte) error
- type ProfileSummary
- func (*ProfileSummary) Descriptor() ([]byte, []int)
- func (m *ProfileSummary) GetCopyright() string
- func (m *ProfileSummary) GetCopyrightEmail() string
- func (m *ProfileSummary) GetLicense() string
- func (m *ProfileSummary) GetMaintainer() string
- func (m *ProfileSummary) GetName() string
- func (m *ProfileSummary) GetStats() *ProfileSummaryStats
- func (m *ProfileSummary) GetSummary() string
- func (m *ProfileSummary) GetSupports() []*Support
- func (m *ProfileSummary) GetTitle() string
- func (m *ProfileSummary) GetVersion() string
- func (*ProfileSummary) ProtoMessage()
- func (m *ProfileSummary) Reset()
- func (m *ProfileSummary) String() string
- func (m *ProfileSummary) XXX_DiscardUnknown()
- func (m *ProfileSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProfileSummary) XXX_Merge(src proto.Message)
- func (m *ProfileSummary) XXX_Size() int
- func (m *ProfileSummary) XXX_Unmarshal(b []byte) error
- type ProfileSummaryStats
- func (*ProfileSummaryStats) Descriptor() ([]byte, []int)
- func (m *ProfileSummaryStats) GetFailed() int32
- func (m *ProfileSummaryStats) GetFailedNodes() int32
- func (m *ProfileSummaryStats) GetPassed() int32
- func (m *ProfileSummaryStats) GetSkipped() int32
- func (m *ProfileSummaryStats) GetTotalNodes() int32
- func (*ProfileSummaryStats) ProtoMessage()
- func (m *ProfileSummaryStats) Reset()
- func (m *ProfileSummaryStats) String() string
- func (m *ProfileSummaryStats) XXX_DiscardUnknown()
- func (m *ProfileSummaryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProfileSummaryStats) XXX_Merge(src proto.Message)
- func (m *ProfileSummaryStats) XXX_Size() int
- func (m *ProfileSummaryStats) XXX_Unmarshal(b []byte) error
- type Query
- func (*Query) Descriptor() ([]byte, []int)
- func (m *Query) GetFilters() []*ListFilter
- func (m *Query) GetId() string
- func (m *Query) GetInterval() int32
- func (m *Query) GetOrder() Query_OrderType
- func (m *Query) GetPage() int32
- func (m *Query) GetPerPage() int32
- func (m *Query) GetSize() int32
- func (m *Query) GetSort() string
- func (m *Query) GetType() string
- func (*Query) ProtoMessage()
- func (m *Query) Reset()
- func (m *Query) String() string
- func (m *Query) XXX_DiscardUnknown()
- func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Query) XXX_Merge(src proto.Message)
- func (m *Query) XXX_Size() int
- func (m *Query) XXX_Unmarshal(b []byte) error
- type Query_OrderType
- type ReportSummary
- func (*ReportSummary) Descriptor() ([]byte, []int)
- func (m *ReportSummary) GetDuration() float64
- func (m *ReportSummary) GetStartDate() string
- func (m *ReportSummary) GetStats() *Stats
- func (m *ReportSummary) GetStatus() string
- func (*ReportSummary) ProtoMessage()
- func (m *ReportSummary) Reset()
- func (m *ReportSummary) String() string
- func (m *ReportSummary) XXX_DiscardUnknown()
- func (m *ReportSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReportSummary) XXX_Merge(src proto.Message)
- func (m *ReportSummary) XXX_Size() int
- func (m *ReportSummary) XXX_Unmarshal(b []byte) error
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)
- func (m *Stats) GetEnvironments() int32
- func (m *Stats) GetNodes() int64
- func (m *Stats) GetPlatforms() int32
- func (m *Stats) GetProfiles() int32
- func (*Stats) ProtoMessage()
- func (m *Stats) Reset()
- func (m *Stats) String() string
- func (m *Stats) XXX_DiscardUnknown()
- func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Stats) XXX_Merge(src proto.Message)
- func (m *Stats) XXX_Size() int
- func (m *Stats) XXX_Unmarshal(b []byte) error
- type StatsServiceClient
- type StatsServiceServer
- type Summary
- func (*Summary) Descriptor() ([]byte, []int)
- func (m *Summary) GetControlsSummary() *ControlsSummary
- func (m *Summary) GetNodeSummary() *NodeSummary
- func (m *Summary) GetReportSummary() *ReportSummary
- func (*Summary) ProtoMessage()
- func (m *Summary) Reset()
- func (m *Summary) String() string
- func (m *Summary) XXX_DiscardUnknown()
- func (m *Summary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Summary) XXX_Merge(src proto.Message)
- func (m *Summary) XXX_Size() int
- func (m *Summary) XXX_Unmarshal(b []byte) error
- type Support
- func (*Support) Descriptor() ([]byte, []int)
- func (m *Support) GetInspecVersion() string
- func (m *Support) GetOsFamily() string
- func (m *Support) GetOsName() string
- func (m *Support) GetPlatform() string
- func (m *Support) GetPlatformFamily() string
- func (m *Support) GetPlatformName() string
- func (m *Support) GetRelease() string
- func (*Support) ProtoMessage()
- func (m *Support) Reset()
- func (m *Support) String() string
- func (m *Support) XXX_DiscardUnknown()
- func (m *Support) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Support) XXX_Merge(src proto.Message)
- func (m *Support) XXX_Size() int
- func (m *Support) XXX_Unmarshal(b []byte) error
- type Trend
- func (*Trend) Descriptor() ([]byte, []int)
- func (m *Trend) GetFailed() int32
- func (m *Trend) GetPassed() int32
- func (m *Trend) GetReportTime() string
- func (m *Trend) GetSkipped() int32
- func (*Trend) ProtoMessage()
- func (m *Trend) Reset()
- func (m *Trend) String() string
- func (m *Trend) XXX_DiscardUnknown()
- func (m *Trend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Trend) XXX_Merge(src proto.Message)
- func (m *Trend) XXX_Size() int
- func (m *Trend) XXX_Unmarshal(b []byte) error
- type Trends
- func (*Trends) Descriptor() ([]byte, []int)
- func (m *Trends) GetTrends() []*Trend
- func (*Trends) ProtoMessage()
- func (m *Trends) Reset()
- func (m *Trends) String() string
- func (m *Trends) XXX_DiscardUnknown()
- func (m *Trends) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Trends) XXX_Merge(src proto.Message)
- func (m *Trends) XXX_Size() int
- func (m *Trends) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Query_OrderType_name = map[int32]string{
0: "ASC",
1: "DESC",
}
View Source
var Query_OrderType_value = map[string]int32{
"ASC": 0,
"DESC": 1,
}
Functions ¶
func RegisterStatsServiceServer ¶
func RegisterStatsServiceServer(s *grpc.Server, srv StatsServiceServer)
Types ¶
type ControlStats ¶
type ControlStats struct { Control string `protobuf:"bytes,1,opt,name=control,proto3" json:"control,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Passed int32 `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty"` Failed int32 `protobuf:"varint,4,opt,name=failed,proto3" json:"failed,omitempty"` Skipped int32 `protobuf:"varint,5,opt,name=skipped,proto3" json:"skipped,omitempty"` Impact float32 `protobuf:"fixed32,6,opt,name=impact,proto3" json:"impact,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ControlStats) Descriptor ¶
func (*ControlStats) Descriptor() ([]byte, []int)
func (*ControlStats) GetControl ¶
func (m *ControlStats) GetControl() string
func (*ControlStats) GetFailed ¶
func (m *ControlStats) GetFailed() int32
func (*ControlStats) GetImpact ¶
func (m *ControlStats) GetImpact() float32
func (*ControlStats) GetPassed ¶
func (m *ControlStats) GetPassed() int32
func (*ControlStats) GetSkipped ¶
func (m *ControlStats) GetSkipped() int32
func (*ControlStats) GetTitle ¶
func (m *ControlStats) GetTitle() string
func (*ControlStats) ProtoMessage ¶
func (*ControlStats) ProtoMessage()
func (*ControlStats) Reset ¶
func (m *ControlStats) Reset()
func (*ControlStats) String ¶
func (m *ControlStats) String() string
func (*ControlStats) XXX_DiscardUnknown ¶
func (m *ControlStats) XXX_DiscardUnknown()
func (*ControlStats) XXX_Marshal ¶
func (m *ControlStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ControlStats) XXX_Merge ¶
func (dst *ControlStats) XXX_Merge(src proto.Message)
func (*ControlStats) XXX_Size ¶
func (m *ControlStats) XXX_Size() int
func (*ControlStats) XXX_Unmarshal ¶
func (m *ControlStats) XXX_Unmarshal(b []byte) error
type ControlsSummary ¶
type ControlsSummary struct { Failures int32 `protobuf:"varint,1,opt,name=failures,proto3" json:"failures,omitempty"` Majors int32 `protobuf:"varint,2,opt,name=majors,proto3" json:"majors,omitempty"` Minors int32 `protobuf:"varint,3,opt,name=minors,proto3" json:"minors,omitempty"` Criticals int32 `protobuf:"varint,4,opt,name=criticals,proto3" json:"criticals,omitempty"` Passed int32 `protobuf:"varint,5,opt,name=passed,proto3" json:"passed,omitempty"` Skipped int32 `protobuf:"varint,6,opt,name=skipped,proto3" json:"skipped,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ControlsSummary) Descriptor ¶
func (*ControlsSummary) Descriptor() ([]byte, []int)
func (*ControlsSummary) GetCriticals ¶
func (m *ControlsSummary) GetCriticals() int32
func (*ControlsSummary) GetFailures ¶
func (m *ControlsSummary) GetFailures() int32
func (*ControlsSummary) GetMajors ¶
func (m *ControlsSummary) GetMajors() int32
func (*ControlsSummary) GetMinors ¶
func (m *ControlsSummary) GetMinors() int32
func (*ControlsSummary) GetPassed ¶
func (m *ControlsSummary) GetPassed() int32
func (*ControlsSummary) GetSkipped ¶
func (m *ControlsSummary) GetSkipped() int32
func (*ControlsSummary) ProtoMessage ¶
func (*ControlsSummary) ProtoMessage()
func (*ControlsSummary) Reset ¶
func (m *ControlsSummary) Reset()
func (*ControlsSummary) String ¶
func (m *ControlsSummary) String() string
func (*ControlsSummary) XXX_DiscardUnknown ¶
func (m *ControlsSummary) XXX_DiscardUnknown()
func (*ControlsSummary) XXX_Marshal ¶
func (m *ControlsSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ControlsSummary) XXX_Merge ¶
func (dst *ControlsSummary) XXX_Merge(src proto.Message)
func (*ControlsSummary) XXX_Size ¶
func (m *ControlsSummary) XXX_Size() int
func (*ControlsSummary) XXX_Unmarshal ¶
func (m *ControlsSummary) XXX_Unmarshal(b []byte) error
type FailureSummary ¶
type FailureSummary struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Failures int32 `protobuf:"varint,2,opt,name=failures,proto3" json:"failures,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Profile string `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FailureSummary) Descriptor ¶
func (*FailureSummary) Descriptor() ([]byte, []int)
func (*FailureSummary) GetFailures ¶
func (m *FailureSummary) GetFailures() int32
func (*FailureSummary) GetId ¶
func (m *FailureSummary) GetId() string
func (*FailureSummary) GetName ¶
func (m *FailureSummary) GetName() string
func (*FailureSummary) GetProfile ¶
func (m *FailureSummary) GetProfile() string
func (*FailureSummary) ProtoMessage ¶
func (*FailureSummary) ProtoMessage()
func (*FailureSummary) Reset ¶
func (m *FailureSummary) Reset()
func (*FailureSummary) String ¶
func (m *FailureSummary) String() string
func (*FailureSummary) XXX_DiscardUnknown ¶
func (m *FailureSummary) XXX_DiscardUnknown()
func (*FailureSummary) XXX_Marshal ¶
func (m *FailureSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FailureSummary) XXX_Merge ¶
func (dst *FailureSummary) XXX_Merge(src proto.Message)
func (*FailureSummary) XXX_Size ¶
func (m *FailureSummary) XXX_Size() int
func (*FailureSummary) XXX_Unmarshal ¶
func (m *FailureSummary) XXX_Unmarshal(b []byte) error
type Failures ¶
type Failures struct { Profiles []*FailureSummary `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` Platforms []*FailureSummary `protobuf:"bytes,2,rep,name=platforms,proto3" json:"platforms,omitempty"` Controls []*FailureSummary `protobuf:"bytes,3,rep,name=controls,proto3" json:"controls,omitempty"` Environments []*FailureSummary `protobuf:"bytes,4,rep,name=environments,proto3" json:"environments,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Failures) Descriptor ¶
func (*Failures) GetControls ¶
func (m *Failures) GetControls() []*FailureSummary
func (*Failures) GetEnvironments ¶
func (m *Failures) GetEnvironments() []*FailureSummary
func (*Failures) GetPlatforms ¶
func (m *Failures) GetPlatforms() []*FailureSummary
func (*Failures) GetProfiles ¶
func (m *Failures) GetProfiles() []*FailureSummary
func (*Failures) ProtoMessage ¶
func (*Failures) ProtoMessage()
func (*Failures) XXX_DiscardUnknown ¶
func (m *Failures) XXX_DiscardUnknown()
func (*Failures) XXX_Marshal ¶
func (*Failures) XXX_Unmarshal ¶
type ListFilter ¶
type ListFilter struct { Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty"` Type string `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListFilter) Descriptor ¶
func (*ListFilter) Descriptor() ([]byte, []int)
func (*ListFilter) GetType ¶
func (m *ListFilter) GetType() string
func (*ListFilter) GetValues ¶
func (m *ListFilter) GetValues() []string
func (*ListFilter) ProtoMessage ¶
func (*ListFilter) ProtoMessage()
func (*ListFilter) Reset ¶
func (m *ListFilter) Reset()
func (*ListFilter) String ¶
func (m *ListFilter) String() string
func (*ListFilter) XXX_DiscardUnknown ¶
func (m *ListFilter) XXX_DiscardUnknown()
func (*ListFilter) XXX_Marshal ¶
func (m *ListFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListFilter) XXX_Merge ¶
func (dst *ListFilter) XXX_Merge(src proto.Message)
func (*ListFilter) XXX_Size ¶
func (m *ListFilter) XXX_Size() int
func (*ListFilter) XXX_Unmarshal ¶
func (m *ListFilter) XXX_Unmarshal(b []byte) error
type NodeSummary ¶
type NodeSummary struct { Compliant int32 `protobuf:"varint,1,opt,name=compliant,proto3" json:"compliant,omitempty"` Skipped int32 `protobuf:"varint,2,opt,name=skipped,proto3" json:"skipped,omitempty"` Noncompliant int32 `protobuf:"varint,3,opt,name=noncompliant,proto3" json:"noncompliant,omitempty"` HighRisk int32 `protobuf:"varint,4,opt,name=high_risk,json=highRisk,proto3" json:"high_risk,omitempty"` MediumRisk int32 `protobuf:"varint,5,opt,name=medium_risk,json=mediumRisk,proto3" json:"medium_risk,omitempty"` LowRisk int32 `protobuf:"varint,6,opt,name=low_risk,json=lowRisk,proto3" json:"low_risk,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeSummary) Descriptor ¶
func (*NodeSummary) Descriptor() ([]byte, []int)
func (*NodeSummary) GetCompliant ¶
func (m *NodeSummary) GetCompliant() int32
func (*NodeSummary) GetHighRisk ¶
func (m *NodeSummary) GetHighRisk() int32
func (*NodeSummary) GetLowRisk ¶
func (m *NodeSummary) GetLowRisk() int32
func (*NodeSummary) GetMediumRisk ¶
func (m *NodeSummary) GetMediumRisk() int32
func (*NodeSummary) GetNoncompliant ¶
func (m *NodeSummary) GetNoncompliant() int32
func (*NodeSummary) GetSkipped ¶
func (m *NodeSummary) GetSkipped() int32
func (*NodeSummary) ProtoMessage ¶
func (*NodeSummary) ProtoMessage()
func (*NodeSummary) Reset ¶
func (m *NodeSummary) Reset()
func (*NodeSummary) String ¶
func (m *NodeSummary) String() string
func (*NodeSummary) XXX_DiscardUnknown ¶
func (m *NodeSummary) XXX_DiscardUnknown()
func (*NodeSummary) XXX_Marshal ¶
func (m *NodeSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeSummary) XXX_Merge ¶
func (dst *NodeSummary) XXX_Merge(src proto.Message)
func (*NodeSummary) XXX_Size ¶
func (m *NodeSummary) XXX_Size() int
func (*NodeSummary) XXX_Unmarshal ¶
func (m *NodeSummary) XXX_Unmarshal(b []byte) error
type Profile ¶
type Profile struct { ProfileList []*ProfileList `protobuf:"bytes,1,rep,name=profile_list,json=profileList,proto3" json:"profile_list,omitempty"` ProfileSummary *ProfileSummary `protobuf:"bytes,2,opt,name=profile_summary,json=profileSummary,proto3" json:"profile_summary,omitempty"` ControlStats []*ControlStats `protobuf:"bytes,3,rep,name=control_stats,json=controlStats,proto3" json:"control_stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Profile) Descriptor ¶
func (*Profile) GetControlStats ¶
func (m *Profile) GetControlStats() []*ControlStats
func (*Profile) GetProfileList ¶
func (m *Profile) GetProfileList() []*ProfileList
func (*Profile) GetProfileSummary ¶
func (m *Profile) GetProfileSummary() *ProfileSummary
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) XXX_DiscardUnknown ¶
func (m *Profile) XXX_DiscardUnknown()
func (*Profile) XXX_Marshal ¶
func (*Profile) XXX_Unmarshal ¶
type ProfileList ¶
type ProfileList struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Failures int32 `protobuf:"varint,3,opt,name=failures,proto3" json:"failures,omitempty"` Majors int32 `protobuf:"varint,4,opt,name=majors,proto3" json:"majors,omitempty"` Minors int32 `protobuf:"varint,5,opt,name=minors,proto3" json:"minors,omitempty"` Criticals int32 `protobuf:"varint,6,opt,name=criticals,proto3" json:"criticals,omitempty"` Passed int32 `protobuf:"varint,7,opt,name=passed,proto3" json:"passed,omitempty"` Skipped int32 `protobuf:"varint,8,opt,name=skipped,proto3" json:"skipped,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProfileList) Descriptor ¶
func (*ProfileList) Descriptor() ([]byte, []int)
func (*ProfileList) GetCriticals ¶
func (m *ProfileList) GetCriticals() int32
func (*ProfileList) GetFailures ¶
func (m *ProfileList) GetFailures() int32
func (*ProfileList) GetId ¶
func (m *ProfileList) GetId() string
func (*ProfileList) GetMajors ¶
func (m *ProfileList) GetMajors() int32
func (*ProfileList) GetMinors ¶
func (m *ProfileList) GetMinors() int32
func (*ProfileList) GetName ¶
func (m *ProfileList) GetName() string
func (*ProfileList) GetPassed ¶
func (m *ProfileList) GetPassed() int32
func (*ProfileList) GetSkipped ¶
func (m *ProfileList) GetSkipped() int32
func (*ProfileList) ProtoMessage ¶
func (*ProfileList) ProtoMessage()
func (*ProfileList) Reset ¶
func (m *ProfileList) Reset()
func (*ProfileList) String ¶
func (m *ProfileList) String() string
func (*ProfileList) XXX_DiscardUnknown ¶
func (m *ProfileList) XXX_DiscardUnknown()
func (*ProfileList) XXX_Marshal ¶
func (m *ProfileList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProfileList) XXX_Merge ¶
func (dst *ProfileList) XXX_Merge(src proto.Message)
func (*ProfileList) XXX_Size ¶
func (m *ProfileList) XXX_Size() int
func (*ProfileList) XXX_Unmarshal ¶
func (m *ProfileList) XXX_Unmarshal(b []byte) error
type ProfileSummary ¶
type ProfileSummary struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` License string `protobuf:"bytes,4,opt,name=license,proto3" json:"license,omitempty"` Maintainer string `protobuf:"bytes,5,opt,name=maintainer,proto3" json:"maintainer,omitempty"` Copyright string `protobuf:"bytes,6,opt,name=copyright,proto3" json:"copyright,omitempty"` CopyrightEmail string `protobuf:"bytes,7,opt,name=copyright_email,json=copyrightEmail,proto3" json:"copyright_email,omitempty"` Summary string `protobuf:"bytes,8,opt,name=summary,proto3" json:"summary,omitempty"` Supports []*Support `protobuf:"bytes,9,rep,name=supports,proto3" json:"supports,omitempty"` Stats *ProfileSummaryStats `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProfileSummary) Descriptor ¶
func (*ProfileSummary) Descriptor() ([]byte, []int)
func (*ProfileSummary) GetCopyright ¶
func (m *ProfileSummary) GetCopyright() string
func (*ProfileSummary) GetCopyrightEmail ¶
func (m *ProfileSummary) GetCopyrightEmail() string
func (*ProfileSummary) GetLicense ¶
func (m *ProfileSummary) GetLicense() string
func (*ProfileSummary) GetMaintainer ¶
func (m *ProfileSummary) GetMaintainer() string
func (*ProfileSummary) GetName ¶
func (m *ProfileSummary) GetName() string
func (*ProfileSummary) GetStats ¶
func (m *ProfileSummary) GetStats() *ProfileSummaryStats
func (*ProfileSummary) GetSummary ¶
func (m *ProfileSummary) GetSummary() string
func (*ProfileSummary) GetSupports ¶
func (m *ProfileSummary) GetSupports() []*Support
func (*ProfileSummary) GetTitle ¶
func (m *ProfileSummary) GetTitle() string
func (*ProfileSummary) GetVersion ¶
func (m *ProfileSummary) GetVersion() string
func (*ProfileSummary) ProtoMessage ¶
func (*ProfileSummary) ProtoMessage()
func (*ProfileSummary) Reset ¶
func (m *ProfileSummary) Reset()
func (*ProfileSummary) String ¶
func (m *ProfileSummary) String() string
func (*ProfileSummary) XXX_DiscardUnknown ¶
func (m *ProfileSummary) XXX_DiscardUnknown()
func (*ProfileSummary) XXX_Marshal ¶
func (m *ProfileSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProfileSummary) XXX_Merge ¶
func (dst *ProfileSummary) XXX_Merge(src proto.Message)
func (*ProfileSummary) XXX_Size ¶
func (m *ProfileSummary) XXX_Size() int
func (*ProfileSummary) XXX_Unmarshal ¶
func (m *ProfileSummary) XXX_Unmarshal(b []byte) error
type ProfileSummaryStats ¶
type ProfileSummaryStats struct { Failed int32 `protobuf:"varint,1,opt,name=failed,proto3" json:"failed,omitempty"` Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"` Skipped int32 `protobuf:"varint,3,opt,name=skipped,proto3" json:"skipped,omitempty"` FailedNodes int32 `protobuf:"varint,4,opt,name=failed_nodes,json=failedNodes,proto3" json:"failed_nodes,omitempty"` TotalNodes int32 `protobuf:"varint,5,opt,name=total_nodes,json=totalNodes,proto3" json:"total_nodes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProfileSummaryStats) Descriptor ¶
func (*ProfileSummaryStats) Descriptor() ([]byte, []int)
func (*ProfileSummaryStats) GetFailed ¶
func (m *ProfileSummaryStats) GetFailed() int32
func (*ProfileSummaryStats) GetFailedNodes ¶
func (m *ProfileSummaryStats) GetFailedNodes() int32
func (*ProfileSummaryStats) GetPassed ¶
func (m *ProfileSummaryStats) GetPassed() int32
func (*ProfileSummaryStats) GetSkipped ¶
func (m *ProfileSummaryStats) GetSkipped() int32
func (*ProfileSummaryStats) GetTotalNodes ¶
func (m *ProfileSummaryStats) GetTotalNodes() int32
func (*ProfileSummaryStats) ProtoMessage ¶
func (*ProfileSummaryStats) ProtoMessage()
func (*ProfileSummaryStats) Reset ¶
func (m *ProfileSummaryStats) Reset()
func (*ProfileSummaryStats) String ¶
func (m *ProfileSummaryStats) String() string
func (*ProfileSummaryStats) XXX_DiscardUnknown ¶
func (m *ProfileSummaryStats) XXX_DiscardUnknown()
func (*ProfileSummaryStats) XXX_Marshal ¶
func (m *ProfileSummaryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProfileSummaryStats) XXX_Merge ¶
func (dst *ProfileSummaryStats) XXX_Merge(src proto.Message)
func (*ProfileSummaryStats) XXX_Size ¶
func (m *ProfileSummaryStats) XXX_Size() int
func (*ProfileSummaryStats) XXX_Unmarshal ¶
func (m *ProfileSummaryStats) XXX_Unmarshal(b []byte) error
type Query ¶
type Query struct { Id string `protobuf:"bytes,17,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,19,opt,name=type,proto3" json:"type,omitempty"` Size int32 `protobuf:"varint,18,opt,name=size,proto3" json:"size,omitempty"` Interval int32 `protobuf:"varint,25,opt,name=interval,proto3" json:"interval,omitempty"` Filters []*ListFilter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty"` Order Query_OrderType `` /* 128-byte string literal not displayed */ Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty"` Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,24,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Query) Descriptor ¶
func (*Query) GetFilters ¶
func (m *Query) GetFilters() []*ListFilter
func (*Query) GetInterval ¶
func (*Query) GetOrder ¶
func (m *Query) GetOrder() Query_OrderType
func (*Query) GetPerPage ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) XXX_DiscardUnknown ¶
func (m *Query) XXX_DiscardUnknown()
func (*Query) XXX_Marshal ¶
func (*Query) XXX_Unmarshal ¶
type Query_OrderType ¶
type Query_OrderType int32
const ( Query_ASC Query_OrderType = 0 Query_DESC Query_OrderType = 1 )
func (Query_OrderType) EnumDescriptor ¶
func (Query_OrderType) EnumDescriptor() ([]byte, []int)
func (Query_OrderType) String ¶
func (x Query_OrderType) String() string
type ReportSummary ¶
type ReportSummary struct { Stats *Stats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"` Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Duration float64 `protobuf:"fixed64,2,opt,name=duration,proto3" json:"duration,omitempty"` StartDate string `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReportSummary) Descriptor ¶
func (*ReportSummary) Descriptor() ([]byte, []int)
func (*ReportSummary) GetDuration ¶
func (m *ReportSummary) GetDuration() float64
func (*ReportSummary) GetStartDate ¶
func (m *ReportSummary) GetStartDate() string
func (*ReportSummary) GetStats ¶
func (m *ReportSummary) GetStats() *Stats
func (*ReportSummary) GetStatus ¶
func (m *ReportSummary) GetStatus() string
func (*ReportSummary) ProtoMessage ¶
func (*ReportSummary) ProtoMessage()
func (*ReportSummary) Reset ¶
func (m *ReportSummary) Reset()
func (*ReportSummary) String ¶
func (m *ReportSummary) String() string
func (*ReportSummary) XXX_DiscardUnknown ¶
func (m *ReportSummary) XXX_DiscardUnknown()
func (*ReportSummary) XXX_Marshal ¶
func (m *ReportSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportSummary) XXX_Merge ¶
func (dst *ReportSummary) XXX_Merge(src proto.Message)
func (*ReportSummary) XXX_Size ¶
func (m *ReportSummary) XXX_Size() int
func (*ReportSummary) XXX_Unmarshal ¶
func (m *ReportSummary) XXX_Unmarshal(b []byte) error
type Stats ¶
type Stats struct { Nodes int64 `protobuf:"varint,1,opt,name=nodes,proto3" json:"nodes,omitempty"` Platforms int32 `protobuf:"varint,2,opt,name=platforms,proto3" json:"platforms,omitempty"` Environments int32 `protobuf:"varint,3,opt,name=environments,proto3" json:"environments,omitempty"` Profiles int32 `protobuf:"varint,4,opt,name=profiles,proto3" json:"profiles,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Stats) Descriptor ¶
func (*Stats) GetEnvironments ¶
func (*Stats) GetPlatforms ¶
func (*Stats) GetProfiles ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) XXX_DiscardUnknown ¶
func (m *Stats) XXX_DiscardUnknown()
func (*Stats) XXX_Marshal ¶
func (*Stats) XXX_Unmarshal ¶
type StatsServiceClient ¶
type StatsServiceClient interface { ReadSummary(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Summary, error) ReadTrend(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Trends, error) ReadProfiles(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Profile, error) ReadFailures(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Failures, error) }
StatsServiceClient is the client API for StatsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStatsServiceClient ¶
func NewStatsServiceClient(cc *grpc.ClientConn) StatsServiceClient
type StatsServiceServer ¶
type StatsServiceServer interface { ReadSummary(context.Context, *Query) (*Summary, error) ReadTrend(context.Context, *Query) (*Trends, error) ReadProfiles(context.Context, *Query) (*Profile, error) ReadFailures(context.Context, *Query) (*Failures, error) }
StatsServiceServer is the server API for StatsService service.
type Summary ¶
type Summary struct { ControlsSummary *ControlsSummary `protobuf:"bytes,1,opt,name=controls_summary,json=controlsSummary,proto3" json:"controls_summary,omitempty"` NodeSummary *NodeSummary `protobuf:"bytes,2,opt,name=node_summary,json=nodeSummary,proto3" json:"node_summary,omitempty"` ReportSummary *ReportSummary `protobuf:"bytes,3,opt,name=report_summary,json=reportSummary,proto3" json:"report_summary,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Summary) Descriptor ¶
func (*Summary) GetControlsSummary ¶
func (m *Summary) GetControlsSummary() *ControlsSummary
func (*Summary) GetNodeSummary ¶
func (m *Summary) GetNodeSummary() *NodeSummary
func (*Summary) GetReportSummary ¶
func (m *Summary) GetReportSummary() *ReportSummary
func (*Summary) ProtoMessage ¶
func (*Summary) ProtoMessage()
func (*Summary) XXX_DiscardUnknown ¶
func (m *Summary) XXX_DiscardUnknown()
func (*Summary) XXX_Marshal ¶
func (*Summary) XXX_Unmarshal ¶
type Support ¶
type Support struct { OsName string `protobuf:"bytes,1,opt,name=os_name,json=os-name,proto3" json:"os_name,omitempty"` OsFamily string `protobuf:"bytes,2,opt,name=os_family,json=os-family,proto3" json:"os_family,omitempty"` Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty"` InspecVersion string `protobuf:"bytes,4,opt,name=inspec_version,json=inspecVersion,proto3" json:"inspec_version,omitempty"` PlatformName string `protobuf:"bytes,5,opt,name=platform_name,json=platform-name,proto3" json:"platform_name,omitempty"` PlatformFamily string `protobuf:"bytes,6,opt,name=platform_family,json=platform-family,proto3" json:"platform_family,omitempty"` Platform string `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Support) Descriptor ¶
func (*Support) GetInspecVersion ¶
func (*Support) GetOsFamily ¶
func (*Support) GetPlatform ¶
func (*Support) GetPlatformFamily ¶
func (*Support) GetPlatformName ¶
func (*Support) GetRelease ¶
func (*Support) ProtoMessage ¶
func (*Support) ProtoMessage()
func (*Support) XXX_DiscardUnknown ¶
func (m *Support) XXX_DiscardUnknown()
func (*Support) XXX_Marshal ¶
func (*Support) XXX_Unmarshal ¶
type Trend ¶
type Trend struct { ReportTime string `protobuf:"bytes,1,opt,name=report_time,json=reportTime,proto3" json:"report_time,omitempty"` Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty"` Failed int32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty"` Skipped int32 `protobuf:"varint,4,opt,name=skipped,proto3" json:"skipped,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Trend) Descriptor ¶
func (*Trend) GetReportTime ¶
func (*Trend) GetSkipped ¶
func (*Trend) ProtoMessage ¶
func (*Trend) ProtoMessage()
func (*Trend) XXX_DiscardUnknown ¶
func (m *Trend) XXX_DiscardUnknown()
func (*Trend) XXX_Marshal ¶
func (*Trend) XXX_Unmarshal ¶
type Trends ¶
type Trends struct { Trends []*Trend `protobuf:"bytes,1,rep,name=trends,proto3" json:"trends,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Trends) Descriptor ¶
func (*Trends) ProtoMessage ¶
func (*Trends) ProtoMessage()
func (*Trends) XXX_DiscardUnknown ¶
func (m *Trends) XXX_DiscardUnknown()
func (*Trends) XXX_Marshal ¶
func (*Trends) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.