engine

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Accessor

type Accessor interface {
	GetNamespace() string
	GetName() string
}

type Mutator

type Mutator interface {
	Mutate(ctx context.Context, object Accessor, basePath string, files []string, services []v1alpha2.AssetWebhookService) error
}

func NewMutator

func NewMutator(webhook assethook.Webhook, timeout time.Duration) Mutator

type ValidationMessage

type ValidationMessage struct {
	Filename string
	Message  string
}

type ValidationResult

type ValidationResult struct {
	Success  bool
	Messages map[string][]ValidationMessage
}

type Validator

type Validator interface {
	Validate(ctx context.Context, object Accessor, basePath string, files []string, services []v1alpha2.AssetWebhookService) (ValidationResult, error)
}

func NewValidator

func NewValidator(webhook assethook.Webhook, timeout time.Duration) Validator

Directories

Path Synopsis
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0

Jump to

Keyboard shortcuts

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