reporting

package
v0.0.0-...-0490640 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package reporting is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

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 RegisterReportingServiceHandler

func RegisterReportingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterReportingServiceHandler registers the http handlers for service ReportingService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterReportingServiceHandlerClient

func RegisterReportingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ReportingServiceClient) error

RegisterReportingServiceHandlerClient registers the http handlers for service ReportingService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ReportingServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ReportingServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ReportingServiceClient" to call the correct interceptors.

func RegisterReportingServiceHandlerFromEndpoint

func RegisterReportingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterReportingServiceHandlerFromEndpoint is same as RegisterReportingServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterReportingServiceServer

func RegisterReportingServiceServer(s *grpc.Server, srv ReportingServiceServer)

Types

type Attribute

type Attribute struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Options              *Option  `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Attribute) Descriptor

func (*Attribute) Descriptor() ([]byte, []int)

func (*Attribute) GetName

func (m *Attribute) GetName() string

func (*Attribute) GetOptions

func (m *Attribute) GetOptions() *Option

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) Reset

func (m *Attribute) Reset()

func (*Attribute) String

func (m *Attribute) String() string

func (*Attribute) XXX_DiscardUnknown

func (m *Attribute) XXX_DiscardUnknown()

func (*Attribute) XXX_Marshal

func (m *Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Attribute) XXX_Merge

func (dst *Attribute) XXX_Merge(src proto.Message)

func (*Attribute) XXX_Size

func (m *Attribute) XXX_Size() int

func (*Attribute) XXX_Unmarshal

func (m *Attribute) XXX_Unmarshal(b []byte) error

type Control

type Control struct {
	Id                   string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Code                 string            `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Desc                 string            `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	Impact               float32           `protobuf:"fixed32,4,opt,name=impact,proto3" json:"impact,omitempty"`
	Title                string            `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	SourceLocation       *SourceLocation   `protobuf:"bytes,6,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"`
	Results              []*Result         `protobuf:"bytes,7,rep,name=results,proto3" json:"results,omitempty"`
	Refs                 []*Ref            `protobuf:"bytes,8,rep,name=refs,proto3" json:"refs,omitempty"`
	Tags                 map[string]string `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Control) Descriptor

func (*Control) Descriptor() ([]byte, []int)

func (*Control) GetCode

func (m *Control) GetCode() string

func (*Control) GetDesc

func (m *Control) GetDesc() string

func (*Control) GetId

func (m *Control) GetId() string

func (*Control) GetImpact

func (m *Control) GetImpact() float32

func (*Control) GetRefs

func (m *Control) GetRefs() []*Ref

func (*Control) GetResults

func (m *Control) GetResults() []*Result

func (*Control) GetSourceLocation

func (m *Control) GetSourceLocation() *SourceLocation

func (*Control) GetTags

func (m *Control) GetTags() map[string]string

func (*Control) GetTitle

func (m *Control) GetTitle() string

func (*Control) ProtoMessage

func (*Control) ProtoMessage()

func (*Control) Reset

func (m *Control) Reset()

func (*Control) String

func (m *Control) String() string

func (*Control) XXX_DiscardUnknown

func (m *Control) XXX_DiscardUnknown()

func (*Control) XXX_Marshal

func (m *Control) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Control) XXX_Merge

func (dst *Control) XXX_Merge(src proto.Message)

func (*Control) XXX_Size

func (m *Control) XXX_Size() int

func (*Control) XXX_Unmarshal

func (m *Control) XXX_Unmarshal(b []byte) error

type ControlSummary

type ControlSummary struct {
	Total                int32    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Passed               *Total   `protobuf:"bytes,2,opt,name=passed,proto3" json:"passed,omitempty"`
	Skipped              *Total   `protobuf:"bytes,3,opt,name=skipped,proto3" json:"skipped,omitempty"`
	Failed               *Failed  `protobuf:"bytes,4,opt,name=failed,proto3" json:"failed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ControlSummary) Descriptor

func (*ControlSummary) Descriptor() ([]byte, []int)

func (*ControlSummary) GetFailed

func (m *ControlSummary) GetFailed() *Failed

func (*ControlSummary) GetPassed

func (m *ControlSummary) GetPassed() *Total

func (*ControlSummary) GetSkipped

func (m *ControlSummary) GetSkipped() *Total

func (*ControlSummary) GetTotal

func (m *ControlSummary) GetTotal() int32

func (*ControlSummary) ProtoMessage

func (*ControlSummary) ProtoMessage()

func (*ControlSummary) Reset

func (m *ControlSummary) Reset()

func (*ControlSummary) String

func (m *ControlSummary) String() string

func (*ControlSummary) XXX_DiscardUnknown

func (m *ControlSummary) XXX_DiscardUnknown()

func (*ControlSummary) XXX_Marshal

func (m *ControlSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ControlSummary) XXX_Merge

func (dst *ControlSummary) XXX_Merge(src proto.Message)

func (*ControlSummary) XXX_Size

func (m *ControlSummary) XXX_Size() int

func (*ControlSummary) XXX_Unmarshal

func (m *ControlSummary) XXX_Unmarshal(b []byte) error

type Dependency

