stats

package
v0.0.0-...-8d85ad9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Failures.ProtoReflect.Descriptor instead.

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

func (*Failures) Reset

func (x *Failures) Reset()

func (*Failures) String

func (x *Failures) String() string

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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

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

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetFilters

func (x *Query) GetFilters() []*ListFilter

func (*Query) GetId

func (x *Query) GetId() string

func (*Query) GetInterval

func (x *Query) GetInterval() int32

func (*Query) GetOrder

func (x *Query) GetOrder() Query_OrderType

func (*Query) GetPage

func (x *Query) GetPage() int32

func (*Query) GetPerPage

func (x *Query) GetPerPage() int32

func (*Query) GetSize

func (x *Query) GetSize() int32

func (*Query) GetSort

func (x *Query) GetSort() string

func (*Query) GetType

func (x *Query) GetType() string

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

func (x *Query) ProtoReflect() protoreflect.Message

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

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) 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 (Query_OrderType) String

func (x Query_OrderType) String() string

func (Query_OrderType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Stats.ProtoReflect.Descriptor instead.

func (*Stats) GetControls

func (x *Stats) GetControls() int32

func (*Stats) GetEnvironments

func (x *Stats) GetEnvironments() int32

func (*Stats) GetNodes deprecated

func (x *Stats) GetNodes() int64

Deprecated: Do not use.

func (*Stats) GetNodesCnt

func (x *Stats) GetNodesCnt() int32

func (*Stats) GetPlatforms

func (x *Stats) GetPlatforms() int32

func (*Stats) GetProfiles

func (x *Stats) GetProfiles() int32

func (*Stats) ProtoMessage

func (*Stats) ProtoMessage()

func (*Stats) ProtoReflect

func (x *Stats) ProtoReflect() protoreflect.Message

func (*Stats) Reset

func (x *Stats) Reset()

func (*Stats) String

func (x *Stats) String() string

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Summary.ProtoReflect.Descriptor instead.

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

func (*Summary) Reset

func (x *Summary) Reset()

func (*Summary) String

func (x *Summary) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Support.ProtoReflect.Descriptor instead.

func (*Support) GetInspecVersion

func (x *Support) GetInspecVersion() string

func (*Support) GetOsFamily

func (x *Support) GetOsFamily() string

func (*Support) GetOsName

func (x *Support) GetOsName() string

func (*Support) GetPlatform

func (x *Support) GetPlatform() string

func (*Support) GetPlatformFamily

func (x *Support) GetPlatformFamily() string

func (*Support) GetPlatformName

func (x *Support) GetPlatformName() string

func (*Support) GetRelease

func (x *Support) GetRelease() string

func (*Support) ProtoMessage

func (*Support) ProtoMessage()

func (*Support) ProtoReflect

func (x *Support) ProtoReflect() protoreflect.Message

func (*Support) Reset

func (x *Support) Reset()

func (*Support) String

func (x *Support) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Trend.ProtoReflect.Descriptor instead.

func (*Trend) GetFailed

func (x *Trend) GetFailed() int32

func (*Trend) GetPassed

func (x *Trend) GetPassed() int32

func (*Trend) GetReportTime

func (x *Trend) GetReportTime() string

func (*Trend) GetSkipped

func (x *Trend) GetSkipped() int32

func (*Trend) GetWaived

func (x *Trend) GetWaived() int32

func (*Trend) ProtoMessage

func (*Trend) ProtoMessage()

func (*Trend) ProtoReflect

func (x *Trend) ProtoReflect() protoreflect.Message

func (*Trend) Reset

func (x *Trend) Reset()

func (*Trend) String

func (x *Trend) String() string
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) Descriptor() ([]byte, []int)

Deprecated: Use Trends.ProtoReflect.Descriptor instead.

func (*Trends) GetTrends

func (x *Trends) GetTrends() []*Trend

func (*Trends) ProtoMessage

func (*Trends) ProtoMessage()

func (*Trends) ProtoReflect

func (x *Trends) ProtoReflect() protoreflect.Message

func (*Trends) Reset

func (x *Trends) Reset()

func (*Trends) String

func (x *Trends) String() string

type UnimplementedStatsServiceServer

type UnimplementedStatsServiceServer struct {
}

UnimplementedStatsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedStatsServiceServer) GetNodesUsageCount

func (*UnimplementedStatsServiceServer) ReadFailures

func (*UnimplementedStatsServiceServer) ReadProfiles

func (*UnimplementedStatsServiceServer) ReadSummary

func (*UnimplementedStatsServiceServer) ReadTrend

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 (*UpdateTelemetryReportedRequest) Reset

func (x *UpdateTelemetryReportedRequest) Reset()

func (*UpdateTelemetryReportedRequest) 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 (*UpdateTelemetryReportedResponse) Reset

func (*UpdateTelemetryReportedResponse) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL