env

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditClient

type AuditClient interface {
	GetFileWatchRules() ([]*rule.FileWatchRule, error)
	Close() error
}

AuditClient defines the interface for interacting with the auditd client

type Clients

type Clients interface {
	DockerClient() DockerClient
	AuditClient() AuditClient
	KubeClient() KubeClient
}

Clients provides an abstraction for accessing various clients needed by checks

type Configuration

type Configuration interface {
	Hostname() string
	EtcGroupPath() string
	NormalizeToHostRoot(path string) string
	RelativeToHostRoot(path string) string
	EvaluateFromCache(e eval.Evaluatable) (interface{}, error)
}

Configuration provides an abstraction for various environment methods used by checks

type Env

type Env interface {
	Clients
	Configuration
	Reporter() event.Reporter
}

Env provides environment methods for compliance checks execution

type KubeClient

type KubeClient dynamic.Interface

KubeClient is the Kubernetes (API server) client interface

Jump to

Keyboard shortcuts

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