utils

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFromScheme added in v1.0.22

func GenerateFromScheme(spec interface{}, scheme *v1alpha1.Scheme, userInputs map[string]string) error

func GetTemplate added in v1.0.22

func GetTemplate(ctx context.Context, c client.Client, who metav1.Object, ref string) (*v1alpha1.Template, error)

GetTemplate searches Frisbee for the given reference. By default, it searches the given namespace. If it is not found, then it searches the installation namespace.

func NewScheme added in v1.0.22

func NewScheme(parent metav1.Object, inputs *v1alpha1.Inputs, body []byte) *v1alpha1.Scheme

Types

type ExpandedSpecBody added in v1.0.22

type ExpandedSpecBody string

func Evaluate

func Evaluate(scheme *v1alpha1.Scheme) (ExpandedSpecBody, error)

Evaluate parses a given scheme and returns the respective ServiceSpec.

Jump to

Keyboard shortcuts

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