resources

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64ToMap added in v0.9.0

func Base64ToMap(base64 string) (map[string]string, error)

func GenerateDecoratorName

func GenerateDecoratorName(decorator *v1alpha1.Decorator) string

func GetLabels

func GetLabels(controller string) map[string]string

func MakeDecoratorV1alpha1

func MakeDecoratorV1alpha1(ctx context.Context, args *DecoratorArgs) *servingv1.Service

MakeDecorator generates (but does not insert into K8s) the Decorator.

func MapToBase64 added in v0.9.0

func MapToBase64(extensions map[string]string) (string, error)

Types

type DecoratorArgs

type DecoratorArgs struct {
	Image     string
	Decorator *v1alpha1.Decorator
	Labels    map[string]string
}

DecoratorArgs are the arguments needed to create a Topic publisher. Every field is required.

Jump to

Keyboard shortcuts

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