runnable

package
v0.0.8-rc.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyStampedObjectError

type ApplyStampedObjectError struct {
	Err           error
	StampedObject *unstructured.Unstructured
}

func (ApplyStampedObjectError) Error

func (e ApplyStampedObjectError) Error() string

type GetRunTemplateError

type GetRunTemplateError struct {
	Err      error
	Runnable *v1alpha1.Runnable
}

func (GetRunTemplateError) Error

func (e GetRunTemplateError) Error() string

type ListCreatedObjectsError

type ListCreatedObjectsError struct {
	Err       error
	Namespace string
	Labels    map[string]string
}

func (ListCreatedObjectsError) Error

func (e ListCreatedObjectsError) Error() string

type Realizer

type Realizer interface {
	Realize(ctx context.Context, runnable *v1alpha1.Runnable, systemRepo repository.Repository, runnableRepo repository.Repository) (*unstructured.Unstructured, templates.Outputs, error)
}

func NewRealizer

func NewRealizer() Realizer

type ResolveSelectorError

type ResolveSelectorError struct {
	Err      error
	Selector *v1alpha1.ResourceSelector
}

func (ResolveSelectorError) Error

func (e ResolveSelectorError) Error() string

type RetrieveOutputError

type RetrieveOutputError struct {
	Err           error
	Runnable      *v1alpha1.Runnable
	StampedObject *unstructured.Unstructured
}

func (RetrieveOutputError) Error

func (e RetrieveOutputError) Error() string

type StampError

type StampError struct {
	Err      error
	Runnable *v1alpha1.Runnable
}

func (StampError) Error

func (e StampError) Error() string

type TemplatingContext

type TemplatingContext struct {
	Runnable *v1alpha1.Runnable     `json:"runnable"`
	Selected map[string]interface{} `json:"selected"`
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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