type Dependency struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Url                  string   `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Path                 string   `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Git                  string   `protobuf:"bytes,4,opt,name=git,proto3" json:"git,omitempty"`
	Branch               string   `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"`
	Tag                  string   `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty"`
	Commit               string   `protobuf:"bytes,7,opt,name=commit,proto3" json:"commit,omitempty"`
	Version              string   `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
	Supermarket          string   `protobuf:"bytes,9,opt,name=supermarket,proto3" json:"supermarket,omitempty"`
	Github               string   `protobuf:"bytes,10,opt,name=github,proto3" json:"github,omitempty"`
	Compliance           string   `protobuf:"bytes,11,opt,name=compliance,proto3" json:"compliance,omitempty"`
	Status               string   `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
	SkipMessage          string   `protobuf:"bytes,13,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Dependency) Descriptor

func (*Dependency) Descriptor() ([]byte, []int)

func (*Dependency) GetBranch

func (m *Dependency) GetBranch() string

func (*Dependency) GetCommit

func (m *Dependency) GetCommit() string

func (*Dependency) GetCompliance

func (m *Dependency) GetCompliance() string

func (*Dependency) GetGit

func (m *Dependency) GetGit() string

func (*Dependency) GetGithub

func (m *Dependency) GetGithub() string

func (*Dependency) GetName

func (m *Dependency) GetName() string

func (*Dependency) GetPath

func (m *Dependency) GetPath() string

func (*Dependency) GetSkipMessage

func (m *Dependency) GetSkipMessage() string

func (*Dependency) GetStatus

func (m *Dependency) GetStatus() string

func (*Dependency) GetSupermarket

func (m *Dependency) GetSupermarket() string

func (*Dependency) GetTag

func (m *Dependency) GetTag() string

func (*Dependency) GetUrl

func (m *Dependency) GetUrl() string

func (*Dependency) GetVersion

func (m *Dependency) GetVersion() string

func (*Dependency) ProtoMessage

func (*Dependency) ProtoMessage()

func (*Dependency) Reset

func (m *Dependency) Reset()

func (*Dependency) String

func (m *Dependency) String() string

func (*Dependency) XXX_DiscardUnknown

func (m *Dependency) XXX_DiscardUnknown()

func (*Dependency) XXX_Marshal

func (m *Dependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dependency) XXX_Merge

func (dst *Dependency) XXX_Merge(src proto.Message)

func (*Dependency) XXX_Size

func (m *Dependency) XXX_Size() int

func (*Dependency) XXX_Unmarshal

func (m *Dependency) XXX_Unmarshal(b []byte) error

type ExportData

type ExportData struct {
	Content              []byte   `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExportData) Descriptor

func (*ExportData) Descriptor() ([]byte, []int)

func (*ExportData) GetContent

func (m *ExportData) GetContent() []byte

func (*ExportData) ProtoMessage

func (*ExportData) ProtoMessage()

func (*ExportData) Reset

func (m *ExportData) Reset()

func (*ExportData) String

func (m *ExportData) String() string

func (*ExportData) XXX_DiscardUnknown

func (m *ExportData) XXX_DiscardUnknown()

func (*ExportData) XXX_Marshal

func (m *ExportData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportData) XXX_Merge

func (dst *ExportData) XXX_Merge(src proto.Message)

func (*ExportData) XXX_Size

func (m *ExportData) XXX_Size() int

func (*ExportData) XXX_Unmarshal

func (m *ExportData) XXX_Unmarshal(b []byte) error

type Failed

type Failed struct {
	Total                int32    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Minor                int32    `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
	Major                int32    `protobuf:"varint,3,opt,name=major,proto3" json:"major,omitempty"`
	Critical             int32    `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Failed) Descriptor

func (*Failed) Descriptor() ([]byte, []int)

func (*Failed) GetCritical

func (m *Failed) GetCritical() int32

func (*Failed) GetMajor

func (m *Failed) GetMajor() int32

func (*Failed) GetMinor

func (m *Failed) GetMinor() int32

func (*Failed) GetTotal

func (m *Failed) GetTotal() int32

func (*Failed) ProtoMessage

func (*Failed) ProtoMessage()

func (*Failed) Reset

func (m *Failed) Reset()

func (*Failed) String

func (m *Failed) String() string

func (*Failed) XXX_DiscardUnknown

func (m *Failed) XXX_DiscardUnknown()

func (*Failed) XXX_Marshal

func (m *Failed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Failed) XXX_Merge

func (dst *Failed) XXX_Merge(src proto.Message)

func (*Failed) XXX_Size

func (m *Failed) XXX_Size() int

func (*Failed) XXX_Unmarshal

func (m *Failed) XXX_Unmarshal(b []byte) error

type Group

type Group struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title                string   `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Controls             []string `protobuf:"bytes,3,rep,name=controls,proto3" json:"controls,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Group) Descriptor

func (*Group) Descriptor() ([]byte, []int)

func (*Group) GetControls

func (m *Group) GetControls() []string

func (*Group) GetId

func (m *Group) GetId() string

func (*Group) GetTitle

func (m *Group) GetTitle() string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) Reset

func (m *Group) Reset()

func (*Group) String

func (m *Group) String() string

func (*Group) XXX_DiscardUnknown

func (m *Group) XXX_DiscardUnknown()

func (*Group) XXX_Marshal

func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Group) XXX_Merge

func (dst *Group) XXX_Merge(src proto.Message)

func (*Group) XXX_Size

func (m *Group) XXX_Size() int

func (*Group) XXX_Unmarshal

func (m *Group) XXX_Unmarshal(b []byte) error

type Id

type Id struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Id) Descriptor

func (*Id) Descriptor() ([]byte, []int)

func (*Id) GetId

func (m *Id) GetId() string

func (*Id) ProtoMessage

func (*Id) ProtoMessage()

func (*Id) Reset

func (m *Id) Reset()

func (*Id) String

func (m *Id) String() string

func (*Id) XXX_DiscardUnknown

func (m *Id) XXX_DiscardUnknown()

func (*Id) XXX_Marshal

func (m *Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Id) XXX_Merge

func (dst *Id) XXX_Merge(src proto.Message)

