Documentation ¶
Index ¶
- type ComplianceIngestServer
- type Jobs
- func (*Jobs) AuthContextRead()
- func (a *Jobs) Create(ctx context.Context, in *jobs.Job) (*jobs.Id, error)
- func (a *Jobs) Delete(ctx context.Context, in *jobs.Id) (*gp.Empty, error)
- func (a *Jobs) List(ctx context.Context, in *jobs.Query) (*jobs.Jobs, error)
- func (a *Jobs) Read(ctx context.Context, in *jobs.Id) (*jobs.Job, error)
- func (a *Jobs) Rerun(ctx context.Context, in *jobs.Id) (*jobs.RerunResponse, error)
- func (a *Jobs) Update(ctx context.Context, in *jobs.Job) (*gp.Empty, error)
- type Profiles
- func (a *Profiles) Create(stream profiles.ProfilesService_CreateServer) error
- func (a *Profiles) Delete(ctx context.Context, in *profiles.ProfileDetails) (*gp.Empty, error)
- func (a *Profiles) List(ctx context.Context, in *profiles.Query) (*profiles.Profiles, error)
- func (a *Profiles) Read(ctx context.Context, in *profiles.ProfileDetails) (*profiles.Profile, error)
- func (a *Profiles) ReadFromMarket(ctx context.Context, in *profiles.ProfileDetails) (*profiles.Profile, error)
- func (a *Profiles) ReadTar(*profiles.ProfileDetails, profiles.ProfilesService_ReadTarServer) error
- type Reporting
- func (a *Reporting) Export(*reporting.Query, reporting.ReportingService_ExportServer) error
- func (a *Reporting) GetVersion(ctx context.Context, in *gp.Empty) (*version.VersionInfo, error)
- func (a *Reporting) LicenseUsageNodes(ctx context.Context, in *reporting.TimeQuery) (*reporting.Reports, error)
- func (a *Reporting) ListNodes(ctx context.Context, in *reporting.Query) (*reporting.Nodes, error)
- func (a *Reporting) ListProfiles(ctx context.Context, in *reporting.Query) (*reporting.ProfileMins, error)
- func (a *Reporting) ListReports(ctx context.Context, in *reporting.Query) (*reporting.Reports, error)
- func (a *Reporting) ListSuggestions(ctx context.Context, in *reporting.SuggestionRequest) (*reporting.Suggestions, error)
- func (a *Reporting) ReadNode(ctx context.Context, in *reporting.Id) (*reporting.Node, error)
- func (a *Reporting) ReadReport(ctx context.Context, in *reporting.Query) (*reporting.Report, error)
- type Stats
- func (a *Stats) ReadFailures(ctx context.Context, in *stats.Query) (*stats.Failures, error)
- func (a *Stats) ReadProfiles(ctx context.Context, in *stats.Query) (*stats.Profile, error)
- func (a *Stats) ReadSummary(ctx context.Context, in *stats.Query) (*stats.Summary, error)
- func (a *Stats) ReadTrend(ctx context.Context, in *stats.Query) (*stats.Trends, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComplianceIngestServer ¶
type ComplianceIngestServer struct {
// contains filtered or unexported fields
}
func NewComplianceIngestServer ¶
func NewComplianceIngestServer(automateUrl *url.URL, ingesterClient ingest.ComplianceIngesterClient, notifierClient *notifier.Notifier) *ComplianceIngestServer
func (*ComplianceIngestServer) ProcessComplianceReport ¶
func (s *ComplianceIngestServer) ProcessComplianceReport(ctx context.Context, report *compliance.Report) (*gp.Empty, error)
type Jobs ¶
type Jobs struct {
// contains filtered or unexported fields
}
func NewJobsHandler ¶
func NewJobsHandler(jobsClient jobsService.JobsServiceClient) *Jobs
func (*Jobs) AuthContextRead ¶
func (*Jobs) AuthContextRead()
type Profiles ¶
type Profiles struct {
// contains filtered or unexported fields
}
func NewProfilesHandler ¶
func NewProfilesHandler(profilesClient profileService.ProfilesServiceClient) *Profiles
func (*Profiles) Create ¶
func (a *Profiles) Create(stream profiles.ProfilesService_CreateServer) error
func (*Profiles) ReadFromMarket ¶
func (*Profiles) ReadTar ¶
func (a *Profiles) ReadTar(*profiles.ProfileDetails, profiles.ProfilesService_ReadTarServer) error
type Reporting ¶
type Reporting struct {
// contains filtered or unexported fields
}
func NewReportingHandler ¶
func NewReportingHandler(reportingClient reportingService.ReportingServiceClient, versionClient versionService.VersionServiceClient, jobsClient jobsService.JobsServiceClient) *Reporting
func (*Reporting) GetVersion ¶
func (*Reporting) LicenseUsageNodes ¶
func (a *Reporting) LicenseUsageNodes(ctx context.Context, in *reporting.TimeQuery) (*reporting.Reports, error)
LicenseUsageNodes gathers information about scanned nodes (as initiated by scan jobs) for owca billing purposes
func (*Reporting) ListProfiles ¶
func (a *Reporting) ListProfiles(ctx context.Context, in *reporting.Query) (*reporting.ProfileMins, error)
should cover /search/profiles
func (*Reporting) ListReports ¶
func (a *Reporting) ListReports(ctx context.Context, in *reporting.Query) (*reporting.Reports, error)
should cover /reports
func (*Reporting) ListSuggestions ¶
func (a *Reporting) ListSuggestions(ctx context.Context, in *reporting.SuggestionRequest) (*reporting.Suggestions, error)
should cover /suggestions
type Stats ¶
type Stats struct {
// contains filtered or unexported fields
}
func NewStatsHandler ¶
func NewStatsHandler(statsClient statsService.StatsServiceClient) *Stats
func (*Stats) ReadFailures ¶
func (*Stats) ReadProfiles ¶
should cover /profiles, profiles/:profile-id/summary, profiles/:profile-id/controls
func (*Stats) ReadSummary ¶
should cover /summary, /summary/nodes, /summary/controls
Click to show internal directories.
Click to hide internal directories.