Documentation ¶
Index ¶
- Variables
- func RegisterStatsServiceServer(s *grpc.Server, srv StatsServiceServer)
- type ControlStats
- func (*ControlStats) Descriptor() ([]byte, []int)deprecated
- func (x *ControlStats) GetControl() string
- func (x *ControlStats) GetFailed() int32
- func (x *ControlStats) GetImpact() float32
- func (x *ControlStats) GetPassed() int32
- func (x *ControlStats) GetSkipped() int32
- func (x *ControlStats) GetTitle() string
- func (x *ControlStats) GetWaived() int32
- func (*ControlStats) ProtoMessage()
- func (x *ControlStats) ProtoReflect() protoreflect.Message
- func (x *ControlStats) Reset()
- func (x *ControlStats) String() string
- type ControlsSummary
- func (*ControlsSummary) Descriptor() ([]byte, []int)deprecated
- func (x *ControlsSummary) GetCriticals() int32
- func (x *ControlsSummary) GetFailures() int32
- func (x *ControlsSummary) GetMajors() int32
- func (x *ControlsSummary) GetMinors() int32
- func (x *ControlsSummary) GetPassed() int32
- func (x *ControlsSummary) GetSkipped() int32
- func (x *ControlsSummary) GetWaived() int32
- func (*ControlsSummary) ProtoMessage()
- func (x *ControlsSummary) ProtoReflect() protoreflect.Message
- func (x *ControlsSummary) Reset()
- func (x *ControlsSummary) String() string
- type FailureSummary
- func (*FailureSummary) Descriptor() ([]byte, []int)deprecated
- func (x *FailureSummary) GetFailures() int32
- func (x *FailureSummary) GetId() string
- func (x *FailureSummary) GetName() string
- func (x *FailureSummary) GetProfile() string
- func (*FailureSummary) ProtoMessage()
- func (x *FailureSummary) ProtoReflect() protoreflect.Message
- func (x *FailureSummary) Reset()
- func (x *FailureSummary) String() string
- type Failures
- func (*Failures) Descriptor() ([]byte, []int)deprecated
- func (x *Failures) GetControls() []*FailureSummary
- func (x *Failures) GetEnvironments() []*FailureSummary
- func (x *Failures) GetPlatforms() []*FailureSummary
- func (x *Failures) GetProfiles() []*FailureSummary
- func (*Failures) ProtoMessage()
- func (x *Failures) ProtoReflect() protoreflect.Message
- func (x *Failures) Reset()
- func (x *Failures) String() string
- type GetNodesUsageCountRequest
- type GetNodesUsageCountResponse
- func (*GetNodesUsageCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodesUsageCountResponse) GetDaysSinceLastPost() int64
- func (x *GetNodesUsageCountResponse) GetNodeCnt() int64
- func (*GetNodesUsageCountResponse) ProtoMessage()
- func (x *GetNodesUsageCountResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodesUsageCountResponse) Reset()
- func (x *GetNodesUsageCountResponse) String() string
- type ListFilter
- type NodeSummary
- func (*NodeSummary) Descriptor() ([]byte, []int)deprecated
- func (x *NodeSummary) GetCompliant() int32
- func (x *NodeSummary) GetHighRisk() int32
- func (x *NodeSummary) GetLowRisk() int32
- func (x *NodeSummary) GetMediumRisk() int32
- func (x *NodeSummary) GetNoncompliant() int32
- func (x *NodeSummary) GetSkipped() int32
- func (x *NodeSummary) GetWaived() int32
- func (*NodeSummary) ProtoMessage()
- func (x *NodeSummary) ProtoReflect() protoreflect.Message
- func (x *NodeSummary) Reset()
- func (x *NodeSummary) String() string
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetControlStats() []*ControlStats
- func (x *Profile) GetProfileList() []*ProfileList
- func (x *Profile) GetProfileSummary() *ProfileSummary
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- type ProfileList
- func (*ProfileList) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileList) GetCriticals() int32
- func (x *ProfileList) GetFailures() int32
- func (x *ProfileList) GetId() string
- func (x *ProfileList) GetMajors() int32
- func (x *ProfileList) GetMinors() int32
- func (x *ProfileList) GetName() string
- func (x *ProfileList) GetPassed() int32
- func (x *ProfileList) GetSkipped() int32
- func (x *ProfileList) GetWaived() int32
- func (*ProfileList) ProtoMessage()
- func (x *ProfileList) ProtoReflect() protoreflect.Message
- func (x *ProfileList) Reset()
- func (x *ProfileList) String() string
- type ProfileSummary
- func (*ProfileSummary) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileSummary) GetCopyright() string
- func (x *ProfileSummary) GetCopyrightEmail() string
- func (x *ProfileSummary) GetDepends() []*reporting.Dependency
- func (x *ProfileSummary) GetLicense() string
- func (x *ProfileSummary) GetMaintainer() string
- func (x *ProfileSummary) GetName() string
- func (x *ProfileSummary) GetStats() *ProfileSummaryStats
- func (x *ProfileSummary) GetSummary() string
- func (x *ProfileSummary) GetSupports() []*Support
- func (x *ProfileSummary) GetTitle() string
- func (x *ProfileSummary) GetVersion() string
- func (*ProfileSummary) ProtoMessage()
- func (x *ProfileSummary) ProtoReflect() protoreflect.Message
- func (x *ProfileSummary) Reset()
- func (x *ProfileSummary) String() string
- type ProfileSummaryStats
- func (*ProfileSummaryStats) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileSummaryStats) GetFailed() int32
- func (x *ProfileSummaryStats) GetFailedNodes() int32
- func (x *ProfileSummaryStats) GetPassed() int32
- func (x *ProfileSummaryStats) GetSkipped() int32
- func (x *ProfileSummaryStats) GetTotalNodes() int32
- func (x *ProfileSummaryStats) GetWaived() int32
- func (*ProfileSummaryStats) ProtoMessage()
- func (x *ProfileSummaryStats) ProtoReflect() protoreflect.Message
- func (x *ProfileSummaryStats) Reset()
- func (x *ProfileSummaryStats) String() string
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetFilters() []*ListFilter
- func (x *Query) GetId() string
- func (x *Query) GetInterval() int32
- func (x *Query) GetOrder() Query_OrderType
- func (x *Query) GetPage() int32
- func (x *Query) GetPerPage() int32
- func (x *Query) GetSize() int32
- func (x *Query) GetSort() string
- func (x *Query) GetType() string
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (x *Query) String() string
- type Query_OrderType
- func (Query_OrderType) Descriptor() protoreflect.EnumDescriptor
- func (x Query_OrderType) Enum() *Query_OrderType
- func (Query_OrderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Query_OrderType) Number() protoreflect.EnumNumber
- func (x Query_OrderType) String() string
- func (Query_OrderType) Type() protoreflect.EnumType
- type ReportSummary
- func (*ReportSummary) Descriptor() ([]byte, []int)deprecated
- func (x *ReportSummary) GetDuration() float64
- func (x *ReportSummary) GetStartDate() string
- func (x *ReportSummary) GetStats() *Stats
- func (x *ReportSummary) GetStatus() string
- func (*ReportSummary) ProtoMessage()
- func (x *ReportSummary) ProtoReflect() protoreflect.Message
- func (x *ReportSummary) Reset()
- func (x *ReportSummary) String() string
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)deprecated
- func (x *Stats) GetControls() int32
- func (x *Stats) GetEnvironments() int32
- func (x *Stats) GetNodes() int64deprecated
- func (x *Stats) GetNodesCnt() int32
- func (x *Stats) GetPlatforms() int32
- func (x *Stats) GetProfiles() int32
- func (*Stats) ProtoMessage()
- func (x *Stats) ProtoReflect() protoreflect.Message
- func (x *Stats) Reset()
- func (x *Stats) String() string
- type StatsServiceClient
- type StatsServiceServer
- type Summary
- func (*Summary) Descriptor() ([]byte, []int)deprecated
- func (x *Summary) GetControlsSummary() *ControlsSummary
- func (x *Summary) GetNodeSummary() *NodeSummary
- func (x *Summary) GetReportSummary() *ReportSummary
- func (*Summary) ProtoMessage()
- func (x *Summary) ProtoReflect() protoreflect.Message
- func (x *Summary) Reset()
- func (x *Summary) String() string
- type Support
- func (*Support) Descriptor() ([]byte, []int)deprecated
- func (x *Support) GetInspecVersion() string
- func (x *Support) GetOsFamily() string
- func (x *Support) GetOsName() string
- func (x *Support) GetPlatform() string
- func (x *Support) GetPlatformFamily() string
- func (x *Support) GetPlatformName() string
- func (x *Support) GetRelease() string
- func (*Support) ProtoMessage()
- func (x *Support) ProtoReflect() protoreflect.Message
- func (x *Support) Reset()
- func (x *Support) String() string
- type Trend
- func (*Trend) Descriptor() ([]byte, []int)deprecated
- func (x *Trend) GetFailed() int32
- func (x *Trend) GetPassed() int32
- func (x *Trend) GetReportTime() string
- func (x *Trend) GetSkipped() int32
- func (x *Trend) GetWaived() int32
- func (*Trend) ProtoMessage()
- func (x *Trend) ProtoReflect() protoreflect.Message
- func (x *Trend) Reset()
- func (x *Trend) String() string
- type Trends
- type UnimplementedStatsServiceServer
- func (*UnimplementedStatsServiceServer) GetNodesUsageCount(context.Context, *GetNodesUsageCountRequest) (*GetNodesUsageCountResponse, error)
- func (*UnimplementedStatsServiceServer) ReadFailures(context.Context, *Query) (*Failures, error)
- func (*UnimplementedStatsServiceServer) ReadProfiles(context.Context, *Query) (*Profile, error)
- func (*UnimplementedStatsServiceServer) ReadSummary(context.Context, *Query) (*Summary, error)
- func (*UnimplementedStatsServiceServer) ReadTrend(context.Context, *Query) (*Trends, error)
- func (*UnimplementedStatsServiceServer) UpdateTelemetryReported(context.Context, *UpdateTelemetryReportedRequest) (*UpdateTelemetryReportedResponse, error)
- type UpdateTelemetryReportedRequest
- func (*UpdateTelemetryReportedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTelemetryReportedRequest) GetLastTelemetryReportedAt() string
- func (*UpdateTelemetryReportedRequest) ProtoMessage()
- func (x *UpdateTelemetryReportedRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTelemetryReportedRequest) Reset()
- func (x *UpdateTelemetryReportedRequest) String() string
- type UpdateTelemetryReportedResponse
- func (*UpdateTelemetryReportedResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateTelemetryReportedResponse) ProtoMessage()
- func (x *UpdateTelemetryReportedResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTelemetryReportedResponse) Reset()
- func (x *UpdateTelemetryReportedResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Query_OrderType_name = map[int32]string{ 0: "ASC", 1: "DESC", } Query_OrderType_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for Query_OrderType.
var File_interservice_compliance_stats_stats_proto protoreflect.FileDescriptor
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" toml:"control,omitempty" mapstructure:"control,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` Passed int32 `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` Failed int32 `protobuf:"varint,4,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` Skipped int32 `` /* 126-byte string literal not displayed */ Impact float32 `protobuf:"fixed32,6,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` Waived int32 `protobuf:"varint,7,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` // contains filtered or unexported fields }
func (*ControlStats) Descriptor
deprecated
func (*ControlStats) Descriptor() ([]byte, []int)
Deprecated: Use ControlStats.ProtoReflect.Descriptor instead.
func (*ControlStats) GetControl ¶
func (x *ControlStats) GetControl() string
func (*ControlStats) GetFailed ¶
func (x *ControlStats) GetFailed() int32
func (*ControlStats) GetImpact ¶
func (x *ControlStats) GetImpact() float32
func (*ControlStats) GetPassed ¶
func (x *ControlStats) GetPassed() int32
func (*ControlStats) GetSkipped ¶
func (x *ControlStats) GetSkipped() int32
func (*ControlStats) GetTitle ¶
func (x *ControlStats) GetTitle() string
func (*ControlStats) GetWaived ¶
func (x *ControlStats) GetWaived() int32
func (*ControlStats) ProtoMessage ¶
func (*ControlStats) ProtoMessage()
func (*ControlStats) ProtoReflect ¶
func (x *ControlStats) ProtoReflect() protoreflect.Message
func (*ControlStats) Reset ¶
func (x *ControlStats) Reset()
func (*ControlStats) String ¶
func (x *ControlStats) String() string
type ControlsSummary ¶
type ControlsSummary struct { Failures int32 `` /* 130-byte string literal not displayed */ Majors int32 `protobuf:"varint,2,opt,name=majors,proto3" json:"majors,omitempty" toml:"majors,omitempty" mapstructure:"majors,omitempty"` Minors int32 `protobuf:"varint,3,opt,name=minors,proto3" json:"minors,omitempty" toml:"minors,omitempty" mapstructure:"minors,omitempty"` Criticals int32 `` /* 134-byte string literal not displayed */ Passed int32 `protobuf:"varint,5,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` Skipped int32 `` /* 126-byte string literal not displayed */ Waived int32 `protobuf:"varint,7,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` // contains filtered or unexported fields }
func (*ControlsSummary) Descriptor
deprecated
func (*ControlsSummary) Descriptor() ([]byte, []int)
Deprecated: Use ControlsSummary.ProtoReflect.Descriptor instead.
func (*ControlsSummary) GetCriticals ¶
func (x *ControlsSummary) GetCriticals() int32
func (*ControlsSummary) GetFailures ¶
func (x *ControlsSummary) GetFailures() int32
func (*ControlsSummary) GetMajors ¶
func (x *ControlsSummary) GetMajors() int32
func (*ControlsSummary) GetMinors ¶
func (x *ControlsSummary) GetMinors() int32
func (*ControlsSummary) GetPassed ¶
func (x *ControlsSummary) GetPassed() int32
func (*ControlsSummary) GetSkipped ¶
func (x *ControlsSummary) GetSkipped() int32
func (*ControlsSummary) GetWaived ¶
func (x *ControlsSummary) GetWaived() int32
func (*ControlsSummary) ProtoMessage ¶
func (*ControlsSummary) ProtoMessage()
func (*ControlsSummary) ProtoReflect ¶
func (x *ControlsSummary) ProtoReflect() protoreflect.Message
func (*ControlsSummary) Reset ¶
func (x *ControlsSummary) Reset()
func (*ControlsSummary) String ¶
func (x *ControlsSummary) String() string
type FailureSummary ¶
type FailureSummary struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Failures int32 `` /* 130-byte string literal not displayed */ Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Profile string `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty" toml:"profile,omitempty" mapstructure:"profile,omitempty"` // contains filtered or unexported fields }
func (*FailureSummary) Descriptor
deprecated
func (*FailureSummary) Descriptor() ([]byte, []int)
Deprecated: Use FailureSummary.ProtoReflect.Descriptor instead.
func (*FailureSummary) GetFailures ¶
func (x *FailureSummary) GetFailures() int32
func (*FailureSummary) GetId ¶
func (x *FailureSummary) GetId() string
func (*FailureSummary) GetName ¶
func (x *FailureSummary) GetName() string
func (*FailureSummary) GetProfile ¶
func (x *FailureSummary) GetProfile() string
func (*FailureSummary) ProtoMessage ¶
func (*FailureSummary) ProtoMessage()
func (*FailureSummary) ProtoReflect ¶
func (x *FailureSummary) ProtoReflect() protoreflect.Message
func (*FailureSummary) Reset ¶
func (x *FailureSummary) Reset()
func (*FailureSummary) String ¶
func (x *FailureSummary) String() string
type Failures ¶
type Failures struct { Profiles []*FailureSummary `` /* 129-byte string literal not displayed */ Platforms []*FailureSummary `` /* 133-byte string literal not displayed */ Controls []*FailureSummary `` /* 129-byte string literal not displayed */ Environments []*FailureSummary `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Failures) Descriptor
deprecated
func (*Failures) GetControls ¶
func (x *Failures) GetControls() []*FailureSummary
func (*Failures) GetEnvironments ¶
func (x *Failures) GetEnvironments() []*FailureSummary
func (*Failures) GetPlatforms ¶
func (x *Failures) GetPlatforms() []*FailureSummary
func (*Failures) GetProfiles ¶
func (x *Failures) GetProfiles() []*FailureSummary
func (*Failures) ProtoMessage ¶
func (*Failures) ProtoMessage()
func (*Failures) ProtoReflect ¶
func (x *Failures) ProtoReflect() protoreflect.Message
type GetNodesUsageCountRequest ¶
type GetNodesUsageCountRequest struct {
// contains filtered or unexported fields
}
func (*GetNodesUsageCountRequest) Descriptor
deprecated
func (*GetNodesUsageCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodesUsageCountRequest.ProtoReflect.Descriptor instead.
func (*GetNodesUsageCountRequest) ProtoMessage ¶
func (*GetNodesUsageCountRequest) ProtoMessage()
func (*GetNodesUsageCountRequest) ProtoReflect ¶
func (x *GetNodesUsageCountRequest) ProtoReflect() protoreflect.Message
func (*GetNodesUsageCountRequest) Reset ¶
func (x *GetNodesUsageCountRequest) Reset()
func (*GetNodesUsageCountRequest) String ¶
func (x *GetNodesUsageCountRequest) String() string
type GetNodesUsageCountResponse ¶
type GetNodesUsageCountResponse struct { DaysSinceLastPost int64 `` /* 201-byte string literal not displayed */ NodeCnt int64 `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetNodesUsageCountResponse) Descriptor
deprecated
func (*GetNodesUsageCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodesUsageCountResponse.ProtoReflect.Descriptor instead.
func (*GetNodesUsageCountResponse) GetDaysSinceLastPost ¶
func (x *GetNodesUsageCountResponse) GetDaysSinceLastPost() int64
func (*GetNodesUsageCountResponse) GetNodeCnt ¶
func (x *GetNodesUsageCountResponse) GetNodeCnt() int64
func (*GetNodesUsageCountResponse) ProtoMessage ¶
func (*GetNodesUsageCountResponse) ProtoMessage()
func (*GetNodesUsageCountResponse) ProtoReflect ¶
func (x *GetNodesUsageCountResponse) ProtoReflect() protoreflect.Message
func (*GetNodesUsageCountResponse) Reset ¶
func (x *GetNodesUsageCountResponse) Reset()
func (*GetNodesUsageCountResponse) String ¶
func (x *GetNodesUsageCountResponse) String() string
type ListFilter ¶
type ListFilter struct { Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` Type string `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` // contains filtered or unexported fields }
func (*ListFilter) Descriptor
deprecated
func (*ListFilter) Descriptor() ([]byte, []int)
Deprecated: Use ListFilter.ProtoReflect.Descriptor instead.
func (*ListFilter) GetType ¶
func (x *ListFilter) GetType() string
func (*ListFilter) GetValues ¶
func (x *ListFilter) GetValues() []string
func (*ListFilter) ProtoMessage ¶
func (*ListFilter) ProtoMessage()
func (*ListFilter) ProtoReflect ¶
func (x *ListFilter) ProtoReflect() protoreflect.Message
func (*ListFilter) Reset ¶
func (x *ListFilter) Reset()
func (*ListFilter) String ¶
func (x *ListFilter) String() string
type NodeSummary ¶
type NodeSummary struct { Compliant int32 `` /* 134-byte string literal not displayed */ Skipped int32 `` /* 126-byte string literal not displayed */ Noncompliant int32 `` /* 146-byte string literal not displayed */ HighRisk int32 `` /* 148-byte string literal not displayed */ MediumRisk int32 `` /* 158-byte string literal not displayed */ LowRisk int32 `` /* 143-byte string literal not displayed */ Waived int32 `protobuf:"varint,7,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` // contains filtered or unexported fields }
func (*NodeSummary) Descriptor
deprecated
func (*NodeSummary) Descriptor() ([]byte, []int)
Deprecated: Use NodeSummary.ProtoReflect.Descriptor instead.
func (*NodeSummary) GetCompliant ¶
func (x *NodeSummary) GetCompliant() int32
func (*NodeSummary) GetHighRisk ¶
func (x *NodeSummary) GetHighRisk() int32
func (*NodeSummary) GetLowRisk ¶
func (x *NodeSummary) GetLowRisk() int32
func (*NodeSummary) GetMediumRisk ¶
func (x *NodeSummary) GetMediumRisk() int32
func (*NodeSummary) GetNoncompliant ¶
func (x *NodeSummary) GetNoncompliant() int32
func (*NodeSummary) GetSkipped ¶
func (x *NodeSummary) GetSkipped() int32
func (*NodeSummary) GetWaived ¶
func (x *NodeSummary) GetWaived() int32
func (*NodeSummary) ProtoMessage ¶
func (*NodeSummary) ProtoMessage()
func (*NodeSummary) ProtoReflect ¶
func (x *NodeSummary) ProtoReflect() protoreflect.Message
func (*NodeSummary) Reset ¶
func (x *NodeSummary) Reset()
func (*NodeSummary) String ¶
func (x *NodeSummary) String() string
type Profile ¶
type Profile struct { ProfileList []*ProfileList `` /* 162-byte string literal not displayed */ ProfileSummary *ProfileSummary `` /* 177-byte string literal not displayed */ ControlStats []*ControlStats `` /* 167-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetControlStats ¶
func (x *Profile) GetControlStats() []*ControlStats
func (*Profile) GetProfileList ¶
func (x *Profile) GetProfileList() []*ProfileList
func (*Profile) GetProfileSummary ¶
func (x *Profile) GetProfileSummary() *ProfileSummary
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type ProfileList ¶
type ProfileList struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Failures int32 `` /* 130-byte string literal not displayed */ Majors int32 `protobuf:"varint,4,opt,name=majors,proto3" json:"majors,omitempty" toml:"majors,omitempty" mapstructure:"majors,omitempty"` Minors int32 `protobuf:"varint,5,opt,name=minors,proto3" json:"minors,omitempty" toml:"minors,omitempty" mapstructure:"minors,omitempty"` Criticals int32 `` /* 134-byte string literal not displayed */ Passed int32 `protobuf:"varint,7,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` Skipped int32 `` /* 126-byte string literal not displayed */ Waived int32 `protobuf:"varint,9,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` // contains filtered or unexported fields }
func (*ProfileList) Descriptor
deprecated
func (*ProfileList) Descriptor() ([]byte, []int)
Deprecated: Use ProfileList.ProtoReflect.Descriptor instead.
func (*ProfileList) GetCriticals ¶
func (x *ProfileList) GetCriticals() int32
func (*ProfileList) GetFailures ¶
func (x *ProfileList) GetFailures() int32
func (*ProfileList) GetId ¶
func (x *ProfileList) GetId() string
func (*ProfileList) GetMajors ¶
func (x *ProfileList) GetMajors() int32
func (*ProfileList) GetMinors ¶
func (x *ProfileList) GetMinors() int32
func (*ProfileList) GetName ¶
func (x *ProfileList) GetName() string
func (*ProfileList) GetPassed ¶
func (x *ProfileList) GetPassed() int32
func (*ProfileList) GetSkipped ¶
func (x *ProfileList) GetSkipped() int32
func (*ProfileList) GetWaived ¶
func (x *ProfileList) GetWaived() int32
func (*ProfileList) ProtoMessage ¶
func (*ProfileList) ProtoMessage()
func (*ProfileList) ProtoReflect ¶
func (x *ProfileList) ProtoReflect() protoreflect.Message
func (*ProfileList) Reset ¶
func (x *ProfileList) Reset()
func (*ProfileList) String ¶
func (x *ProfileList) String() string
type ProfileSummary ¶
type ProfileSummary struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` License string `protobuf:"bytes,4,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` Maintainer string `` /* 137-byte string literal not displayed */ Copyright string `` /* 133-byte string literal not displayed */ CopyrightEmail string `` /* 177-byte string literal not displayed */ Summary string `protobuf:"bytes,8,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` Supports []*Support `` /* 129-byte string literal not displayed */ Stats *ProfileSummaryStats `protobuf:"bytes,10,opt,name=stats,proto3" json:"stats,omitempty" toml:"stats,omitempty" mapstructure:"stats,omitempty"` Depends []*reporting.Dependency `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProfileSummary) Descriptor
deprecated
func (*ProfileSummary) Descriptor() ([]byte, []int)
Deprecated: Use ProfileSummary.ProtoReflect.Descriptor instead.
func (*ProfileSummary) GetCopyright ¶
func (x *ProfileSummary) GetCopyright() string
func (*ProfileSummary) GetCopyrightEmail ¶
func (x *ProfileSummary) GetCopyrightEmail() string
func (*ProfileSummary) GetDepends ¶
func (x *ProfileSummary) GetDepends() []*reporting.Dependency
func (*ProfileSummary) GetLicense ¶
func (x *ProfileSummary) GetLicense() string
func (*ProfileSummary) GetMaintainer ¶
func (x *ProfileSummary) GetMaintainer() string
func (*ProfileSummary) GetName ¶
func (x *ProfileSummary) GetName() string
func (*ProfileSummary) GetStats ¶
func (x *ProfileSummary) GetStats() *ProfileSummaryStats
func (*ProfileSummary) GetSummary ¶
func (x *ProfileSummary) GetSummary() string
func (*ProfileSummary) GetSupports ¶
func (x *ProfileSummary) GetSupports() []*Support
func (*ProfileSummary) GetTitle ¶
func (x *ProfileSummary) GetTitle() string
func (*ProfileSummary) GetVersion ¶
func (x *ProfileSummary) GetVersion() string
func (*ProfileSummary) ProtoMessage ¶
func (*ProfileSummary) ProtoMessage()
func (*ProfileSummary) ProtoReflect ¶
func (x *ProfileSummary) ProtoReflect() protoreflect.Message
func (*ProfileSummary) Reset ¶
func (x *ProfileSummary) Reset()
func (*ProfileSummary) String ¶
func (x *ProfileSummary) String() string
type ProfileSummaryStats ¶
type ProfileSummaryStats struct { Failed int32 `protobuf:"varint,1,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` Skipped int32 `` /* 126-byte string literal not displayed */ FailedNodes int32 `` /* 163-byte string literal not displayed */ TotalNodes int32 `` /* 158-byte string literal not displayed */ Waived int32 `protobuf:"varint,6,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` // contains filtered or unexported fields }
func (*ProfileSummaryStats) Descriptor
deprecated
func (*ProfileSummaryStats) Descriptor() ([]byte, []int)
Deprecated: Use ProfileSummaryStats.ProtoReflect.Descriptor instead.
func (*ProfileSummaryStats) GetFailed ¶
func (x *ProfileSummaryStats) GetFailed() int32
func (*ProfileSummaryStats) GetFailedNodes ¶
func (x *ProfileSummaryStats) GetFailedNodes() int32
func (*ProfileSummaryStats) GetPassed ¶
func (x *ProfileSummaryStats) GetPassed() int32
func (*ProfileSummaryStats) GetSkipped ¶
func (x *ProfileSummaryStats) GetSkipped() int32
func (*ProfileSummaryStats) GetTotalNodes ¶
func (x *ProfileSummaryStats) GetTotalNodes() int32
func (*ProfileSummaryStats) GetWaived ¶
func (x *ProfileSummaryStats) GetWaived() int32
func (*ProfileSummaryStats) ProtoMessage ¶
func (*ProfileSummaryStats) ProtoMessage()
func (*ProfileSummaryStats) ProtoReflect ¶
func (x *ProfileSummaryStats) ProtoReflect() protoreflect.Message
func (*ProfileSummaryStats) Reset ¶
func (x *ProfileSummaryStats) Reset()
func (*ProfileSummaryStats) String ¶
func (x *ProfileSummaryStats) String() string
type Query ¶
type Query struct { Id string `protobuf:"bytes,17,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Type string `protobuf:"bytes,19,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` Size int32 `protobuf:"varint,18,opt,name=size,proto3" json:"size,omitempty" toml:"size,omitempty" mapstructure:"size,omitempty"` Interval int32 `` /* 131-byte string literal not displayed */ Filters []*ListFilter `` /* 126-byte string literal not displayed */ Order Query_OrderType `` /* 178-byte string literal not displayed */ Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` PerPage int32 `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Query) Descriptor
deprecated
func (*Query) GetFilters ¶
func (x *Query) GetFilters() []*ListFilter
func (*Query) GetInterval ¶
func (*Query) GetOrder ¶
func (x *Query) GetOrder() Query_OrderType
func (*Query) GetPerPage ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
type Query_OrderType ¶
type Query_OrderType int32
const ( Query_ASC Query_OrderType = 0 Query_DESC Query_OrderType = 1 )
func (Query_OrderType) Descriptor ¶
func (Query_OrderType) Descriptor() protoreflect.EnumDescriptor
func (Query_OrderType) Enum ¶
func (x Query_OrderType) Enum() *Query_OrderType
func (Query_OrderType) EnumDescriptor
deprecated
func (Query_OrderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Query_OrderType.Descriptor instead.
func (Query_OrderType) Number ¶
func (x Query_OrderType) Number() protoreflect.EnumNumber
func (Query_OrderType) String ¶
func (x Query_OrderType) String() string
func (Query_OrderType) Type ¶
func (Query_OrderType) Type() protoreflect.EnumType
type ReportSummary ¶
type ReportSummary struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` Duration float64 `` /* 131-byte string literal not displayed */ StartDate string `` /* 152-byte string literal not displayed */ Stats *Stats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty" toml:"stats,omitempty" mapstructure:"stats,omitempty"` // contains filtered or unexported fields }
func (*ReportSummary) Descriptor
deprecated
func (*ReportSummary) Descriptor() ([]byte, []int)
Deprecated: Use ReportSummary.ProtoReflect.Descriptor instead.
func (*ReportSummary) GetDuration ¶
func (x *ReportSummary) GetDuration() float64
func (*ReportSummary) GetStartDate ¶
func (x *ReportSummary) GetStartDate() string
func (*ReportSummary) GetStats ¶
func (x *ReportSummary) GetStats() *Stats
func (*ReportSummary) GetStatus ¶
func (x *ReportSummary) GetStatus() string
func (*ReportSummary) ProtoMessage ¶
func (*ReportSummary) ProtoMessage()
func (*ReportSummary) ProtoReflect ¶
func (x *ReportSummary) ProtoReflect() protoreflect.Message
func (*ReportSummary) Reset ¶
func (x *ReportSummary) Reset()
func (*ReportSummary) String ¶
func (x *ReportSummary) String() string
type Stats ¶
type Stats struct { // int64 types render into string types when serialized to satisfy all browsers // we don't really need for nodes counts to be int64 as int32 limits us to 2billion nodes which is plenty for now // we are therefore deprecating nodes and favor nodesCnt // // Deprecated: Do not use. Nodes int64 `protobuf:"varint,1,opt,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"` Platforms int32 `` /* 134-byte string literal not displayed */ Environments int32 `` /* 146-byte string literal not displayed */ Profiles int32 `` /* 130-byte string literal not displayed */ NodesCnt int32 `` /* 148-byte string literal not displayed */ Controls int32 `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Stats) Descriptor
deprecated
func (*Stats) GetControls ¶
func (*Stats) GetEnvironments ¶
func (*Stats) GetNodesCnt ¶
func (*Stats) GetPlatforms ¶
func (*Stats) GetProfiles ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) ProtoReflect ¶
func (x *Stats) ProtoReflect() protoreflect.Message
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) UpdateTelemetryReported(ctx context.Context, in *UpdateTelemetryReportedRequest, opts ...grpc.CallOption) (*UpdateTelemetryReportedResponse, error) GetNodesUsageCount(ctx context.Context, in *GetNodesUsageCountRequest, opts ...grpc.CallOption) (*GetNodesUsageCountResponse, 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.ClientConnInterface) 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) UpdateTelemetryReported(context.Context, *UpdateTelemetryReportedRequest) (*UpdateTelemetryReportedResponse, error) GetNodesUsageCount(context.Context, *GetNodesUsageCountRequest) (*GetNodesUsageCountResponse, error) }
StatsServiceServer is the server API for StatsService service.
type Summary ¶
type Summary struct { ControlsSummary *ControlsSummary `` /* 182-byte string literal not displayed */ NodeSummary *NodeSummary `` /* 162-byte string literal not displayed */ ReportSummary *ReportSummary `` /* 172-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Summary) Descriptor
deprecated
func (*Summary) GetControlsSummary ¶
func (x *Summary) GetControlsSummary() *ControlsSummary
func (*Summary) GetNodeSummary ¶
func (x *Summary) GetNodeSummary() *NodeSummary
func (*Summary) GetReportSummary ¶
func (x *Summary) GetReportSummary() *ReportSummary
func (*Summary) ProtoMessage ¶
func (*Summary) ProtoMessage()
func (*Summary) ProtoReflect ¶
func (x *Summary) ProtoReflect() protoreflect.Message
type Support ¶
type Support struct { OsName string `` /* 138-byte string literal not displayed */ OsFamily string `` /* 148-byte string literal not displayed */ Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` InspecVersion string `` /* 172-byte string literal not displayed */ PlatformName string `` /* 168-byte string literal not displayed */ PlatformFamily string `` /* 178-byte string literal not displayed */ Platform string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Support) Descriptor
deprecated
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) ProtoReflect ¶
func (x *Support) ProtoReflect() protoreflect.Message
type Trend ¶
type Trend struct { ReportTime string `` /* 157-byte string literal not displayed */ Passed int32 `protobuf:"varint,2,opt,name=passed,proto3" json:"passed,omitempty" toml:"passed,omitempty" mapstructure:"passed,omitempty"` Failed int32 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` Skipped int32 `` /* 126-byte string literal not displayed */ Waived int32 `protobuf:"varint,5,opt,name=waived,proto3" json:"waived,omitempty" toml:"waived,omitempty" mapstructure:"waived,omitempty"` // contains filtered or unexported fields }
func (*Trend) Descriptor
deprecated
func (*Trend) GetReportTime ¶
func (*Trend) GetSkipped ¶
func (*Trend) ProtoMessage ¶
func (*Trend) ProtoMessage()
func (*Trend) ProtoReflect ¶
func (x *Trend) ProtoReflect() protoreflect.Message
type Trends ¶
type Trends struct { Trends []*Trend `protobuf:"bytes,1,rep,name=trends,proto3" json:"trends,omitempty" toml:"trends,omitempty" mapstructure:"trends,omitempty"` // contains filtered or unexported fields }
func (*Trends) Descriptor
deprecated
func (*Trends) ProtoMessage ¶
func (*Trends) ProtoMessage()
func (*Trends) ProtoReflect ¶
func (x *Trends) ProtoReflect() protoreflect.Message
type UnimplementedStatsServiceServer ¶
type UnimplementedStatsServiceServer struct { }
UnimplementedStatsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedStatsServiceServer) GetNodesUsageCount ¶
func (*UnimplementedStatsServiceServer) GetNodesUsageCount(context.Context, *GetNodesUsageCountRequest) (*GetNodesUsageCountResponse, error)
func (*UnimplementedStatsServiceServer) ReadFailures ¶
func (*UnimplementedStatsServiceServer) ReadProfiles ¶
func (*UnimplementedStatsServiceServer) ReadSummary ¶
func (*UnimplementedStatsServiceServer) UpdateTelemetryReported ¶
func (*UnimplementedStatsServiceServer) UpdateTelemetryReported(context.Context, *UpdateTelemetryReportedRequest) (*UpdateTelemetryReportedResponse, error)
type UpdateTelemetryReportedRequest ¶
type UpdateTelemetryReportedRequest struct { LastTelemetryReportedAt string `` /* 230-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateTelemetryReportedRequest) Descriptor
deprecated
func (*UpdateTelemetryReportedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTelemetryReportedRequest.ProtoReflect.Descriptor instead.
func (*UpdateTelemetryReportedRequest) GetLastTelemetryReportedAt ¶
func (x *UpdateTelemetryReportedRequest) GetLastTelemetryReportedAt() string
func (*UpdateTelemetryReportedRequest) ProtoMessage ¶
func (*UpdateTelemetryReportedRequest) ProtoMessage()
func (*UpdateTelemetryReportedRequest) ProtoReflect ¶
func (x *UpdateTelemetryReportedRequest) ProtoReflect() protoreflect.Message
func (*UpdateTelemetryReportedRequest) Reset ¶
func (x *UpdateTelemetryReportedRequest) Reset()
func (*UpdateTelemetryReportedRequest) String ¶
func (x *UpdateTelemetryReportedRequest) String() string
type UpdateTelemetryReportedResponse ¶
type UpdateTelemetryReportedResponse struct {
// contains filtered or unexported fields
}
func (*UpdateTelemetryReportedResponse) Descriptor
deprecated
func (*UpdateTelemetryReportedResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTelemetryReportedResponse.ProtoReflect.Descriptor instead.
func (*UpdateTelemetryReportedResponse) ProtoMessage ¶
func (*UpdateTelemetryReportedResponse) ProtoMessage()
func (*UpdateTelemetryReportedResponse) ProtoReflect ¶
func (x *UpdateTelemetryReportedResponse) ProtoReflect() protoreflect.Message
func (*UpdateTelemetryReportedResponse) Reset ¶
func (x *UpdateTelemetryReportedResponse) Reset()
func (*UpdateTelemetryReportedResponse) String ¶
func (x *UpdateTelemetryReportedResponse) String() string