Documentation ¶
Overview ¶
Package profiles is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterProfilesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterProfilesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProfilesServiceClient) error
- func RegisterProfilesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterProfilesServiceServer(s *grpc.Server, srv ProfilesServiceServer)
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)
- func (m *Attribute) GetName() string
- func (m *Attribute) GetOptions() *Option
- func (*Attribute) ProtoMessage()
- func (m *Attribute) Reset()
- func (m *Attribute) String() string
- func (m *Attribute) XXX_DiscardUnknown()
- func (m *Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Attribute) XXX_Merge(src proto.Message)
- func (m *Attribute) XXX_Size() int
- func (m *Attribute) XXX_Unmarshal(b []byte) error
- type CheckMessage
- func (*CheckMessage) Descriptor() ([]byte, []int)
- func (m *CheckMessage) GetColumn() int32
- func (m *CheckMessage) GetControlId() string
- func (m *CheckMessage) GetFile() string
- func (m *CheckMessage) GetLine() int32
- func (m *CheckMessage) GetMsg() string
- func (*CheckMessage) ProtoMessage()
- func (m *CheckMessage) Reset()
- func (m *CheckMessage) String() string
- func (m *CheckMessage) XXX_DiscardUnknown()
- func (m *CheckMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CheckMessage) XXX_Merge(src proto.Message)
- func (m *CheckMessage) XXX_Size() int
- func (m *CheckMessage) XXX_Unmarshal(b []byte) error
- type CheckResult
- func (*CheckResult) Descriptor() ([]byte, []int)
- func (m *CheckResult) GetErrors() []*CheckMessage
- func (m *CheckResult) GetSummary() *ResultSummary
- func (m *CheckResult) GetWarnings() []*CheckMessage
- func (*CheckResult) ProtoMessage()
- func (m *CheckResult) Reset()
- func (m *CheckResult) String() string
- func (m *CheckResult) XXX_DiscardUnknown()
- func (m *CheckResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CheckResult) XXX_Merge(src proto.Message)
- func (m *CheckResult) XXX_Size() int
- func (m *CheckResult) XXX_Unmarshal(b []byte) error
- type Chunk
- func (*Chunk) Descriptor() ([]byte, []int)
- func (m *Chunk) GetData() []byte
- func (m *Chunk) GetPosition() int64
- func (*Chunk) ProtoMessage()
- func (m *Chunk) Reset()
- func (m *Chunk) String() string
- func (m *Chunk) XXX_DiscardUnknown()
- func (m *Chunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Chunk) XXX_Merge(src proto.Message)
- func (m *Chunk) XXX_Size() int
- func (m *Chunk) XXX_Unmarshal(b []byte) error
- type Control
- func (*Control) Descriptor() ([]byte, []int)
- func (m *Control) GetCode() string
- func (m *Control) GetDesc() string
- func (m *Control) GetId() string
- func (m *Control) GetImpact() float32
- func (m *Control) GetRefs() []*Ref
- func (m *Control) GetResults() []*Result
- func (m *Control) GetSourceLocation() *SourceLocation
- func (m *Control) GetTags() map[string]string
- func (m *Control) GetTitle() string
- func (*Control) ProtoMessage()
- func (m *Control) Reset()
- func (m *Control) String() string
- func (m *Control) XXX_DiscardUnknown()
- func (m *Control) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Control) XXX_Merge(src proto.Message)
- func (m *Control) XXX_Size() int
- func (m *Control) XXX_Unmarshal(b []byte) error
- type Dependency
- func (*Dependency) Descriptor() ([]byte, []int)
- func (m *Dependency) GetBranch() string
- func (m *Dependency) GetCommit() string
- func (m *Dependency) GetCompliance() string
- func (m *Dependency) GetGit() string
- func (m *Dependency) GetGithub() string
- func (m *Dependency) GetName() string
- func (m *Dependency) GetPath() string
- func (m *Dependency) GetSupermarket() string
- func (m *Dependency) GetTag() string
- func (m *Dependency) GetUrl() string
- func (m *Dependency) GetVersion() string
- func (*Dependency) ProtoMessage()
- func (m *Dependency) Reset()
- func (m *Dependency) String() string
- func (m *Dependency) XXX_DiscardUnknown()
- func (m *Dependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Dependency) XXX_Merge(src proto.Message)
- func (m *Dependency) XXX_Size() int
- func (m *Dependency) XXX_Unmarshal(b []byte) error
- type Group
- func (*Group) Descriptor() ([]byte, []int)
- func (m *Group) GetControls() []string
- func (m *Group) GetId() string
- func (m *Group) GetTitle() string
- func (*Group) ProtoMessage()
- func (m *Group) Reset()
- func (m *Group) String() string
- func (m *Group) XXX_DiscardUnknown()
- func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Group) XXX_Merge(src proto.Message)
- func (m *Group) XXX_Size() int
- func (m *Group) XXX_Unmarshal(b []byte) error
- type ListFilter
- func (*ListFilter) Descriptor() ([]byte, []int)
- func (m *ListFilter) GetType() string
- func (m *ListFilter) GetValues() []string
- func (*ListFilter) ProtoMessage()
- func (m *ListFilter) Reset()
- func (m *ListFilter) String() string
- func (m *ListFilter) XXX_DiscardUnknown()
- func (m *ListFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListFilter) XXX_Merge(src proto.Message)
- func (m *ListFilter) XXX_Size() int
- func (m *ListFilter) XXX_Unmarshal(b []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetContentType() string
- func (m *Metadata) GetName() string
- func (m *Metadata) GetVersion() string
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) String() string
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type Option
- func (*Option) Descriptor() ([]byte, []int)
- func (m *Option) GetDefault() string
- func (m *Option) GetDescription() string
- func (*Option) ProtoMessage()
- func (m *Option) Reset()
- func (m *Option) String() string
- func (m *Option) XXX_DiscardUnknown()
- func (m *Option) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Option) XXX_Merge(src proto.Message)
- func (m *Option) XXX_Size() int
- func (m *Option) XXX_Unmarshal(b []byte) error
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)
- func (m *Profile) GetAttributes() []*Attribute
- func (m *Profile) GetControls() []*Control
- func (m *Profile) GetCopyright() string
- func (m *Profile) GetCopyrightEmail() string
- func (m *Profile) GetDepends() []*Dependency
- func (m *Profile) GetGroups() []*Group
- func (m *Profile) GetLatestVersion() string
- func (m *Profile) GetLicense() string
- func (m *Profile) GetMaintainer() string
- func (m *Profile) GetName() string
- func (m *Profile) GetOwner() string
- func (m *Profile) GetSha256() string
- func (m *Profile) GetSummary() string
- func (m *Profile) GetSupports() []*Support
- func (m *Profile) GetTitle() string
- func (m *Profile) GetVersion() string
- func (*Profile) ProtoMessage()
- func (m *Profile) Reset()
- func (m *Profile) String() string
- func (m *Profile) XXX_DiscardUnknown()
- func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Profile) XXX_Merge(src proto.Message)
- func (m *Profile) XXX_Size() int
- func (m *Profile) XXX_Unmarshal(b []byte) error
- type ProfileData
- func (*ProfileData) Descriptor() ([]byte, []int)
- func (m *ProfileData) GetData() []byte
- func (m *ProfileData) GetName() string
- func (m *ProfileData) GetOwner() string
- func (m *ProfileData) GetVersion() string
- func (*ProfileData) ProtoMessage()
- func (m *ProfileData) Reset()
- func (m *ProfileData) String() string
- func (m *ProfileData) XXX_DiscardUnknown()
- func (m *ProfileData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProfileData) XXX_Merge(src proto.Message)
- func (m *ProfileData) XXX_Size() int
- func (m *ProfileData) XXX_Unmarshal(b []byte) error
- type ProfileDetails
- func (*ProfileDetails) Descriptor() ([]byte, []int)
- func (m *ProfileDetails) GetName() string
- func (m *ProfileDetails) GetOwner() string
- func (m *ProfileDetails) GetVersion() string
- func (*ProfileDetails) ProtoMessage()
- func (m *ProfileDetails) Reset()
- func (m *ProfileDetails) String() string
- func (m *ProfileDetails) XXX_DiscardUnknown()
- func (m *ProfileDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProfileDetails) XXX_Merge(src proto.Message)
- func (m *ProfileDetails) XXX_Size() int
- func (m *ProfileDetails) XXX_Unmarshal(b []byte) error
- type ProfilePostRequest
- func (*ProfilePostRequest) Descriptor() ([]byte, []int)
- func (m *ProfilePostRequest) GetChunk() *Chunk
- func (m *ProfilePostRequest) GetMeta() *Metadata
- func (m *ProfilePostRequest) GetOwner() string
- func (*ProfilePostRequest) ProtoMessage()
- func (m *ProfilePostRequest) Reset()
- func (m *ProfilePostRequest) String() string
- func (m *ProfilePostRequest) XXX_DiscardUnknown()
- func (m *ProfilePostRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProfilePostRequest) XXX_Merge(src proto.Message)
- func (m *ProfilePostRequest) XXX_Size() int
- func (m *ProfilePostRequest) XXX_Unmarshal(b []byte) error
- type Profiles
- func (*Profiles) Descriptor() ([]byte, []int)
- func (m *Profiles) GetProfiles() []*Profile
- func (m *Profiles) GetTotal() int32
- func (*Profiles) ProtoMessage()
- func (m *Profiles) Reset()
- func (m *Profiles) String() string
- func (m *Profiles) XXX_DiscardUnknown()
- func (m *Profiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Profiles) XXX_Merge(src proto.Message)
- func (m *Profiles) XXX_Size() int
- func (m *Profiles) XXX_Unmarshal(b []byte) error
- type ProfilesServiceClient
- type ProfilesServiceServer
- type ProfilesService_CreateClient
- type ProfilesService_CreateServer
- type ProfilesService_ReadTarClient
- type ProfilesService_ReadTarServer
- type Query
- func (*Query) Descriptor() ([]byte, []int)
- func (m *Query) GetFilters() []*ListFilter
- func (m *Query) GetName() string
- func (m *Query) GetOrder() Query_OrderType
- func (m *Query) GetOwner() string
- func (m *Query) GetPage() int32
- func (m *Query) GetPerPage() int32
- func (m *Query) GetSort() string
- func (m *Query) GetVersion() string
- func (*Query) ProtoMessage()
- func (m *Query) Reset()
- func (m *Query) String() string
- func (m *Query) XXX_DiscardUnknown()
- func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Query) XXX_Merge(src proto.Message)
- func (m *Query) XXX_Size() int
- func (m *Query) XXX_Unmarshal(b []byte) error
- type Query_OrderType
- type Ref
- func (*Ref) Descriptor() ([]byte, []int)
- func (m *Ref) GetRef() string
- func (m *Ref) GetUrl() string
- func (*Ref) ProtoMessage()
- func (m *Ref) Reset()
- func (m *Ref) String() string
- func (m *Ref) XXX_DiscardUnknown()
- func (m *Ref) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Ref) XXX_Merge(src proto.Message)
- func (m *Ref) XXX_Size() int
- func (m *Ref) XXX_Unmarshal(b []byte) error
- type Result
- func (*Result) Descriptor() ([]byte, []int)
- func (m *Result) GetCodeDesc() string
- func (m *Result) GetMessage() string
- func (m *Result) GetRunTime() float32
- func (m *Result) GetSkipMessage() string
- func (m *Result) GetStartTime() string
- func (m *Result) GetStatus() string
- func (*Result) ProtoMessage()
- func (m *Result) Reset()
- func (m *Result) String() string
- func (m *Result) XXX_DiscardUnknown()
- func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Result) XXX_Merge(src proto.Message)
- func (m *Result) XXX_Size() int
- func (m *Result) XXX_Unmarshal(b []byte) error
- type ResultSummary
- func (*ResultSummary) Descriptor() ([]byte, []int)
- func (m *ResultSummary) GetControls() int32
- func (m *ResultSummary) GetLocation() string
- func (m *ResultSummary) GetTimestamp() string
- func (m *ResultSummary) GetValid() bool
- func (*ResultSummary) ProtoMessage()
- func (m *ResultSummary) Reset()
- func (m *ResultSummary) String() string
- func (m *ResultSummary) XXX_DiscardUnknown()
- func (m *ResultSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResultSummary) XXX_Merge(src proto.Message)
- func (m *ResultSummary) XXX_Size() int
- func (m *ResultSummary) XXX_Unmarshal(b []byte) error
- type SourceLocation
- func (*SourceLocation) Descriptor() ([]byte, []int)
- func (m *SourceLocation) GetLine() int32
- func (m *SourceLocation) GetRef() string
- func (*SourceLocation) ProtoMessage()
- func (m *SourceLocation) Reset()
- func (m *SourceLocation) String() string
- func (m *SourceLocation) XXX_DiscardUnknown()
- func (m *SourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SourceLocation) XXX_Merge(src proto.Message)
- func (m *SourceLocation) XXX_Size() int
- func (m *SourceLocation) XXX_Unmarshal(b []byte) error
- type Support
- func (*Support) Descriptor() ([]byte, []int)
- func (m *Support) GetInspecVersion() string
- func (m *Support) GetOsFamily() string
- func (m *Support) GetOsName() string
- func (m *Support) GetPlatform() string
- func (m *Support) GetRelease() string
- func (*Support) ProtoMessage()
- func (m *Support) Reset()
- func (m *Support) String() string
- func (m *Support) XXX_DiscardUnknown()
- func (m *Support) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Support) XXX_Merge(src proto.Message)
- func (m *Support) XXX_Size() int
- func (m *Support) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var Query_OrderType_name = map[int32]string{
0: "ASC",
1: "DESC",
}
var Query_OrderType_value = map[string]int32{
"ASC": 0,
"DESC": 1,
}
Functions ¶
func RegisterProfilesServiceHandler ¶
func RegisterProfilesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterProfilesServiceHandler registers the http handlers for service ProfilesService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterProfilesServiceHandlerClient ¶
func RegisterProfilesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProfilesServiceClient) error
RegisterProfilesServiceHandlerClient registers the http handlers for service ProfilesService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProfilesServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProfilesServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProfilesServiceClient" to call the correct interceptors.
func RegisterProfilesServiceHandlerFromEndpoint ¶
func RegisterProfilesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterProfilesServiceHandlerFromEndpoint is same as RegisterProfilesServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterProfilesServiceServer ¶
func RegisterProfilesServiceServer(s *grpc.Server, srv ProfilesServiceServer)
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) GetOptions ¶
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) XXX_DiscardUnknown ¶
func (m *Attribute) XXX_DiscardUnknown()
func (*Attribute) XXX_Marshal ¶
func (*Attribute) XXX_Unmarshal ¶
type CheckMessage ¶
type CheckMessage struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"` Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"` ControlId string `protobuf:"bytes,4,opt,name=control_id,json=controlId,proto3" json:"control_id,omitempty"` Msg string `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckMessage) Descriptor ¶
func (*CheckMessage) Descriptor() ([]byte, []int)
func (*CheckMessage) GetColumn ¶
func (m *CheckMessage) GetColumn() int32
func (*CheckMessage) GetControlId ¶
func (m *CheckMessage) GetControlId() string
func (*CheckMessage) GetFile ¶
func (m *CheckMessage) GetFile() string
func (*CheckMessage) GetLine ¶
func (m *CheckMessage) GetLine() int32
func (*CheckMessage) GetMsg ¶
func (m *CheckMessage) GetMsg() string
func (*CheckMessage) ProtoMessage ¶
func (*CheckMessage) ProtoMessage()
func (*CheckMessage) Reset ¶
func (m *CheckMessage) Reset()
func (*CheckMessage) String ¶
func (m *CheckMessage) String() string
func (*CheckMessage) XXX_DiscardUnknown ¶
func (m *CheckMessage) XXX_DiscardUnknown()
func (*CheckMessage) XXX_Marshal ¶
func (m *CheckMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckMessage) XXX_Merge ¶
func (dst *CheckMessage) XXX_Merge(src proto.Message)
func (*CheckMessage) XXX_Size ¶
func (m *CheckMessage) XXX_Size() int
func (*CheckMessage) XXX_Unmarshal ¶
func (m *CheckMessage) XXX_Unmarshal(b []byte) error
type CheckResult ¶
type CheckResult struct { Summary *ResultSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` Errors []*CheckMessage `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` Warnings []*CheckMessage `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckResult) Descriptor ¶
func (*CheckResult) Descriptor() ([]byte, []int)
func (*CheckResult) GetErrors ¶
func (m *CheckResult) GetErrors() []*CheckMessage
func (*CheckResult) GetSummary ¶
func (m *CheckResult) GetSummary() *ResultSummary
func (*CheckResult) GetWarnings ¶
func (m *CheckResult) GetWarnings() []*CheckMessage
func (*CheckResult) ProtoMessage ¶
func (*CheckResult) ProtoMessage()
func (*CheckResult) Reset ¶
func (m *CheckResult) Reset()
func (*CheckResult) String ¶
func (m *CheckResult) String() string
func (*CheckResult) XXX_DiscardUnknown ¶
func (m *CheckResult) XXX_DiscardUnknown()
func (*CheckResult) XXX_Marshal ¶
func (m *CheckResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckResult) XXX_Merge ¶
func (dst *CheckResult) XXX_Merge(src proto.Message)
func (*CheckResult) XXX_Size ¶
func (m *CheckResult) XXX_Size() int
func (*CheckResult) XXX_Unmarshal ¶
func (m *CheckResult) XXX_Unmarshal(b []byte) error
type Chunk ¶
type Chunk struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Chunk) Descriptor ¶
func (*Chunk) GetPosition ¶
func (*Chunk) ProtoMessage ¶
func (*Chunk) ProtoMessage()
func (*Chunk) XXX_DiscardUnknown ¶
func (m *Chunk) XXX_DiscardUnknown()
func (*Chunk) XXX_Marshal ¶
func (*Chunk) XXX_Unmarshal ¶
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) GetResults ¶
func (*Control) GetSourceLocation ¶
func (m *Control) GetSourceLocation() *SourceLocation
func (*Control) ProtoMessage ¶
func (*Control) ProtoMessage()
func (*Control) XXX_DiscardUnknown ¶
func (m *Control) XXX_DiscardUnknown()
func (*Control) XXX_Marshal ¶
func (*Control) XXX_Unmarshal ¶
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"` 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) 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 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) GetControls ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) XXX_DiscardUnknown ¶
func (m *Group) XXX_DiscardUnknown()
func (*Group) XXX_Marshal ¶
func (*Group) XXX_Unmarshal ¶
type ListFilter ¶
type ListFilter struct { Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty"` Type string `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListFilter) Descriptor ¶
func (*ListFilter) Descriptor() ([]byte, []int)
func (*ListFilter) GetType ¶
func (m *ListFilter) GetType() string
func (*ListFilter) GetValues ¶
func (m *ListFilter) GetValues() []string
func (*ListFilter) ProtoMessage ¶
func (*ListFilter) ProtoMessage()
func (*ListFilter) Reset ¶
func (m *ListFilter) Reset()
func (*ListFilter) String ¶
func (m *ListFilter) String() string
func (*ListFilter) XXX_DiscardUnknown ¶
func (m *ListFilter) XXX_DiscardUnknown()
func (*ListFilter) XXX_Marshal ¶
func (m *ListFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListFilter) XXX_Merge ¶
func (dst *ListFilter) XXX_Merge(src proto.Message)
func (*ListFilter) XXX_Size ¶
func (m *ListFilter) XXX_Size() int
func (*ListFilter) XXX_Unmarshal ¶
func (m *ListFilter) XXX_Unmarshal(b []byte) error
type Metadata ¶
type Metadata struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Metadata) Descriptor ¶
func (*Metadata) GetContentType ¶
func (*Metadata) GetVersion ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶
func (*Metadata) XXX_Unmarshal ¶
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) GetDefault ¶
func (*Option) GetDescription ¶
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) XXX_DiscardUnknown ¶
func (m *Option) XXX_DiscardUnknown()
func (*Option) XXX_Marshal ¶
func (*Option) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Profile) Descriptor ¶
func (*Profile) GetAttributes ¶
func (*Profile) GetControls ¶
func (*Profile) GetCopyright ¶
func (*Profile) GetCopyrightEmail ¶
func (*Profile) GetDepends ¶
func (m *Profile) GetDepends() []*Dependency
func (*Profile) GetLatestVersion ¶
func (*Profile) GetLicense ¶
func (*Profile) GetMaintainer ¶
func (*Profile) GetSummary ¶
func (*Profile) GetSupports ¶
func (*Profile) GetVersion ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) XXX_DiscardUnknown ¶
func (m *Profile) XXX_DiscardUnknown()
func (*Profile) XXX_Marshal ¶
func (*Profile) XXX_Unmarshal ¶
type ProfileData ¶
type ProfileData struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProfileData) Descriptor ¶
func (*ProfileData) Descriptor() ([]byte, []int)
func (*ProfileData) GetData ¶
func (m *ProfileData) GetData() []byte
func (*ProfileData) GetName ¶
func (m *ProfileData) GetName() string
func (*ProfileData) GetOwner ¶
func (m *ProfileData) GetOwner() string
func (*ProfileData) GetVersion ¶
func (m *ProfileData) GetVersion() string
func (*ProfileData) ProtoMessage ¶
func (*ProfileData) ProtoMessage()
func (*ProfileData) Reset ¶
func (m *ProfileData) Reset()
func (*ProfileData) String ¶
func (m *ProfileData) String() string
func (*ProfileData) XXX_DiscardUnknown ¶
func (m *ProfileData) XXX_DiscardUnknown()
func (*ProfileData) XXX_Marshal ¶
func (m *ProfileData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProfileData) XXX_Merge ¶
func (dst *ProfileData) XXX_Merge(src proto.Message)
func (*ProfileData) XXX_Size ¶
func (m *ProfileData) XXX_Size() int
func (*ProfileData) XXX_Unmarshal ¶
func (m *ProfileData) XXX_Unmarshal(b []byte) error
type ProfileDetails ¶
type ProfileDetails struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProfileDetails) Descriptor ¶
func (*ProfileDetails) Descriptor() ([]byte, []int)
func (*ProfileDetails) GetName ¶
func (m *ProfileDetails) GetName() string
func (*ProfileDetails) GetOwner ¶
func (m *ProfileDetails) GetOwner() string
func (*ProfileDetails) GetVersion ¶
func (m *ProfileDetails) GetVersion() string
func (*ProfileDetails) ProtoMessage ¶
func (*ProfileDetails) ProtoMessage()
func (*ProfileDetails) Reset ¶
func (m *ProfileDetails) Reset()
func (*ProfileDetails) String ¶
func (m *ProfileDetails) String() string
func (*ProfileDetails) XXX_DiscardUnknown ¶
func (m *ProfileDetails) XXX_DiscardUnknown()
func (*ProfileDetails) XXX_Marshal ¶
func (m *ProfileDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProfileDetails) XXX_Merge ¶
func (dst *ProfileDetails) XXX_Merge(src proto.Message)
func (*ProfileDetails) XXX_Size ¶
func (m *ProfileDetails) XXX_Size() int
func (*ProfileDetails) XXX_Unmarshal ¶
func (m *ProfileDetails) XXX_Unmarshal(b []byte) error
type ProfilePostRequest ¶
type ProfilePostRequest struct { Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` Chunk *Chunk `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"` Meta *Metadata `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProfilePostRequest) Descriptor ¶
func (*ProfilePostRequest) Descriptor() ([]byte, []int)
func (*ProfilePostRequest) GetChunk ¶
func (m *ProfilePostRequest) GetChunk() *Chunk
func (*ProfilePostRequest) GetMeta ¶
func (m *ProfilePostRequest) GetMeta() *Metadata
func (*ProfilePostRequest) GetOwner ¶
func (m *ProfilePostRequest) GetOwner() string
func (*ProfilePostRequest) ProtoMessage ¶
func (*ProfilePostRequest) ProtoMessage()
func (*ProfilePostRequest) Reset ¶
func (m *ProfilePostRequest) Reset()
func (*ProfilePostRequest) String ¶
func (m *ProfilePostRequest) String() string
func (*ProfilePostRequest) XXX_DiscardUnknown ¶
func (m *ProfilePostRequest) XXX_DiscardUnknown()
func (*ProfilePostRequest) XXX_Marshal ¶
func (m *ProfilePostRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProfilePostRequest) XXX_Merge ¶
func (dst *ProfilePostRequest) XXX_Merge(src proto.Message)
func (*ProfilePostRequest) XXX_Size ¶
func (m *ProfilePostRequest) XXX_Size() int
func (*ProfilePostRequest) XXX_Unmarshal ¶
func (m *ProfilePostRequest) XXX_Unmarshal(b []byte) error
type Profiles ¶
type Profiles struct { Profiles []*Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,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 (*Profiles) Descriptor ¶
func (*Profiles) GetProfiles ¶
func (*Profiles) ProtoMessage ¶
func (*Profiles) ProtoMessage()
func (*Profiles) XXX_DiscardUnknown ¶
func (m *Profiles) XXX_DiscardUnknown()
func (*Profiles) XXX_Marshal ¶
func (*Profiles) XXX_Unmarshal ¶
type ProfilesServiceClient ¶
type ProfilesServiceClient interface { // grpc gateway is not able to handle multi-part upload; https://github.com/grpc-ecosystem/grpc-gateway/issues/410 // so we do not auto-generate the route for profile upload; we instead custom handle with mux Create(ctx context.Context, opts ...grpc.CallOption) (ProfilesService_CreateClient, error) Read(ctx context.Context, in *ProfileDetails, opts ...grpc.CallOption) (*Profile, error) ReadFromMarket(ctx context.Context, in *ProfileDetails, opts ...grpc.CallOption) (*Profile, error) // grpc gateway is not able to handle streaming; https://github.com/grpc-ecosystem/grpc-gateway/issues/435 // so we do not auto-generate the route for profile download; we instead custom handle with mux ReadTar(ctx context.Context, in *ProfileDetails, opts ...grpc.CallOption) (ProfilesService_ReadTarClient, error) Delete(ctx context.Context, in *ProfileDetails, opts ...grpc.CallOption) (*empty.Empty, error) List(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Profiles, error) }
ProfilesServiceClient is the client API for ProfilesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProfilesServiceClient ¶
func NewProfilesServiceClient(cc *grpc.ClientConn) ProfilesServiceClient
type ProfilesServiceServer ¶
type ProfilesServiceServer interface { // grpc gateway is not able to handle multi-part upload; https://github.com/grpc-ecosystem/grpc-gateway/issues/410 // so we do not auto-generate the route for profile upload; we instead custom handle with mux Create(ProfilesService_CreateServer) error Read(context.Context, *ProfileDetails) (*Profile, error) ReadFromMarket(context.Context, *ProfileDetails) (*Profile, error) // grpc gateway is not able to handle streaming; https://github.com/grpc-ecosystem/grpc-gateway/issues/435 // so we do not auto-generate the route for profile download; we instead custom handle with mux ReadTar(*ProfileDetails, ProfilesService_ReadTarServer) error Delete(context.Context, *ProfileDetails) (*empty.Empty, error) List(context.Context, *Query) (*Profiles, error) }
ProfilesServiceServer is the server API for ProfilesService service.
type ProfilesService_CreateClient ¶
type ProfilesService_CreateClient interface { Send(*ProfilePostRequest) error CloseAndRecv() (*CheckResult, error) grpc.ClientStream }
type ProfilesService_CreateServer ¶
type ProfilesService_CreateServer interface { SendAndClose(*CheckResult) error Recv() (*ProfilePostRequest, error) grpc.ServerStream }
type ProfilesService_ReadTarClient ¶
type ProfilesService_ReadTarClient interface { Recv() (*ProfileData, error) grpc.ClientStream }
type ProfilesService_ReadTarServer ¶
type ProfilesService_ReadTarServer interface { Send(*ProfileData) error grpc.ServerStream }
type Query ¶
type Query struct { Filters []*ListFilter `protobuf:"bytes,20,rep,name=filters,proto3" json:"filters,omitempty"` Order Query_OrderType `` /* 127-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"` Owner string `protobuf:"bytes,25,opt,name=owner,proto3" json:"owner,omitempty"` Name string `protobuf:"bytes,26,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,27,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Query) Descriptor ¶
func (*Query) GetFilters ¶
func (m *Query) GetFilters() []*ListFilter
func (*Query) GetOrder ¶
func (m *Query) GetOrder() Query_OrderType
func (*Query) GetPerPage ¶
func (*Query) GetVersion ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) XXX_DiscardUnknown ¶
func (m *Query) XXX_DiscardUnknown()
func (*Query) XXX_Marshal ¶
func (*Query) XXX_Unmarshal ¶
type Query_OrderType ¶
type Query_OrderType int32
const ( Query_ASC Query_OrderType = 0 Query_DESC Query_OrderType = 1 )
func (Query_OrderType) EnumDescriptor ¶
func (Query_OrderType) EnumDescriptor() ([]byte, []int)
func (Query_OrderType) String ¶
func (x Query_OrderType) String() string
type 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) ProtoMessage ¶
func (*Ref) ProtoMessage()
func (*Ref) XXX_DiscardUnknown ¶
func (m *Ref) XXX_DiscardUnknown()
func (*Ref) XXX_Unmarshal ¶
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) GetCodeDesc ¶
func (*Result) GetMessage ¶
func (*Result) GetRunTime ¶
func (*Result) GetSkipMessage ¶
func (*Result) GetStartTime ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) XXX_DiscardUnknown ¶
func (m *Result) XXX_DiscardUnknown()
func (*Result) XXX_Marshal ¶
func (*Result) XXX_Unmarshal ¶
type ResultSummary ¶
type ResultSummary struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Controls int32 `protobuf:"varint,4,opt,name=controls,proto3" json:"controls,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResultSummary) Descriptor ¶
func (*ResultSummary) Descriptor() ([]byte, []int)
func (*ResultSummary) GetControls ¶
func (m *ResultSummary) GetControls() int32
func (*ResultSummary) GetLocation ¶
func (m *ResultSummary) GetLocation() string
func (*ResultSummary) GetTimestamp ¶
func (m *ResultSummary) GetTimestamp() string
func (*ResultSummary) GetValid ¶
func (m *ResultSummary) GetValid() bool
func (*ResultSummary) ProtoMessage ¶
func (*ResultSummary) ProtoMessage()
func (*ResultSummary) Reset ¶
func (m *ResultSummary) Reset()
func (*ResultSummary) String ¶
func (m *ResultSummary) String() string
func (*ResultSummary) XXX_DiscardUnknown ¶
func (m *ResultSummary) XXX_DiscardUnknown()
func (*ResultSummary) XXX_Marshal ¶
func (m *ResultSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResultSummary) XXX_Merge ¶
func (dst *ResultSummary) XXX_Merge(src proto.Message)
func (*ResultSummary) XXX_Size ¶
func (m *ResultSummary) XXX_Size() int
func (*ResultSummary) XXX_Unmarshal ¶
func (m *ResultSummary) 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 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) GetInspecVersion ¶
func (*Support) GetOsFamily ¶
func (*Support) GetPlatform ¶
func (*Support) GetRelease ¶
func (*Support) ProtoMessage ¶
func (*Support) ProtoMessage()
func (*Support) XXX_DiscardUnknown ¶
func (m *Support) XXX_DiscardUnknown()