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

common

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2019 License: Apache-2.0 Imports: 7 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
}

type Extensions

type Extensions []Extension

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) []mf.Transformer

type Platforms

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

func (Platforms) Extend

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

Jump to

Keyboard shortcuts

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