func (*Id) XXX_Size

func (m *Id) XXX_Size() int

func (*Id) XXX_Unmarshal

func (m *Id) XXX_Unmarshal(b []byte) error

type Kv

type Kv struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Kv) Descriptor

func (*Kv) Descriptor() ([]byte, []int)

func (*Kv) GetKey

func (m *Kv) GetKey() string

func (*Kv) GetValue

func (m *Kv) GetValue() string

func (*Kv) ProtoMessage

func (*Kv) ProtoMessage()

func (*Kv) Reset

func (m *Kv) Reset()

func (*Kv) String

func (m *Kv) String() string

func (*Kv) XXX_DiscardUnknown

func (m *Kv) XXX_DiscardUnknown()

func (*Kv) XXX_Marshal

func (m *Kv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Kv) XXX_Merge

func (dst *Kv) XXX_Merge(src proto.Message)

func (*Kv) XXX_Size

func (m *Kv) XXX_Size() int

func (*Kv) XXX_Unmarshal

func (m *Kv) XXX_Unmarshal(b []byte) error

type LatestReportSummary

type LatestReportSummary struct {
	Id                   string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	EndTime              *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Status               string               `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Controls             *ControlSummary      `protobuf:"bytes,4,opt,name=controls,proto3" json:"controls,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*LatestReportSummary) Descriptor

func (*LatestReportSummary) Descriptor() ([]byte, []int)

func (*LatestReportSummary) GetControls

func (m *LatestReportSummary) GetControls() *ControlSummary

func (*LatestReportSummary) GetEndTime

func (m *LatestReportSummary) GetEndTime() *timestamp.Timestamp

func (*LatestReportSummary) GetId

func (m *LatestReportSummary) GetId() string

func (*LatestReportSummary) GetStatus

func (m *LatestReportSummary) GetStatus() string

func (*LatestReportSummary) ProtoMessage

func (*LatestReportSummary) ProtoMessage()

func (*LatestReportSummary) Reset

func (m *LatestReportSummary) Reset()

func (*LatestReportSummary) String

func (m *LatestReportSummary) String() string

func (*LatestReportSummary) XXX_DiscardUnknown

func (m *LatestReportSummary) XXX_DiscardUnknown()

func (*LatestReportSummary) XXX_Marshal

func (m *LatestReportSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LatestReportSummary) XXX_Merge

func (dst *LatestReportSummary) XXX_Merge(src proto.Message)

func (*LatestReportSummary) XXX_Size

func (m *LatestReportSummary) XXX_Size() int

func (*LatestReportSummary) XXX_Unmarshal

func (m *LatestReportSummary) XXX_Unmarshal(b []byte) error

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 Node

type Node struct {
	Id                   string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Platform             *Platform            `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
	Environment          string               `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"`
	LatestReport         *LatestReportSummary `protobuf:"bytes,8,opt,name=latest_report,json=latestReport,proto3" json:"latest_report,omitempty"`
	Tags                 []*Kv                `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"`
	Profiles             []*ProfileMeta       `protobuf:"bytes,10,rep,name=profiles,proto3" json:"profiles,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Node) Descriptor

func (*Node) Descriptor() ([]byte, []int)

func (*Node) GetEnvironment

func (m *Node) GetEnvironment() string

func (*Node) GetId

func (m *Node) GetId() string

func (*Node) GetLatestReport

func (m *Node) GetLatestReport() *LatestReportSummary

func (*Node) GetName

func (m *Node) GetName() string

func (*Node) GetPlatform

func (m *Node) GetPlatform() *Platform

func (*Node) GetProfiles

func (m *Node) GetProfiles() []*ProfileMeta

func (*Node) GetTags

func (m *Node) GetTags() []*Kv

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Node) XXX_Merge

func (dst *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

func (m *Node) XXX_Unmarshal(b []byte) error

type Nodes

type Nodes struct {
	Nodes                []*Node  `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	Total                int32    `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Nodes) Descriptor

func (*Nodes) Descriptor() ([]byte, []int)

func (*Nodes) GetNodes

func (m *Nodes) GetNodes() []*Node

func (*Nodes) GetTotal

func (m *Nodes) GetTotal() int32

func (*Nodes) ProtoMessage

func (*Nodes) ProtoMessage()

func (*Nodes) Reset

func (m *Nodes) Reset()

func (*Nodes) String

func (m *Nodes) String() string

func (*Nodes) XXX_DiscardUnknown

func (m *Nodes) XXX_DiscardUnknown()

func (*Nodes) XXX_Marshal

func (m *Nodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Nodes) XXX_Merge

func (dst *Nodes) XXX_Merge(src proto.Message)

func (*Nodes) XXX_Size

func (m *Nodes) XXX_Size() int

func (*Nodes) XXX_Unmarshal

func (m *Nodes) XXX_Unmarshal(b []byte) error

type Option

type Option struct {
	Description          string   `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	Default              string   `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Option) Descriptor

func (*Option) Descriptor() ([]byte, []int)

func (*Option) GetDefault

func (m *Option) GetDefault() string

func (*Option) GetDescription

func (m *Option) GetDescription() string

func (*Option) ProtoMessage

func (*Option) ProtoMessage()

func (*Option) Reset

func (m *Option) Reset()

func (*Option) String

func (m *Option) String() string

func (*Option) XXX_DiscardUnknown

func (m *Option) XXX_DiscardUnknown()

func (*Option) XXX_Marshal

func (m *Option) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Option) XXX_Merge

func (dst *Option) XXX_Merge(src proto.Message)

func (*Option) XXX_Size

func (m *Option) XXX_Size() int

func (*Option) XXX_Unmarshal

func (m *Option) XXX_Unmarshal(b []byte) error

type Platform

type Platform struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Release              string   `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Platform) Descriptor

func (*Platform) Descriptor() ([]byte, []int)

func (*Platform) GetName

func (m *Platform) GetName() string

func (*Platform) GetRelease

func (m *Platform) GetRelease() string

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) Reset

