operator

package
v0.0.0-...-8017ab7 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Resource = "mumoshu.github.io/v1alpha1"
	Kind     = "FalcoRule"
)

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(opts OperateOpts) sdk.Handler

func Run

func Run(opts OperateOpts) error

Types

type Handler

type Handler struct {
	OperateOpts
	// contains filtered or unexported fields
}

func (*Handler) Handle

func (h *Handler) Handle(ctx context.Context, event sdk.Event) error

func (*Handler) Store

func (c *Handler) Store(cr *v1alpha1.FalcoRule, deleted bool)

type OperateOpts

type OperateOpts struct {
	ConfigMapName      string
	ConfigMapNamespace string
	WatchNamespace     string
}

Jump to

Keyboard shortcuts

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