profiles

package
v0.0.0-...-a8b8e24 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Query_OrderType_name = map[int32]string{
		0: "ASC",
		1: "DESC",
	}
	Query_OrderType_value = map[string]int32{
		"ASC":  0,
		"DESC": 1,
	}
)

Enum value maps for Query_OrderType.

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

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetName

func (x *Attribute) GetName() string

func (*Attribute) GetOptions

func (x *Attribute) GetOptions() *Option

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect

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

func (*Attribute) Reset

func (x *Attribute) Reset()

func (*Attribute) String

func (x *Attribute) String() string

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

Deprecated: Use Chunk.ProtoReflect.Descriptor instead.

func (*Chunk) GetData

func (x *Chunk) GetData() []byte

func (*Chunk) GetPosition

func (x *Chunk) GetPosition() int64

func (*Chunk) ProtoMessage

func (*Chunk) ProtoMessage()

func (*Chunk) ProtoReflect

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

func (*Chunk) Reset

func (x *Chunk) Reset()

func (*Chunk) String

func (x *Chunk) String() string

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

Deprecated: Use Control.ProtoReflect.Descriptor instead.

func (*Control) GetCode

func (x *Control) GetCode() string

func (*Control) GetDesc

func (x *Control) GetDesc() string

func (*Control) GetId

func (x *Control) GetId() string

func (*Control) GetImpact

func (x *Control) GetImpact() float32

func (*Control) GetRefs

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

func (*Control) GetResults

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

func (*Control) GetSourceLocation

func (x *Control) GetSourceLocation() *SourceLocation

func (*Control) GetTags

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

func (*Control) GetTitle

func (x *Control) GetTitle() string

func (*Control) ProtoMessage

func (*Control) ProtoMessage()

func (*Control) ProtoReflect

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

func (*Control) Reset

func (x *Control) Reset()

func (*Control) String

func (x *Control) String() string

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetControls

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

func (*Group) GetId

func (x *Group) GetId() string

func (*Group) GetTitle

func (x *Group) GetTitle() string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

type ListFilter