func (m *Platform) Reset()

func (*Platform) String

func (m *Platform) String() string

func (*Platform) XXX_DiscardUnknown

func (m *Platform) XXX_DiscardUnknown()

func (*Platform) XXX_Marshal

func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Platform) XXX_Merge

func (dst *Platform) XXX_Merge(src proto.Message)

func (*Platform) XXX_Size

func (m *Platform) XXX_Size() int

func (*Platform) XXX_Unmarshal

func (m *Platform) XXX_Unmarshal(b []byte) error

type Profile

type Profile 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"`
	Maintainer           string        `protobuf:"bytes,3,opt,name=maintainer,proto3" json:"maintainer,omitempty"`
	Copyright            string        `protobuf:"bytes,4,opt,name=copyright,proto3" json:"copyright,omitempty"`
	CopyrightEmail       string        `protobuf:"bytes,5,opt,name=copyright_email,json=copyrightEmail,proto3" json:"copyright_email,omitempty"`
	License              string        `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty"`
	Summary              string        `protobuf:"bytes,7,opt,name=summary,proto3" json:"summary,omitempty"`
	Version              string        `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
	Owner                string        `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	Supports             []*Support    `protobuf:"bytes,16,rep,name=supports,proto3" json:"supports,omitempty"`
	Depends              []*Dependency `protobuf:"bytes,17,rep,name=depends,proto3" json:"depends,omitempty"`
	Sha256               string        `protobuf:"bytes,18,opt,name=sha256,proto3" json:"sha256,omitempty"`
	Groups               []*Group      `protobuf:"bytes,19,rep,name=groups,proto3" json:"groups,omitempty"`
	Controls             []*Control    `protobuf:"bytes,20,rep,name=controls,proto3" json:"controls,omitempty"`
	Attributes           []*Attribute  `protobuf:"bytes,21,rep,name=attributes,proto3" json:"attributes,omitempty"`
	LatestVersion        string        `protobuf:"bytes,22,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"`
	Status               string        `protobuf:"bytes,23,opt,name=status,proto3" json:"status,omitempty"`
	SkipMessage          string        `protobuf:"bytes,24,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Profile) Descriptor

func (*Profile) Descriptor() ([]byte, []int)

func (*Profile) GetAttributes

func (m *Profile) GetAttributes() []*Attribute

func (*Profile) GetControls

func (m *Profile) GetControls() []*Control

func (*Profile) GetCopyright

func (m *Profile) GetCopyright() string

func (*Profile) GetCopyrightEmail

func (m *Profile) GetCopyrightEmail() string

func (*Profile) GetDepends

func (m *Profile) GetDepends() []*Dependency

func (*Profile) GetGroups

func (m *Profile) GetGroups() []*Group

func (*Profile) GetLatestVersion

func (m *Profile) GetLatestVersion() string

func (*Profile) GetLicense

func (m *Profile) GetLicense() string

func (*Profile) GetMaintainer

func (m *Profile) GetMaintainer() string

func (*Profile) GetName

func (m *Profile) GetName() string

func (*Profile) GetOwner

func (m *Profile) GetOwner() string

func (*Profile) GetSha256

func (m *Profile) GetSha256() string

func (*Profile) GetSkipMessage

func (m *Profile) GetSkipMessage() string

func (*Profile) GetStatus

func (m *Profile) GetStatus() string

func (*Profile) GetSummary

func (m *Profile) GetSummary() string

func (*Profile) GetSupports

func (m *Profile) GetSupports() []*Support

func (*Profile) GetTitle

func (m *Profile) GetTitle() string

func (*Profile) GetVersion

func (m *Profile) GetVersion() string

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) Reset

func (m *Profile) Reset()

func (*Profile) String

func (m *Profile) String() string

func (*Profile) XXX_DiscardUnknown

func (m *Profile) XXX_DiscardUnknown()

func (*Profile) XXX_Marshal

func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Profile) XXX_Merge

func (dst *Profile) XXX_Merge(src proto.Message)

func (*Profile) XXX_Size

func (m *Profile) XXX_Size() int

func (*Profile) XXX_Unmarshal

func (m *Profile) XXX_Unmarshal(b []byte) error

type ProfileCounts

type ProfileCounts struct {
	Total                int32    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Failed               int32    `protobuf:"varint,2,opt,name=failed,proto3" json:"failed,omitempty"`
	Skipped              int32    `protobuf:"varint,3,opt,name=skipped,proto3" json:"skipped,omitempty"`
	Passed               int32    `protobuf:"varint,4,opt,name=passed,proto3" json:"passed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProfileCounts) Descriptor

func (*ProfileCounts) Descriptor() ([]byte, []int)

func (*ProfileCounts) GetFailed

func (m *ProfileCounts) GetFailed() int32

func (*ProfileCounts) GetPassed

func (m *ProfileCounts) GetPassed() int32

func (*ProfileCounts) GetSkipped

func (m *ProfileCounts) GetSkipped() int32

func (*ProfileCounts) GetTotal

func (m *ProfileCounts) GetTotal() int32

func (*ProfileCounts) ProtoMessage

func (*ProfileCounts) ProtoMessage()

func (*ProfileCounts) Reset

func (m *ProfileCounts) Reset()

func (*ProfileCounts) String

func (m *ProfileCounts) String() string

func (*ProfileCounts) XXX_DiscardUnknown

