Documentation ¶
Index ¶
- Variables
- func RegisterProfilesAdminServiceServer(s *grpc.Server, srv ProfilesAdminServiceServer)
- func RegisterProfilesServiceServer(s *grpc.Server, srv ProfilesServiceServer)
- type Attribute
- type CheckMessage
- func (*CheckMessage) Descriptor() ([]byte, []int)deprecated
- func (x *CheckMessage) GetColumn() int32
- func (x *CheckMessage) GetControlId() string
- func (x *CheckMessage) GetFile() string
- func (x *CheckMessage) GetLine() int32
- func (x *CheckMessage) GetMsg() string
- func (*CheckMessage) ProtoMessage()
- func (x *CheckMessage) ProtoReflect() protoreflect.Message
- func (x *CheckMessage) Reset()
- func (x *CheckMessage) String() string
- type CheckResult
- func (*CheckResult) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResult) GetErrors() []*CheckMessage
- func (x *CheckResult) GetSummary() *ResultSummary
- func (x *CheckResult) GetWarnings() []*CheckMessage
- func (*CheckResult) ProtoMessage()
- func (x *CheckResult) ProtoReflect() protoreflect.Message
- func (x *CheckResult) Reset()
- func (x *CheckResult) String() string
- type Chunk
- type Control
- func (*Control) Descriptor() ([]byte, []int)deprecated
- func (x *Control) GetCode() string
- func (x *Control) GetDesc() string
- func (x *Control) GetId() string
- func (x *Control) GetImpact() float32
- func (x *Control) GetRefs() []*Ref
- func (x *Control) GetResults() []*Result
- func (x *Control) GetSourceLocation() *SourceLocation
- func (x *Control) GetTags() map[string]string
- func (x *Control) GetTitle() string
- func (*Control) ProtoMessage()
- func (x *Control) ProtoReflect() protoreflect.Message
- func (x *Control) Reset()
- func (x *Control) String() string
- type Dependency
- func (*Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Dependency) GetBranch() string
- func (x *Dependency) GetCommit() string
- func (x *Dependency) GetCompliance() string
- func (x *Dependency) GetGit() string
- func (x *Dependency) GetGithub() string
- func (x *Dependency) GetName() string
- func (x *Dependency) GetPath() string
- func (x *Dependency) GetSupermarket() string
- func (x *Dependency) GetTag() string
- func (x *Dependency) GetUrl() string
- func (x *Dependency) GetVersion() string
- func (*Dependency) ProtoMessage()
- func (x *Dependency) ProtoReflect() protoreflect.Message
- func (x *Dependency) Reset()
- func (x *Dependency) String() string
- type Group
- type ListFilter
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetContentType() string
- func (x *Metadata) GetName() string
- func (x *Metadata) GetVersion() string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type Missing
- type Option
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetAttributes() []*Attribute
- func (x *Profile) GetControls() []*Control
- func (x *Profile) GetCopyright() string
- func (x *Profile) GetCopyrightEmail() string
- func (x *Profile) GetDepends() []*Dependency
- func (x *Profile) GetGroups() []*Group
- func (x *Profile) GetLatestVersion() string
- func (x *Profile) GetLicense() string
- func (x *Profile) GetMaintainer() string
- func (x *Profile) GetName() string
- func (x *Profile) GetOwner() string
- func (x *Profile) GetSha256() string
- func (x *Profile) GetSummary() string
- func (x *Profile) GetSupports() []*Support
- func (x *Profile) GetTitle() string
- func (x *Profile) GetVersion() string
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- type ProfileData
- func (*ProfileData) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileData) GetData() []byte
- func (x *ProfileData) GetName() string
- func (x *ProfileData) GetOwner() string
- func (x *ProfileData) GetVersion() string
- func (*ProfileData) ProtoMessage()
- func (x *ProfileData) ProtoReflect() protoreflect.Message
- func (x *ProfileData) Reset()
- func (x *ProfileData) String() string
- type ProfileDetails
- func (*ProfileDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileDetails) GetName() string
- func (x *ProfileDetails) GetOwner() string
- func (x *ProfileDetails) GetVersion() string
- func (*ProfileDetails) ProtoMessage()
- func (x *ProfileDetails) ProtoReflect() protoreflect.Message
- func (x *ProfileDetails) Reset()
- func (x *ProfileDetails) String() string
- type ProfilePostRequest
- func (*ProfilePostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProfilePostRequest) GetChunk() *Chunk
- func (x *ProfilePostRequest) GetMeta() *Metadata
- func (x *ProfilePostRequest) GetOwner() string
- func (*ProfilePostRequest) ProtoMessage()
- func (x *ProfilePostRequest) ProtoReflect() protoreflect.Message
- func (x *ProfilePostRequest) Reset()
- func (x *ProfilePostRequest) String() string
- type Profiles
- type ProfilesAdminServiceClient
- type ProfilesAdminServiceServer
- type ProfilesServiceClient
- type ProfilesServiceServer
- type ProfilesService_CreateClient
- type ProfilesService_CreateServer
- type ProfilesService_ReadTarClient
- type ProfilesService_ReadTarServer
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetFilters() []*ListFilter
- func (x *Query) GetName() string
- func (x *Query) GetOrder() Query_OrderType
- func (x *Query) GetOwner() string
- func (x *Query) GetPage() int32
- func (x *Query) GetPerPage() int32
- func (x *Query) GetSort() string
- func (x *Query) GetVersion() string
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (x *Query) String() string
- type Query_OrderType
- func (Query_OrderType) Descriptor() protoreflect.EnumDescriptor
- func (x Query_OrderType) Enum() *Query_OrderType
- func (Query_OrderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Query_OrderType) Number() protoreflect.EnumNumber
- func (x Query_OrderType) String() string
- func (Query_OrderType) Type() protoreflect.EnumType
- type Ref
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetCodeDesc() string
- func (x *Result) GetMessage() string
- func (x *Result) GetRunTime() float32
- func (x *Result) GetSkipMessage() string
- func (x *Result) GetStartTime() string
- func (x *Result) GetStatus() string
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type ResultSummary
- func (*ResultSummary) Descriptor() ([]byte, []int)deprecated
- func (x *ResultSummary) GetControls() int32
- func (x *ResultSummary) GetLocation() string
- func (x *ResultSummary) GetTimestamp() string
- func (x *ResultSummary) GetValid() bool
- func (*ResultSummary) ProtoMessage()
- func (x *ResultSummary) ProtoReflect() protoreflect.Message
- func (x *ResultSummary) Reset()
- func (x *ResultSummary) String() string
- type Sha256
- type SourceLocation
- func (*SourceLocation) Descriptor() ([]byte, []int)deprecated
- func (x *SourceLocation) GetLine() int32
- func (x *SourceLocation) GetRef() string
- func (*SourceLocation) ProtoMessage()
- func (x *SourceLocation) ProtoReflect() protoreflect.Message
- func (x *SourceLocation) Reset()
- func (x *SourceLocation) String() string
- type Support
- func (*Support) Descriptor() ([]byte, []int)deprecated
- func (x *Support) GetInspecVersion() string
- func (x *Support) GetOsFamily() string
- func (x *Support) GetOsName() string
- func (x *Support) GetPlatform() string
- func (x *Support) GetRelease() string
- func (*Support) ProtoMessage()
- func (x *Support) ProtoReflect() protoreflect.Message
- func (x *Support) Reset()
- func (x *Support) String() string
- type UnimplementedProfilesAdminServiceServer
- type UnimplementedProfilesServiceServer
- func (*UnimplementedProfilesServiceServer) Create(ProfilesService_CreateServer) error
- func (*UnimplementedProfilesServiceServer) Delete(context.Context, *ProfileDetails) (*emptypb.Empty, error)
- func (*UnimplementedProfilesServiceServer) List(context.Context, *Query) (*Profiles, error)
- func (*UnimplementedProfilesServiceServer) MetaSearch(context.Context, *Sha256) (*Missing, error)
- func (*UnimplementedProfilesServiceServer) Read(context.Context, *ProfileDetails) (*Profile, error)
- func (*UnimplementedProfilesServiceServer) ReadTar(*ProfileDetails, ProfilesService_ReadTarServer) error
Constants ¶
This section is empty.
Variables ¶
var ( Query_OrderType_name = map[int32]string{ 0: "ASC", 1: "DESC", } Query_OrderType_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for Query_OrderType.
var File_interservice_compliance_profiles_profiles_proto protoreflect.FileDescriptor
Functions ¶
func RegisterProfilesAdminServiceServer ¶
func RegisterProfilesAdminServiceServer(s *grpc.Server, srv ProfilesAdminServiceServer)
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" toml:"name,omitempty" mapstructure:"name,omitempty"` Options *Option `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty" toml:"options,omitempty" mapstructure:"options,omitempty"` // contains filtered or unexported fields }
func (*Attribute) Descriptor
deprecated
func (*Attribute) GetOptions ¶
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶
func (x *Attribute) ProtoReflect() protoreflect.Message
type CheckMessage ¶
type CheckMessage struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty" toml:"file,omitempty" mapstructure:"file,omitempty"` Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` Column int32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty" toml:"column,omitempty" mapstructure:"column,omitempty"` ControlId string `` /* 152-byte string literal not displayed */ Msg string `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty" toml:"msg,omitempty" mapstructure:"msg,omitempty"` // contains filtered or unexported fields }
func (*CheckMessage) Descriptor
deprecated
func (*CheckMessage) Descriptor() ([]byte, []int)
Deprecated: Use CheckMessage.ProtoReflect.Descriptor instead.
func (*CheckMessage) GetColumn ¶
func (x *CheckMessage) GetColumn() int32
func (*CheckMessage) GetControlId ¶
func (x *CheckMessage) GetControlId() string
func (*CheckMessage) GetFile ¶
func (x *CheckMessage) GetFile() string
func (*CheckMessage) GetLine ¶
func (x *CheckMessage) GetLine() int32
func (*CheckMessage) GetMsg ¶
func (x *CheckMessage) GetMsg() string
func (*CheckMessage) ProtoMessage ¶
func (*CheckMessage) ProtoMessage()
func (*CheckMessage) ProtoReflect ¶
func (x *CheckMessage) ProtoReflect() protoreflect.Message
func (*CheckMessage) Reset ¶
func (x *CheckMessage) Reset()
func (*CheckMessage) String ¶
func (x *CheckMessage) String() string
type CheckResult ¶
type CheckResult struct { Summary *ResultSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` Errors []*CheckMessage `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty" toml:"errors,omitempty" mapstructure:"errors,omitempty"` Warnings []*CheckMessage `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CheckResult) Descriptor
deprecated
func (*CheckResult) Descriptor() ([]byte, []int)
Deprecated: Use CheckResult.ProtoReflect.Descriptor instead.
func (*CheckResult) GetErrors ¶
func (x *CheckResult) GetErrors() []*CheckMessage
func (*CheckResult) GetSummary ¶
func (x *CheckResult) GetSummary() *ResultSummary
func (*CheckResult) GetWarnings ¶
func (x *CheckResult) GetWarnings() []*CheckMessage
func (*CheckResult) ProtoMessage ¶
func (*CheckResult) ProtoMessage()
func (*CheckResult) ProtoReflect ¶
func (x *CheckResult) ProtoReflect() protoreflect.Message
func (*CheckResult) Reset ¶
func (x *CheckResult) Reset()
func (*CheckResult) String ¶
func (x *CheckResult) String() string
type Chunk ¶
type Chunk struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` Position int64 `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Chunk) Descriptor
deprecated
func (*Chunk) GetPosition ¶
func (*Chunk) ProtoMessage ¶
func (*Chunk) ProtoMessage()
func (*Chunk) ProtoReflect ¶
func (x *Chunk) ProtoReflect() protoreflect.Message
type Control ¶
type Control struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty" toml:"code,omitempty" mapstructure:"code,omitempty"` Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty" toml:"desc,omitempty" mapstructure:"desc,omitempty"` Impact float32 `protobuf:"fixed32,4,opt,name=impact,proto3" json:"impact,omitempty" toml:"impact,omitempty" mapstructure:"impact,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` SourceLocation *SourceLocation `` /* 177-byte string literal not displayed */ Results []*Result `protobuf:"bytes,7,rep,name=results,proto3" json:"results,omitempty" toml:"results,omitempty" mapstructure:"results,omitempty"` Refs []*Ref `protobuf:"bytes,8,rep,name=refs,proto3" json:"refs,omitempty" toml:"refs,omitempty" mapstructure:"refs,omitempty"` Tags map[string]string `` /* 201-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Control) Descriptor
deprecated
func (*Control) GetResults ¶
func (*Control) GetSourceLocation ¶
func (x *Control) GetSourceLocation() *SourceLocation
func (*Control) ProtoMessage ¶
func (*Control) ProtoMessage()
func (*Control) ProtoReflect ¶
func (x *Control) ProtoReflect() protoreflect.Message
type Dependency ¶
type Dependency struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"` Git string `protobuf:"bytes,4,opt,name=git,proto3" json:"git,omitempty" toml:"git,omitempty" mapstructure:"git,omitempty"` Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty" toml:"branch,omitempty" mapstructure:"branch,omitempty"` Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty" toml:"tag,omitempty" mapstructure:"tag,omitempty"` Commit string `protobuf:"bytes,7,opt,name=commit,proto3" json:"commit,omitempty" toml:"commit,omitempty" mapstructure:"commit,omitempty"` Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` Supermarket string `` /* 141-byte string literal not displayed */ Github string `protobuf:"bytes,10,opt,name=github,proto3" json:"github,omitempty" toml:"github,omitempty" mapstructure:"github,omitempty"` Compliance string `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Dependency) Descriptor
deprecated
func (*Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Dependency.ProtoReflect.Descriptor instead.
func (*Dependency) GetBranch ¶
func (x *Dependency) GetBranch() string
func (*Dependency) GetCommit ¶
func (x *Dependency) GetCommit() string
func (*Dependency) GetCompliance ¶
func (x *Dependency) GetCompliance() string
func (*Dependency) GetGit ¶
func (x *Dependency) GetGit() string
func (*Dependency) GetGithub ¶
func (x *Dependency) GetGithub() string
func (*Dependency) GetName ¶
func (x *Dependency) GetName() string
func (*Dependency) GetPath ¶
func (x *Dependency) GetPath() string
func (*Dependency) GetSupermarket ¶
func (x *Dependency) GetSupermarket() string
func (*Dependency) GetTag ¶
func (x *Dependency) GetTag() string
func (*Dependency) GetUrl ¶
func (x *Dependency) GetUrl() string
func (*Dependency) GetVersion ¶
func (x *Dependency) GetVersion() string
func (*Dependency) ProtoMessage ¶
func (*Dependency) ProtoMessage()
func (*Dependency) ProtoReflect ¶
func (x *Dependency) ProtoReflect() protoreflect.Message
func (*Dependency) Reset ¶
func (x *Dependency) Reset()
func (*Dependency) String ¶
func (x *Dependency) String() string
type Group ¶
type Group struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` Controls []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Group) Descriptor
deprecated
func (*Group) GetControls ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type ListFilter ¶
type ListFilter struct { Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` Type string `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"` // contains filtered or unexported fields }
func (*ListFilter) Descriptor
deprecated
func (*ListFilter) Descriptor() ([]byte, []int)
Deprecated: Use ListFilter.ProtoReflect.Descriptor instead.
func (*ListFilter) GetType ¶
func (x *ListFilter) GetType() string
func (*ListFilter) GetValues ¶
func (x *ListFilter) GetValues() []string
func (*ListFilter) ProtoMessage ¶
func (*ListFilter) ProtoMessage()
func (*ListFilter) ProtoReflect ¶
func (x *ListFilter) ProtoReflect() protoreflect.Message
func (*ListFilter) Reset ¶
func (x *ListFilter) Reset()
func (*ListFilter) String ¶
func (x *ListFilter) String() string
type Metadata ¶
type Metadata struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` // The field must be `contentType` in the JSON representation // buf:lint:ignore FIELD_LOWER_SNAKE_CASE ContentType string `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetContentType ¶
func (*Metadata) GetVersion ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Missing ¶
type Missing struct { MissingSha256 []string `` /* 172-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Missing) Descriptor
deprecated
func (*Missing) GetMissingSha256 ¶
func (*Missing) ProtoMessage ¶
func (*Missing) ProtoMessage()
func (*Missing) ProtoReflect ¶
func (x *Missing) ProtoReflect() protoreflect.Message
type Option ¶
type Option struct { Description string `` /* 141-byte string literal not displayed */ Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty" toml:"default,omitempty" mapstructure:"default,omitempty"` // contains filtered or unexported fields }
func (*Option) Descriptor
deprecated
func (*Option) GetDefault ¶
func (*Option) GetDescription ¶
func (*Option) ProtoMessage ¶
func (*Option) ProtoMessage()
func (*Option) ProtoReflect ¶
func (x *Option) ProtoReflect() protoreflect.Message
type Profile ¶
type Profile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" mapstructure:"title,omitempty"` Maintainer string `` /* 137-byte string literal not displayed */ Copyright string `` /* 133-byte string literal not displayed */ CopyrightEmail string `` /* 177-byte string literal not displayed */ License string `protobuf:"bytes,6,opt,name=license,proto3" json:"license,omitempty" toml:"license,omitempty" mapstructure:"license,omitempty"` Summary string `protobuf:"bytes,7,opt,name=summary,proto3" json:"summary,omitempty" toml:"summary,omitempty" mapstructure:"summary,omitempty"` Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` Owner string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` Supports []*Support `` /* 130-byte string literal not displayed */ Depends []*Dependency `` /* 126-byte string literal not displayed */ Sha256 string `protobuf:"bytes,18,opt,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` Groups []*Group `protobuf:"bytes,19,rep,name=groups,proto3" json:"groups,omitempty" toml:"groups,omitempty" mapstructure:"groups,omitempty"` Controls []*Control `` /* 130-byte string literal not displayed */ Attributes []*Attribute `` /* 138-byte string literal not displayed */ LatestVersion string `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetAttributes ¶
func (*Profile) GetControls ¶
func (*Profile) GetCopyright ¶
func (*Profile) GetCopyrightEmail ¶
func (*Profile) GetDepends ¶
func (x *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) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type ProfileData ¶
type ProfileData struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty" toml:"data,omitempty" mapstructure:"data,omitempty"` // contains filtered or unexported fields }
func (*ProfileData) Descriptor
deprecated
func (*ProfileData) Descriptor() ([]byte, []int)
Deprecated: Use ProfileData.ProtoReflect.Descriptor instead.
func (*ProfileData) GetData ¶
func (x *ProfileData) GetData() []byte
func (*ProfileData) GetName ¶
func (x *ProfileData) GetName() string
func (*ProfileData) GetOwner ¶
func (x *ProfileData) GetOwner() string
func (*ProfileData) GetVersion ¶
func (x *ProfileData) GetVersion() string
func (*ProfileData) ProtoMessage ¶
func (*ProfileData) ProtoMessage()
func (*ProfileData) ProtoReflect ¶
func (x *ProfileData) ProtoReflect() protoreflect.Message
func (*ProfileData) Reset ¶
func (x *ProfileData) Reset()
func (*ProfileData) String ¶
func (x *ProfileData) String() string
type ProfileDetails ¶
type ProfileDetails struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` // contains filtered or unexported fields }
func (*ProfileDetails) Descriptor
deprecated
func (*ProfileDetails) Descriptor() ([]byte, []int)
Deprecated: Use ProfileDetails.ProtoReflect.Descriptor instead.
func (*ProfileDetails) GetName ¶
func (x *ProfileDetails) GetName() string
func (*ProfileDetails) GetOwner ¶
func (x *ProfileDetails) GetOwner() string
func (*ProfileDetails) GetVersion ¶
func (x *ProfileDetails) GetVersion() string
func (*ProfileDetails) ProtoMessage ¶
func (*ProfileDetails) ProtoMessage()
func (*ProfileDetails) ProtoReflect ¶
func (x *ProfileDetails) ProtoReflect() protoreflect.Message
func (*ProfileDetails) Reset ¶
func (x *ProfileDetails) Reset()
func (*ProfileDetails) String ¶
func (x *ProfileDetails) String() string
type ProfilePostRequest ¶
type ProfilePostRequest struct { Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` Chunk *Chunk `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty" toml:"chunk,omitempty" mapstructure:"chunk,omitempty"` Meta *Metadata `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty" toml:"meta,omitempty" mapstructure:"meta,omitempty"` // contains filtered or unexported fields }
func (*ProfilePostRequest) Descriptor
deprecated
func (*ProfilePostRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProfilePostRequest.ProtoReflect.Descriptor instead.
func (*ProfilePostRequest) GetChunk ¶
func (x *ProfilePostRequest) GetChunk() *Chunk
func (*ProfilePostRequest) GetMeta ¶
func (x *ProfilePostRequest) GetMeta() *Metadata
func (*ProfilePostRequest) GetOwner ¶
func (x *ProfilePostRequest) GetOwner() string
func (*ProfilePostRequest) ProtoMessage ¶
func (*ProfilePostRequest) ProtoMessage()
func (*ProfilePostRequest) ProtoReflect ¶
func (x *ProfilePostRequest) ProtoReflect() protoreflect.Message
func (*ProfilePostRequest) Reset ¶
func (x *ProfilePostRequest) Reset()
func (*ProfilePostRequest) String ¶
func (x *ProfilePostRequest) String() string
type Profiles ¶
type Profiles struct { Profiles []*Profile `` /* 129-byte string literal not displayed */ Total int32 `protobuf:"varint,20,opt,name=total,proto3" json:"total,omitempty" toml:"total,omitempty" mapstructure:"total,omitempty"` // contains filtered or unexported fields }
func (*Profiles) Descriptor
deprecated
func (*Profiles) GetProfiles ¶
func (*Profiles) ProtoMessage ¶
func (*Profiles) ProtoMessage()
func (*Profiles) ProtoReflect ¶
func (x *Profiles) ProtoReflect() protoreflect.Message
type ProfilesAdminServiceClient ¶
type ProfilesAdminServiceClient interface { RebuildElasticCache(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) MigrateDiskProfiles(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ProfilesAdminServiceClient is the client API for ProfilesAdminService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProfilesAdminServiceClient ¶
func NewProfilesAdminServiceClient(cc grpc.ClientConnInterface) ProfilesAdminServiceClient
type ProfilesAdminServiceServer ¶
type ProfilesAdminServiceServer interface { RebuildElasticCache(context.Context, *emptypb.Empty) (*emptypb.Empty, error) MigrateDiskProfiles(context.Context, *emptypb.Empty) (*emptypb.Empty, error) }
ProfilesAdminServiceServer is the server API for ProfilesAdminService service.
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 Create(ctx context.Context, opts ...grpc.CallOption) (ProfilesService_CreateClient, error) Read(ctx context.Context, in *ProfileDetails, opts ...grpc.CallOption) (*Profile, error) ReadTar(ctx context.Context, in *ProfileDetails, opts ...grpc.CallOption) (ProfilesService_ReadTarClient, error) Delete(ctx context.Context, in *ProfileDetails, opts ...grpc.CallOption) (*emptypb.Empty, error) List(ctx context.Context, in *Query, opts ...grpc.CallOption) (*Profiles, error) MetaSearch(ctx context.Context, in *Sha256, opts ...grpc.CallOption) (*Missing, 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.ClientConnInterface) 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 Create(ProfilesService_CreateServer) error Read(context.Context, *ProfileDetails) (*Profile, error) ReadTar(*ProfileDetails, ProfilesService_ReadTarServer) error Delete(context.Context, *ProfileDetails) (*emptypb.Empty, error) List(context.Context, *Query) (*Profiles, error) MetaSearch(context.Context, *Sha256) (*Missing, 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 `` /* 126-byte string literal not displayed */ Order Query_OrderType `` /* 181-byte string literal not displayed */ Sort string `protobuf:"bytes,22,opt,name=sort,proto3" json:"sort,omitempty" toml:"sort,omitempty" mapstructure:"sort,omitempty"` Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty" toml:"page,omitempty" mapstructure:"page,omitempty"` PerPage int32 `` /* 144-byte string literal not displayed */ Owner string `protobuf:"bytes,25,opt,name=owner,proto3" json:"owner,omitempty" toml:"owner,omitempty" mapstructure:"owner,omitempty"` Name string `protobuf:"bytes,26,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Version string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Query) Descriptor
deprecated
func (*Query) GetFilters ¶
func (x *Query) GetFilters() []*ListFilter
func (*Query) GetOrder ¶
func (x *Query) GetOrder() Query_OrderType
func (*Query) GetPerPage ¶
func (*Query) GetVersion ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
type Query_OrderType ¶
type Query_OrderType int32
const ( Query_ASC Query_OrderType = 0 Query_DESC Query_OrderType = 1 )
func (Query_OrderType) Descriptor ¶
func (Query_OrderType) Descriptor() protoreflect.EnumDescriptor
func (Query_OrderType) Enum ¶
func (x Query_OrderType) Enum() *Query_OrderType
func (Query_OrderType) EnumDescriptor
deprecated
func (Query_OrderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Query_OrderType.Descriptor instead.
func (Query_OrderType) Number ¶
func (x Query_OrderType) Number() protoreflect.EnumNumber
func (Query_OrderType) String ¶
func (x Query_OrderType) String() string
func (Query_OrderType) Type ¶
func (Query_OrderType) Type() protoreflect.EnumType
type Ref ¶
type Ref struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" toml:"url,omitempty" mapstructure:"url,omitempty"` Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` // contains filtered or unexported fields }
func (*Ref) Descriptor
deprecated
func (*Ref) ProtoMessage ¶
func (*Ref) ProtoMessage()
func (*Ref) ProtoReflect ¶
func (x *Ref) ProtoReflect() protoreflect.Message
type Result ¶
type Result struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` CodeDesc string `` /* 147-byte string literal not displayed */ RunTime float32 `` /* 144-byte string literal not displayed */ StartTime string `` /* 152-byte string literal not displayed */ Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty" toml:"message,omitempty" mapstructure:"message,omitempty"` SkipMessage string `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Result) Descriptor
deprecated
func (*Result) GetCodeDesc ¶
func (*Result) GetMessage ¶
func (*Result) GetRunTime ¶
func (*Result) GetSkipMessage ¶
func (*Result) GetStartTime ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type ResultSummary ¶
type ResultSummary struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty" toml:"valid,omitempty" mapstructure:"valid,omitempty"` Timestamp string `` /* 133-byte string literal not displayed */ Location string `` /* 129-byte string literal not displayed */ Controls int32 `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ResultSummary) Descriptor
deprecated
func (*ResultSummary) Descriptor() ([]byte, []int)
Deprecated: Use ResultSummary.ProtoReflect.Descriptor instead.
func (*ResultSummary) GetControls ¶
func (x *ResultSummary) GetControls() int32
func (*ResultSummary) GetLocation ¶
func (x *ResultSummary) GetLocation() string
func (*ResultSummary) GetTimestamp ¶
func (x *ResultSummary) GetTimestamp() string
func (*ResultSummary) GetValid ¶
func (x *ResultSummary) GetValid() bool
func (*ResultSummary) ProtoMessage ¶
func (*ResultSummary) ProtoMessage()
func (*ResultSummary) ProtoReflect ¶
func (x *ResultSummary) ProtoReflect() protoreflect.Message
func (*ResultSummary) Reset ¶
func (x *ResultSummary) Reset()
func (*ResultSummary) String ¶
func (x *ResultSummary) String() string
type Sha256 ¶
type Sha256 struct { Sha256 []string `protobuf:"bytes,1,rep,name=sha256,proto3" json:"sha256,omitempty" toml:"sha256,omitempty" mapstructure:"sha256,omitempty"` // contains filtered or unexported fields }
func (*Sha256) Descriptor
deprecated
func (*Sha256) ProtoMessage ¶
func (*Sha256) ProtoMessage()
func (*Sha256) ProtoReflect ¶
func (x *Sha256) ProtoReflect() protoreflect.Message
type SourceLocation ¶
type SourceLocation struct { Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty" toml:"ref,omitempty" mapstructure:"ref,omitempty"` Line int32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty" toml:"line,omitempty" mapstructure:"line,omitempty"` // contains filtered or unexported fields }
func (*SourceLocation) Descriptor
deprecated
func (*SourceLocation) Descriptor() ([]byte, []int)
Deprecated: Use SourceLocation.ProtoReflect.Descriptor instead.
func (*SourceLocation) GetLine ¶
func (x *SourceLocation) GetLine() int32
func (*SourceLocation) GetRef ¶
func (x *SourceLocation) GetRef() string
func (*SourceLocation) ProtoMessage ¶
func (*SourceLocation) ProtoMessage()
func (*SourceLocation) ProtoReflect ¶
func (x *SourceLocation) ProtoReflect() protoreflect.Message
func (*SourceLocation) Reset ¶
func (x *SourceLocation) Reset()
func (*SourceLocation) String ¶
func (x *SourceLocation) String() string
type Support ¶
type Support struct { OsName string `` /* 137-byte string literal not displayed */ OsFamily string `` /* 147-byte string literal not displayed */ Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty" toml:"release,omitempty" mapstructure:"release,omitempty"` InspecVersion string `` /* 172-byte string literal not displayed */ Platform string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Support) Descriptor
deprecated
func (*Support) GetInspecVersion ¶
func (*Support) GetOsFamily ¶
func (*Support) GetPlatform ¶
func (*Support) GetRelease ¶
func (*Support) ProtoMessage ¶
func (*Support) ProtoMessage()
func (*Support) ProtoReflect ¶
func (x *Support) ProtoReflect() protoreflect.Message
type UnimplementedProfilesAdminServiceServer ¶
type UnimplementedProfilesAdminServiceServer struct { }
UnimplementedProfilesAdminServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProfilesAdminServiceServer) MigrateDiskProfiles ¶
func (*UnimplementedProfilesAdminServiceServer) RebuildElasticCache ¶
type UnimplementedProfilesServiceServer ¶
type UnimplementedProfilesServiceServer struct { }
UnimplementedProfilesServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProfilesServiceServer) Create ¶
func (*UnimplementedProfilesServiceServer) Create(ProfilesService_CreateServer) error
func (*UnimplementedProfilesServiceServer) Delete ¶
func (*UnimplementedProfilesServiceServer) Delete(context.Context, *ProfileDetails) (*emptypb.Empty, error)
func (*UnimplementedProfilesServiceServer) MetaSearch ¶
func (*UnimplementedProfilesServiceServer) Read ¶
func (*UnimplementedProfilesServiceServer) Read(context.Context, *ProfileDetails) (*Profile, error)
func (*UnimplementedProfilesServiceServer) ReadTar ¶
func (*UnimplementedProfilesServiceServer) ReadTar(*ProfileDetails, ProfilesService_ReadTarServer) error