Documentation ¶
Index ¶
Constants ¶
View Source
const NoJsonpathContext = "<no jsonpath context>"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyStampedObjectError ¶
type ApplyStampedObjectError struct { Err error DeliveryName string StampedObject *unstructured.Unstructured Resource *v1alpha1.DeliveryResource }
func (ApplyStampedObjectError) Error ¶
func (e ApplyStampedObjectError) Error() string
type GetDeliveryTemplateError ¶ added in v0.1.0
type GetDeliveryTemplateError struct { Err error DeliveryName string Resource *v1alpha1.DeliveryResource }
func (GetDeliveryTemplateError) Error ¶ added in v0.1.0
func (e GetDeliveryTemplateError) Error() string
type JsonPathErrorContext ¶
type JsonPathErrorContext interface {
JsonPathExpression() string
}
type Outputs ¶
func NewOutputs ¶
func NewOutputs() Outputs
func (Outputs) GenerateInputs ¶
func (o Outputs) GenerateInputs(resource *v1alpha1.DeliveryResource) *templates.Inputs
type Realizer ¶
type Realizer interface {
Realize(ctx context.Context, resourceRealizer ResourceRealizer, delivery *v1alpha1.ClusterDelivery) ([]*unstructured.Unstructured, error)
}
func NewRealizer ¶
func NewRealizer() Realizer
type ResourceRealizer ¶
type ResourceRealizer interface {
Do(ctx context.Context, resource *v1alpha1.DeliveryResource, deliveryName string, outputs Outputs) (*unstructured.Unstructured, *templates.Output, error)
}
type ResourceRealizerBuilder ¶ added in v0.0.8
type ResourceRealizerBuilder func(secret *corev1.Secret, deliverable *v1alpha1.Deliverable, repo repository.Repository, deliveryParams []v1alpha1.BlueprintParam) (ResourceRealizer, error)
func NewResourceRealizerBuilder ¶ added in v0.0.8
func NewResourceRealizerBuilder(repositoryBuilder repository.RepositoryBuilder, clientBuilder realizerclient.ClientBuilder, cache repository.RepoCache) ResourceRealizerBuilder
type RetrieveOutputError ¶
type RetrieveOutputError struct { Err error DeliveryName string Resource *v1alpha1.DeliveryResource StampedObject *unstructured.Unstructured }
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 DeliveryName string Resource *v1alpha1.DeliveryResource }
func (StampError) Error ¶
func (e StampError) Error() string
Click to show internal directories.
Click to hide internal directories.