func (m *ProfileCounts) XXX_DiscardUnknown()

func (*ProfileCounts) XXX_Marshal

func (m *ProfileCounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProfileCounts) XXX_Merge

func (dst *ProfileCounts) XXX_Merge(src proto.Message)

func (*ProfileCounts) XXX_Size

func (m *ProfileCounts) XXX_Size() int

func (*ProfileCounts) XXX_Unmarshal

func (m *ProfileCounts) XXX_Unmarshal(b []byte) error

type ProfileMeta

type ProfileMeta struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Id                   string   `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProfileMeta) Descriptor

func (*ProfileMeta) Descriptor() ([]byte, []int)

func (*ProfileMeta) GetId

func (m *ProfileMeta) GetId() string

func (*ProfileMeta) GetName

func (m *ProfileMeta) GetName() string

func (*ProfileMeta) GetVersion

func (m *ProfileMeta) GetVersion() string

func (*ProfileMeta) ProtoMessage

func (*ProfileMeta) ProtoMessage()

func (*ProfileMeta) Reset

func (m *ProfileMeta) Reset()

func (*ProfileMeta) String

func (m *ProfileMeta) String() string

func (*ProfileMeta) XXX_DiscardUnknown

func (m *ProfileMeta) XXX_DiscardUnknown()

func (*ProfileMeta) XXX_Marshal

func (m *ProfileMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProfileMeta) XXX_Merge

func (dst *ProfileMeta) XXX_Merge(src proto.Message)

func (*ProfileMeta) XXX_Size

func (m *ProfileMeta) XXX_Size() int

func (*ProfileMeta) XXX_Unmarshal

func (m *ProfileMeta) XXX_Unmarshal(b []byte) error

type ProfileMin

type ProfileMin 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"`
	Id                   string   `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Version              string   `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	Status               string   `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProfileMin) Descriptor

func (*ProfileMin) Descriptor() ([]byte, []int)

func (*ProfileMin) GetId

func (m *ProfileMin) GetId() string

func (*ProfileMin) GetName

func (m *ProfileMin) GetName() string

func (*ProfileMin) GetStatus

func (m *ProfileMin) GetStatus() string

func (*ProfileMin) GetTitle

func (m *ProfileMin) GetTitle() string

func (*ProfileMin) GetVersion

func (m *ProfileMin) GetVersion() string

func (*ProfileMin) ProtoMessage

func (*ProfileMin) ProtoMessage()

func (*ProfileMin) Reset

func (m *ProfileMin) Reset()

func (*ProfileMin) String

func (m *ProfileMin) String() string

func (*ProfileMin) XXX_DiscardUnknown

func (m *ProfileMin) XXX_DiscardUnknown()

func (*ProfileMin) XXX_Marshal

func (m *ProfileMin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProfileMin) XXX_Merge

func (dst *ProfileMin) XXX_Merge(src proto.Message)

func (*ProfileMin) XXX_Size

func (m *ProfileMin) XXX_Size() int

func (*ProfileMin) XXX_Unmarshal

func (m *ProfileMin) XXX_Unmarshal(b []byte) error

type ProfileMins

type ProfileMins struct {
	Profiles             []*ProfileMin  `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
	Counts               *ProfileCounts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ProfileMins) Descriptor

func (*ProfileMins) Descriptor() ([]byte, []int)

func (*ProfileMins) GetCounts

func (m *ProfileMins) GetCounts() *ProfileCounts

func (*ProfileMins) GetProfiles

func (m *ProfileMins) GetProfiles() []*ProfileMin

func (*ProfileMins) ProtoMessage

func (*ProfileMins) ProtoMessage()

func (*ProfileMins) Reset

func (m *ProfileMins) Reset()

func (*ProfileMins) String

func (m *ProfileMins) String() string

func (*ProfileMins) XXX_DiscardUnknown

func (m *ProfileMins) XXX_DiscardUnknown()

func (*ProfileMins) XXX_Marshal

func (m *ProfileMins) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProfileMins) XXX_Merge

func (dst *ProfileMins) XXX_Merge(src proto.Message)

func (*ProfileMins) XXX_Size

func (m *ProfileMins) XXX_Size() int

func (*ProfileMins) XXX_Unmarshal

func (m *ProfileMins) XXX_Unmarshal(b []byte) error

type Query

type Query struct {
	Id                   string          `protobuf:"bytes,18,opt,name=id,proto3" json:"id,omitempty"`
	Type                 string          `protobuf:"bytes,19,opt,name=type,proto3" json:"type,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) Descriptor() ([]byte, []int)

func (*Query) GetFilters

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

func (*Query) GetId

func (m *Query) GetId() string

func (*Query) GetOrder

func (m *Query) GetOrder() Query_OrderType

func (*Query) GetPage

func (m *Query) GetPage() int32

func (*Query) GetPerPage

func (m *Query) GetPerPage() int32

func (*Query) GetSort

func (m *Query) GetSort() string

func (*Query) GetType

func (m *Query) GetType() string

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) Reset

func (m *Query) Reset()

func (*Query) String

func (m *Query) String() string

func (*Query) XXX_DiscardUnknown

func (m *Query) XXX_DiscardUnknown()

func (*Query) XXX_Marshal

func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Query) XXX_Merge

func (dst *Query) XXX_Merge(src proto.Message)

func (*Query) XXX_Size

func (m *Query) XXX_Size() int

func (*Query) XXX_Unmarshal

func (m *Query) XXX_Unmarshal(b []byte) error

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 Ref

type Ref struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Ref                  string   `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Ref) Descriptor

func (*Ref) Descriptor() ([]byte, []int)

func (*Ref) GetRef

