Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateFromScheme ¶ added in v1.0.22
func GetTemplate ¶ added in v1.0.22
func GetTemplate(ctx context.Context, r common.Reconciler, 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.
Types ¶
type ExpandedSpecBody ¶ added in v1.0.22
type ExpandedSpecBody string
func Evaluate ¶
func Evaluate(scheme *Scheme) (ExpandedSpecBody, error)
Evaluate parses a given scheme and returns the respective ServiceSpec.
type Scheme ¶ added in v1.0.10
type Scheme struct {
// Plan returns the name of the plan that invokes the template.
Plan string `json:"plan,omitempty"`
// Returns the namespace where the plan is running
Namespace string `json:"namespace,omitempty"`
// Inputs are dynamic fields that populate the spec.
// +optional
Inputs *v1alpha1.Inputs `json:"inputs,omitempty"`
// Spec is the specification whose values will be replaced by parameters.
Spec []byte `json:"spec"`
}
Click to show internal directories.
Click to hide internal directories.