Help us shape the future of Go! Take the 2026 Go Developer Survey

common

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateConfigMap

func UpdateConfigMap(cm *unstructured.Unstructured, data map[string]string, log logr.Logger)

Set some data in a configmap, only overwriting common keys if they differ

Types

type Extender

type Extender func(*servingv1alpha1.KnativeServing) error

type Extension

type Extension struct {
	Transformers []mf.Transformer
	PreInstalls  []Extender
	PostInstalls []Extender
	Watchers     []Watcher
	Finalizers   []Extender
}

type Extensions

type Extensions []Extension

func (Extensions) AddWatchers

func (exts Extensions) AddWatchers(c controller.Controller, mgr manager.Manager) error

func (Extensions) Finalize

func (exts Extensions) Finalize(instance *servingv1alpha1.KnativeServing) error

func (Extensions) PostInstall

func (exts Extensions) PostInstall(instance *servingv1alpha1.KnativeServing) error

func (Extensions) PreInstall

func (exts Extensions) PreInstall(instance *servingv1alpha1.KnativeServing) error

func (Extensions) Transform

func (exts Extensions) Transform(instance *servingv1alpha1.KnativeServing, scheme *runtime.Scheme) []mf.Transformer

type NotYetReadyError

type NotYetReadyError struct {
	Err error
}

func (*NotYetReadyError) Error

func (e *NotYetReadyError) Error() string

type Platforms

type Platforms []func(client.Client, *runtime.Scheme, *mf.Manifest) (*Extension, error)

func (Platforms) Extend

func (platforms Platforms) Extend(c client.Client, scheme *runtime.Scheme, manifest *mf.Manifest) (result Extensions, err error)

type Watcher

type Watcher func(controller.Controller, manager.Manager) error

Jump to

Keyboard shortcuts

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