type ListFilter struct {
	Values []string `protobuf:"bytes,20,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"`
	Type   string   `protobuf:"bytes,21,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" mapstructure:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFilter) Descriptor deprecated

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

Deprecated: Use ListFilter.ProtoReflect.Descriptor instead.

func (*ListFilter) GetType

func (x *ListFilter) GetType() string

func (*ListFilter) GetValues

func (x *ListFilter) GetValues() []string

func (*ListFilter) ProtoMessage

func (*ListFilter) ProtoMessage()

func (*ListFilter) ProtoReflect

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

func (*ListFilter) Reset

func (x *ListFilter) Reset()

func (*ListFilter) String

func (x *ListFilter) String() string

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetContentType

func (x *Metadata) GetContentType() string

func (*Metadata) GetName

func (x *Metadata) GetName() string

func (*Metadata) GetVersion

func (x *Metadata) GetVersion() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Missing

type Missing struct {
	MissingSha256 []string `` /* 172-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Missing) Descriptor deprecated

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

Deprecated: Use Missing.ProtoReflect.Descriptor instead.

func (*Missing) GetMissingSha256

func (x *Missing) GetMissingSha256() []string

func (*Missing) ProtoMessage

func (*Missing) ProtoMessage()

func (*Missing) ProtoReflect

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

func (*Missing) Reset

func (x *Missing) Reset()

func (*Missing) String

func (x *Missing) String() string

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

Deprecated: Use Option.ProtoReflect.Descriptor instead.

func (*Option) GetDefault

func (x *Option) GetDefault() string

func (*Option) GetDescription

func (x *Option) GetDescription() string

func (*Option) ProtoMessage

func (*Option) ProtoMessage()

func (*Option) ProtoReflect

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

func (*Option) Reset

func (x *Option) Reset()

func (*Option) String

func (x *Option) String() string

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

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetAttributes

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

func (*Profile) GetControls

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

func (*Profile) GetCopyright

func (x *Profile) GetCopyright() string

func (*Profile) GetCopyrightEmail

func (x *Profile) GetCopyrightEmail() string

func (*Profile) GetDepends

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

func (*Profile) GetGroups

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

func (*Profile) GetLatestVersion

func (x *Profile) GetLatestVersion() string

func (*Profile) GetLicense

func (x *Profile) GetLicense() string

func (*Profile) GetMaintainer

func (x *Profile) GetMaintainer() string

func (*Profile) GetName

func (x *Profile) GetName() string

func (*Profile) GetOwner

func (x *Profile) GetOwner() string

func (*Profile) GetSha256

func (x *Profile) GetSha256() string

func (*Profile) GetSummary

func (x *Profile) GetSummary() string

func (*Profile) GetSupports

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

func (*Profile) GetTitle

func (x *Profile) GetTitle() string

func (*Profile) GetVersion

func (x *Profile) GetVersion() string

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

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

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

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

Deprecated: Use Profiles.ProtoReflect.Descriptor instead.

func (*Profiles) GetProfiles

func (x *Profiles) GetProfiles() []*Profile

func (*Profiles) GetTotal

func (x *Profiles) GetTotal() int32

func (*Profiles) ProtoMessage

func (*Profiles) ProtoMessage()

func (*Profiles) ProtoReflect

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

func (*Profiles) Reset

func (x *Profiles) Reset()

func (*Profiles) String

func (x *Profiles) String() string

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.

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.

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

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetFilters

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

func (*Query) GetName

func (x *Query) GetName() string

func (*Query) GetOrder

func (x *Query) GetOrder() Query_OrderType

func (*Query) GetOwner

func (x *Query) GetOwner() string

func (*Query) GetPage

func (x *Query) GetPage() int32

func (*Query) GetPerPage

func (x *Query) GetPerPage() int32

func (*Query) GetSort

func (x *Query) GetSort() string

func (*Query) GetVersion

func (x *Query) GetVersion() string

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

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

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

type Query_OrderType

type Query_OrderType int32
const (
	Query_ASC  Query_OrderType = 0
	Query_DESC Query_OrderType = 1
)

func (Query_OrderType) Descriptor

func (Query_OrderType) Enum

func (x Query_OrderType) Enum() *Query_OrderType

func (Query_OrderType) EnumDescriptor deprecated

func (Query_OrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Query_OrderType.Descriptor instead.

func (Query_OrderType) Number

func (Query_OrderType) String

func (x Query_OrderType) String() string

func (Query_OrderType) Type

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

Deprecated: Use Ref.ProtoReflect.Descriptor instead.

func (*Ref) GetRef

func (x *Ref) GetRef() string

func (*Ref) GetUrl

func (x *Ref) GetUrl() string

func (*Ref) ProtoMessage

func (*Ref) ProtoMessage()

func (*Ref) ProtoReflect

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

func (*Ref) Reset

func (x *Ref) Reset()

func (*Ref) String

func (x *Ref) String() string

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetCodeDesc

func (x *Result) GetCodeDesc() string

func (*Result) GetMessage

func (x *Result) GetMessage() string

func (*Result) GetRunTime

func (x *Result) GetRunTime() float32

func (*Result) GetSkipMessage

func (x *Result) GetSkipMessage() string

func (*Result) GetStartTime

func (x *Result) GetStartTime() string

func (*Result) GetStatus

func (x *Result) GetStatus() string

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

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

Deprecated: Use Sha256.ProtoReflect.Descriptor instead.

func (*Sha256) GetSha256

func (x *Sha256) GetSha256() []string

func (*Sha256) ProtoMessage

func (*Sha256) ProtoMessage()

func (*Sha256) ProtoReflect

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

func (*Sha256) Reset

func (x *Sha256) Reset()

func (*Sha256) String

func (x *Sha256) String() string

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

Deprecated: Use Support.ProtoReflect.Descriptor instead.

func (*Support) GetInspecVersion

func (x *Support) GetInspecVersion() string

func (*Support) GetOsFamily

func (x *Support) GetOsFamily() string

func (*Support) GetOsName

func (x *Support) GetOsName() string

func (*Support) GetPlatform

func (x *Support) GetPlatform() string

func (*Support) GetRelease

func (x *Support) GetRelease() string

func (*Support) ProtoMessage

func (*Support) ProtoMessage()

func (*Support) ProtoReflect

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

func (*Support) Reset

func (x *Support) Reset()

func (*Support) String

func (x *Support) String() string

type 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) Delete

func (*UnimplementedProfilesServiceServer) List

func (*UnimplementedProfilesServiceServer) MetaSearch

func (*UnimplementedProfilesServiceServer) Read

func (*UnimplementedProfilesServiceServer) ReadTar

Jump to

Keyboard shortcuts

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