deliverable

package
v0.0.7-rc.3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 6 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 GetDeliveryClusterTemplateError

type GetDeliveryClusterTemplateError struct {
	Err         error
	TemplateRef v1alpha1.DeliveryClusterTemplateReference
}

func (GetDeliveryClusterTemplateError) Error

type JsonPathErrorContext

type JsonPathErrorContext interface {
	JsonPathExpression() string
}

type Outputs

type Outputs map[string]*templates.Output

func NewOutputs

func NewOutputs() Outputs

func (Outputs) AddOutput

func (o Outputs) AddOutput(name string, output *templates.Output)

func (Outputs) GenerateInputs

func (o Outputs) GenerateInputs(resource *v1alpha1.ClusterDeliveryResource) *templates.Inputs

type Realizer

type Realizer interface {
	Realize(ctx context.Context, resourceRealizer ResourceRealizer, delivery *v1alpha1.ClusterDelivery) error
}

func NewRealizer

func NewRealizer() Realizer

type ResourceRealizer

type ResourceRealizer interface {
	Do(ctx context.Context, resource *v1alpha1.ClusterDeliveryResource, deliveryName string, outputs Outputs) (*templates.Output, error)
}

func NewResourceRealizer

func NewResourceRealizer(deliverable *v1alpha1.Deliverable, repo repository.Repository) ResourceRealizer

type RetrieveOutputError

type RetrieveOutputError struct {
	Err error
	// contains filtered or unexported fields
}

func NewRetrieveOutputError

func NewRetrieveOutputError(resource *v1alpha1.ClusterDeliveryResource, err error) RetrieveOutputError

func (RetrieveOutputError) Error

func (e RetrieveOutputError) Error() string

func (RetrieveOutputError) JsonPathExpression

func (e RetrieveOutputError) JsonPathExpression() string

func (RetrieveOutputError) ResourceName

func (e RetrieveOutputError) ResourceName() string

type StampError

type StampError struct {
	Err      error
	Resource *v1alpha1.ClusterDeliveryResource
}

func (StampError) Error

func (e StampError) Error() string

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