stackobject

package
v0.0.4-rc6 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSkipObjectSet = errors.New("skip objectset")

Functions

This section is empty.

Types

type ClientAccessor

type ClientAccessor interface {
	Generic() controller.GenericController
	ObjectClient() *objectclient.ObjectClient
}

type Controller

type Controller struct {
	Processor *objectset.Processor
	Populator Populator
	// contains filtered or unexported fields
}

func NewGeneratingController

func NewGeneratingController(ctx context.Context, rContext *types.Context, name string, client ClientAccessor, injector ...config.IstioInjector) *Controller

func (*Controller) Create

func (o *Controller) Create(obj runtime.Object) (runtime.Object, error)

func (*Controller) Finalize

func (o *Controller) Finalize(obj runtime.Object) (runtime.Object, error)

func (*Controller) Updated

func (o *Controller) Updated(obj runtime.Object) (runtime.Object, error)

type Populator

type Populator func(obj runtime.Object, stack *riov1.Stack, os *objectset.ObjectSet) error

Source Files

  • controller.go

Jump to

Keyboard shortcuts

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