func (m *Ref) GetRef() string

func (*Ref) GetUrl

func (m *Ref) GetUrl() string

func (*Ref) ProtoMessage

func (*Ref) ProtoMessage()

func (*Ref) Reset

func (m *Ref) Reset()

func (*Ref) String

func (m *Ref) String() string

func (*Ref) XXX_DiscardUnknown

func (m *Ref) XXX_DiscardUnknown()

func (*Ref) XXX_Marshal

func (m *Ref) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ref) XXX_Merge

func (dst *Ref) XXX_Merge(src proto.Message)

func (*Ref) XXX_Size

func (m *Ref) XXX_Size() int

func (*Ref) XXX_Unmarshal

func (m *Ref) XXX_Unmarshal(b []byte) error

type Report

type Report struct {
	Id                   string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NodeId               string               `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeName             string               `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
	EndTime              *timestamp.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Status               string               `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Controls             *ControlSummary      `protobuf:"bytes,6,opt,name=controls,proto3" json:"controls,omitempty"`
	Environment          string               `protobuf:"bytes,7,opt,name=environment,proto3" json:"environment,omitempty"`
	Version              string               `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
	Platform             *Platform            `protobuf:"bytes,9,opt,name=platform,proto3" json:"platform,omitempty"`
	Statistics           *Statistics          `protobuf:"bytes,10,opt,name=statistics,proto3" json:"statistics,omitempty"`
	Profiles             []*Profile           `protobuf:"bytes,11,rep,name=profiles,proto3" json:"profiles,omitempty"`
	JobId                string               `protobuf:"bytes,12,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	Ipaddress            string               `protobuf:"bytes,13,opt,name=ipaddress,proto3" json:"ipaddress,omitempty"`
	Fqdn                 string               `protobuf:"bytes,14,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Report) Descriptor

func (*Report) Descriptor() ([]byte, []int)

func (*Report) GetControls

func (m *Report) GetControls() *ControlSummary

func (*Report) GetEndTime

func (m *Report) GetEndTime() *timestamp.Timestamp

func (*Report) GetEnvironment

func (m *Report) GetEnvironment() string

func (*Report) GetFqdn

func (m *Report) GetFqdn() string

func (*Report) GetId

func (m *Report) GetId() string

func (*Report) GetIpaddress

func (m *Report) GetIpaddress() string

func (*Report) GetJobId

func (m *Report) GetJobId() string

func (*Report) GetNodeId

func (m *Report) GetNodeId() string

func (*Report) GetNodeName

func (m *Report) GetNodeName() string

func (*Report) GetPlatform

func (m *Report) GetPlatform() *Platform

func (*Report) GetProfiles

func (m *Report) GetProfiles() []*Profile

func (*Report) GetStatistics

func (m *Report) GetStatistics() *Statistics

func (*Report) GetStatus

func (m *Report) GetStatus() string

func (*Report) GetVersion

func (m *Report) GetVersion() string

func (*Report) ProtoMessage

func (*Report) ProtoMessage()

func (*Report) Reset

func (m *Report) Reset()

func (*Report) String

func (m *Report) String() string

func (*Report) XXX_DiscardUnknown

func (m *Report) XXX_DiscardUnknown()

func (*Report) XXX_Marshal

func (m *Report) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Report) XXX_Merge

func (dst *Report) XXX_Merge(src proto.Message)

func (*Report) XXX_Size

func (m *Report) XXX_Size() int

func (*Report) XXX_Unmarshal

func (m *Report) XXX_Unmarshal(b []byte) error

type ReportingServiceClient

type ReportingServiceClient interface {
	// should cover /reports
	ListReports(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Reports, error)
	// should cover /reports/:reportid
	ReadReport(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Report, error)
	// should cover /suggestions
	ListSuggestions(ctx context.Context, in *SuggestionRequest, opts ...grpc.CallOption) (*Suggestions, error)
	// should cover /search/profiles
	ListProfiles(ctx context.Context, in *Query, opts ...grpc.CallOption) (*ProfileMins, error)
	Export(ctx context.Context, in *Query, opts ...grpc.CallOption) (ReportingService_ExportClient, error)
	ReadNode(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Node, error)
	ListNodes(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Nodes, error)
	GetVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*version.VersionInfo, error)
	LicenseUsageNodes(ctx context.Context, in *TimeQuery, opts ...grpc.CallOption) (*Reports, error)
}

ReportingServiceClient is the client API for ReportingService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewReportingServiceClient

func NewReportingServiceClient(cc *grpc.ClientConn) ReportingServiceClient

type ReportingServiceServer

type ReportingServiceServer interface {
	// should cover /reports
	ListReports(context.Context, *Query) (*Reports, error)
	// should cover /reports/:reportid
	ReadReport(context.Context, *Query) (*Report, error)
	// should cover /suggestions
	ListSuggestions(context.Context, *SuggestionRequest) (*Suggestions, error)
	// should cover /search/profiles
	ListProfiles(context.Context, *Query) (*ProfileMins, error)
	Export(*Query, ReportingService_ExportServer) error
	ReadNode(context.Context, *Id) (*Node, error)
	ListNodes(context.Context, *Query) (*Nodes, error)
	GetVersion(context.Context, *empty.Empty) (*version.VersionInfo, error)
	LicenseUsageNodes(context.Context, *TimeQuery) (*Reports, error)
}

ReportingServiceServer is the server API for ReportingService service.

type ReportingService_ExportClient

type ReportingService_ExportClient interface {
	Recv() (*ExportData, error)
	grpc.ClientStream
}

type ReportingService_ExportServer

type ReportingService_ExportServer interface {
	Send(*ExportData) error
	grpc.ServerStream
}

