profiles

package
v0.0.0-...-4da4744 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PGProfileServer

type PGProfileServer struct {
	// contains filtered or unexported fields
}

PGProfileServer implements the profile store GRPC interface

func New

func New(db *pgdb.DB, esBackend *relaxting.ES2Backend, esClient *ingestic.ESClient, profiles *config.Profiles,
	eventsClient automate_event.EventServiceClient, statusSrv *statusserver.Server, firejailProfilePath string, fireJailExecProfilePath string) *PGProfileServer

New creates a new server

func (*PGProfileServer) Create

func (*PGProfileServer) Delete

func (srv *PGProfileServer) Delete(ctx context.Context, in *profiles.ProfileDetails) (*pb.Empty, error)

Delete never deletes a profile, it only deletes the associations

func (*PGProfileServer) List

func (*PGProfileServer) MetaSearch

func (srv *PGProfileServer) MetaSearch(ctx context.Context, profileSha256 *profiles.Sha256) (*profiles.Missing, error)

Check the existence of profile IDs(sha256) in the comp-*-profiles ES index

func (*PGProfileServer) MigrateDiskProfiles

func (srv *PGProfileServer) MigrateDiskProfiles(ctx context.Context, in *pb.Empty) (*pb.Empty, error)

func (*PGProfileServer) Read

func (*PGProfileServer) ReadTar

func (*PGProfileServer) RebuildElasticCache

func (srv *PGProfileServer) RebuildElasticCache(ctx context.Context, in *pb.Empty) (*pb.Empty, error)

Jump to

Keyboard shortcuts

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