Documentation ¶
Index ¶
- func NewDefaultRunner(server Server) defaultRunner
- func NewDockerPluginServer(opts ...DockerServerOption) (dockerPluginServer, error)
- func WriteEvents2Log(events []*event.Event, writer io.Writer) error
- type DockerPluginConfig
- type DockerServerOption
- type Listener
- type Log
- type Option
- type Policy
- type Runner
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultRunner ¶
func NewDefaultRunner(server Server) defaultRunner
func NewDockerPluginServer ¶
func NewDockerPluginServer(opts ...DockerServerOption) (dockerPluginServer, error)
Types ¶
type DockerPluginConfig ¶
type DockerPluginConfig struct { Log Log `toml:"log"` Listener Listener `toml:"listener"` DockerAuth auth.Auth `toml:"docker_auth"` Policies []Policy `toml:"policies"` }
func NewDockerPluginConfig ¶
func NewDockerPluginConfig(paths ...string) (*DockerPluginConfig, error)
type DockerServerOption ¶
type DockerServerOption func(option *dockerServerOption) error
func WithAuthLog ¶
func WithAuthLog(path string) DockerServerOption
func WithListenerUnix ¶
func WithListenerUnix(addr string) DockerServerOption
func WithPluginLog ¶
func WithPluginLog(path string) DockerServerOption
func WithPolicy ¶
func WithPolicy(policies ...Policy) DockerServerOption
func WithServerOptions ¶
func WithServerOptions(options ...DockerServerOption) DockerServerOption
Source Files ¶
Click to show internal directories.
Click to hide internal directories.