type Reports

type Reports struct {
	Reports              []*Report `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"`
	Total                int32     `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Reports) Descriptor

func (*Reports) Descriptor() ([]byte, []int)

func (*Reports) GetReports

func (m *Reports) GetReports() []*Report

func (*Reports) GetTotal

func (m *Reports) GetTotal() int32

func (*Reports) ProtoMessage

func (*Reports) ProtoMessage()

func (*Reports) Reset

func (m *Reports) Reset()

func (*Reports) String

func (m *Reports) String() string

func (*Reports) XXX_DiscardUnknown

func (m *Reports) XXX_DiscardUnknown()

func (*Reports) XXX_Marshal

func (m *Reports) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Reports) XXX_Merge

func (dst *Reports) XXX_Merge(src proto.Message)

func (*Reports) XXX_Size

func (m *Reports) XXX_Size() int

func (*Reports) XXX_Unmarshal

func (m *Reports) XXX_Unmarshal(b []byte) error

type Result

type Result struct {
	Status               string   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	CodeDesc             string   `protobuf:"bytes,2,opt,name=code_desc,json=codeDesc,proto3" json:"code_desc,omitempty"`
	RunTime              float32  `protobuf:"fixed32,3,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
	StartTime            string   `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	Message              string   `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	SkipMessage          string   `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Result) Descriptor

func (*Result) Descriptor() ([]byte, []int)

func (*Result) GetCodeDesc

func (m *Result) GetCodeDesc() string

func (*Result) GetMessage

func (m *Result) GetMessage() string

func (*Result) GetRunTime

func (m *Result) GetRunTime() float32

func (*Result) GetSkipMessage

func (m *Result) GetSkipMessage() string

func (*Result) GetStartTime

func (m *Result) GetStartTime() string

func (*Result) GetStatus

func (m *Result) GetStatus() string

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) Reset

func (m *Result) Reset()

func (*Result) String

func (m *Result) String() string

func (*Result) XXX_DiscardUnknown

func (m *Result) XXX_DiscardUnknown()

func (*Result) XXX_Marshal

func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Result) XXX_Merge

func (dst *Result) XXX_Merge(src proto.Message)

func (*Result) XXX_Size

func (m *Result) XXX_Size() int

func (*Result) XXX_Unmarshal

func (m *Result) XXX_Unmarshal(b []byte) error

type SourceLocation

type SourceLocation struct {
	Ref                  string   `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	Line                 int32    `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SourceLocation) Descriptor

func (*SourceLocation) Descriptor() ([]byte, []int)

func (*SourceLocation) GetLine

func (m *SourceLocation) GetLine() int32

func (*SourceLocation) GetRef

func (m *SourceLocation) GetRef() string

func (*SourceLocation) ProtoMessage

func (*SourceLocation) ProtoMessage()

func (*SourceLocation) Reset

func (m *SourceLocation) Reset()

func (*SourceLocation) String

func (m *SourceLocation) String() string

func (*SourceLocation) XXX_DiscardUnknown

func (m *SourceLocation) XXX_DiscardUnknown()

func (*SourceLocation) XXX_Marshal

func (m *SourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SourceLocation) XXX_Merge

func (dst *SourceLocation) XXX_Merge(src proto.Message)

func (*SourceLocation) XXX_Size

func (m *SourceLocation) XXX_Size() int

func (*SourceLocation) XXX_Unmarshal

func (m *SourceLocation) XXX_Unmarshal(b []byte) error

type Statistics

type Statistics struct {
	Duration             float32  `protobuf:"fixed32,1,opt,name=duration,proto3" json:"duration,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Statistics) Descriptor

func (*Statistics) Descriptor() ([]byte, []int)

func (*Statistics) GetDuration

func (m *Statistics) GetDuration() float32

func (*Statistics) ProtoMessage

func (*Statistics) ProtoMessage()

func (*Statistics) Reset

func (m *Statistics) Reset()

func (*Statistics) String

func (m *Statistics) String() string

func (*Statistics) XXX_DiscardUnknown

func (m *Statistics) XXX_DiscardUnknown()

func (*Statistics) XXX_Marshal

func (m *Statistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Statistics) XXX_Merge

func (dst *Statistics) XXX_Merge(src proto.Message)

func (*Statistics) XXX_Size

func (m *Statistics) XXX_Size() int

func (*Statistics) XXX_Unmarshal

func (m *Statistics) XXX_Unmarshal(b []byte) error

type Suggestion

type Suggestion struct {
	Text                 string   `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Score                float32  `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`
	Version              string   `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Suggestion) Descriptor

func (*Suggestion) Descriptor() ([]byte, []int)

func (*Suggestion) GetId

func (m *Suggestion) GetId() string

func (*Suggestion) GetScore

func (m *Suggestion) GetScore() float32

func (*Suggestion) GetText

func (m *Suggestion) GetText() string

func (*Suggestion) GetVersion

func (m *Suggestion) GetVersion() string

func (*Suggestion) ProtoMessage

func (*Suggestion) ProtoMessage()

func (*Suggestion) Reset

func (m *Suggestion) Reset()

func (*Suggestion) String

func (m *Suggestion) String() string

func (*Suggestion) XXX_DiscardUnknown

func (m *Suggestion) XXX_DiscardUnknown()

func (*Suggestion) XXX_Marshal

func (m *Suggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Suggestion) XXX_Merge

func (dst *Suggestion) XXX_Merge(src proto.Message)

func (*Suggestion) XXX_Size

func (m *Suggestion) XXX_Size() int

func (*Suggestion) XXX_Unmarshal

func (m *Suggestion) XXX_Unmarshal(b []byte) error

type SuggestionRequest

type SuggestionRequest struct {
	Type                 string        `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Text                 string        `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	Size                 int32         `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Filters              []*ListFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*SuggestionRequest) Descriptor

func (*SuggestionRequest) Descriptor() ([]byte, []int)

func (*SuggestionRequest) GetFilters

func (m *SuggestionRequest) GetFilters() []*ListFilter

func (*SuggestionRequest) GetSize

func (m *SuggestionRequest) GetSize() int32

func (*SuggestionRequest) GetText

func (m *SuggestionRequest) GetText() string

func (*SuggestionRequest) GetType

func (m *SuggestionRequest) GetType() string

func (*SuggestionRequest) ProtoMessage

func (*SuggestionRequest) ProtoMessage()

func (*SuggestionRequest) Reset

func (m *SuggestionRequest) Reset()

func (*SuggestionRequest) String

func (m *SuggestionRequest) String() string

func (*SuggestionRequest) XXX_DiscardUnknown

func (m *SuggestionRequest) XXX_DiscardUnknown()

func (*SuggestionRequest) XXX_Marshal

func (m *SuggestionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SuggestionRequest) XXX_Merge

func (dst *SuggestionRequest) XXX_Merge(src proto.Message)

func (*SuggestionRequest) XXX_Size

func (m *SuggestionRequest) XXX_Size() int

func (*SuggestionRequest) XXX_Unmarshal

func (m *SuggestionRequest) XXX_Unmarshal(b []byte) error

type Suggestions

type Suggestions struct {
	Suggestions          []*Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Suggestions) Descriptor

func (*Suggestions) Descriptor() ([]byte, []int)

func (*Suggestions) GetSuggestions

func (m *Suggestions) GetSuggestions() []*Suggestion

func (*Suggestions) ProtoMessage

func (*Suggestions) ProtoMessage()

func (*Suggestions) Reset

func (m *Suggestions) Reset()

func (*Suggestions) String

func (m *Suggestions) String() string

func (*Suggestions) XXX_DiscardUnknown

func (m *Suggestions) XXX_DiscardUnknown()

func (*Suggestions) XXX_Marshal

func (m *Suggestions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Suggestions) XXX_Merge

func (dst *Suggestions) XXX_Merge(src proto.Message)

func (*Suggestions) XXX_Size

func (m *Suggestions) XXX_Size() int

func (*Suggestions) XXX_Unmarshal

func (m *Suggestions) XXX_Unmarshal(b []byte) error

type Support

type Support struct {
	OsName               string   `protobuf:"bytes,1,opt,name=os_name,json=osName,proto3" json:"os_name,omitempty"`
	OsFamily             string   `protobuf:"bytes,2,opt,name=os_family,json=osFamily,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"`
	Platform             string   `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Support) Descriptor

func (*Support) Descriptor() ([]byte, []int)

func (*Support) GetInspecVersion

func (m *Support) GetInspecVersion() string

func (*Support) GetOsFamily

func (m *Support) GetOsFamily() string

func (*Support) GetOsName

func (m *Support) GetOsName() string

func (*Support) GetPlatform

func (m *Support) GetPlatform() string

func (*Support) GetRelease

func (m *Support) GetRelease() string

func (*Support) ProtoMessage

func (*Support) ProtoMessage()

func (*Support) Reset

func (m *Support) Reset()

func (*Support) String

func (m *Support) String() string

func (*Support) XXX_DiscardUnknown

func (m *Support) XXX_DiscardUnknown()

func (*Support) XXX_Marshal

func (m *Support) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Support) XXX_Merge

func (dst *Support) XXX_Merge(src proto.Message)

func (*Support) XXX_Size

func (m *Support) XXX_Size() int

func (*Support) XXX_Unmarshal

func (m *Support) XXX_Unmarshal(b []byte) error

type TimeQuery

type TimeQuery struct {
	StartTime            *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*TimeQuery) Descriptor

func (*TimeQuery) Descriptor() ([]byte, []int)

func (*TimeQuery) GetStartTime

func (m *TimeQuery) GetStartTime() *timestamp.Timestamp

func (*TimeQuery) ProtoMessage

func (*TimeQuery) ProtoMessage()

func (*TimeQuery) Reset

func (m *TimeQuery) Reset()

func (*TimeQuery) String

func (m *TimeQuery) String() string

func (*TimeQuery) XXX_DiscardUnknown

func (m *TimeQuery) XXX_DiscardUnknown()

func (*TimeQuery) XXX_Marshal

func (m *TimeQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeQuery) XXX_Merge

func (dst *TimeQuery) XXX_Merge(src proto.Message)

func (*TimeQuery) XXX_Size

func (m *TimeQuery) XXX_Size() int

func (*TimeQuery) XXX_Unmarshal

func (m *TimeQuery) XXX_Unmarshal(b []byte) error

type Total

type Total struct {
	Total                int32    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Total) Descriptor

func (*Total) Descriptor() ([]byte, []int)

func (*Total) GetTotal

func (m *Total) GetTotal() int32

func (*Total) ProtoMessage

func (*Total) ProtoMessage()

func (*Total) Reset

func (m *Total) Reset()

func (*Total) String

func (m *Total) String() string

func (*Total) XXX_DiscardUnknown

func (m *Total) XXX_DiscardUnknown()

func (*Total) XXX_Marshal

func (m *Total) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Total) XXX_Merge

func (dst *Total) XXX_Merge(src proto.Message)

func (*Total) XXX_Size

func (m *Total) XXX_Size() int

func (*Total) XXX_Unmarshal

func (m *Total) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis
Package stats is a reverse proxy.
Package stats is a reverse proxy.

Jump to

Keyboard shortcuts

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