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 SupplyChainName string StampedObject *unstructured.Unstructured Resource *v1alpha1.SupplyChainResource }
func (ApplyStampedObjectError) Error ¶
func (e ApplyStampedObjectError) Error() string
type GetTemplateError ¶ added in v0.3.0
type GetTemplateError struct { Err error SupplyChainName string Resource *v1alpha1.SupplyChainResource }
func (GetTemplateError) Error ¶ added in v0.3.0
func (e GetTemplateError) 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.SupplyChainResource) *templates.Inputs
type Realizer ¶
type Realizer interface {
Realize(ctx context.Context, resourceRealizer ResourceRealizer, supplyChain *v1alpha1.ClusterSupplyChain, previousResources []v1alpha1.RealizedResource) ([]v1alpha1.RealizedResource, error)
}
func NewRealizer ¶
func NewRealizer() Realizer
type ResolveTemplateOptionError ¶ added in v0.3.0
type ResolveTemplateOptionError struct { Err error SupplyChainName string Resource *v1alpha1.SupplyChainResource OptionName string }
func (ResolveTemplateOptionError) Error ¶ added in v0.3.0
func (e ResolveTemplateOptionError) Error() string
type ResourceRealizer ¶ added in v0.0.7
type ResourceRealizer interface {
Do(ctx context.Context, resource *v1alpha1.SupplyChainResource, supplyChainName string, outputs Outputs) (templates.Template, *unstructured.Unstructured, *templates.Output, error)
}
type ResourceRealizerBuilder ¶ added in v0.0.8
type ResourceRealizerBuilder func(secret *corev1.Secret, workload *v1alpha1.Workload, systemRepo repository.Repository, supplyChainParams []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 SupplyChainName string Resource *v1alpha1.SupplyChainResource StampedObject *unstructured.Unstructured }
func (RetrieveOutputError) Error ¶
func (e RetrieveOutputError) Error() string
func (RetrieveOutputError) JsonPathExpression ¶
func (e RetrieveOutputError) JsonPathExpression() string
type StampError ¶
type StampError struct { Err error SupplyChainName string Resource *v1alpha1.SupplyChainResource }
func (StampError) Error ¶
func (e StampError) Error() string
type TemplateOptionsMatchError ¶ added in v0.3.0
type TemplateOptionsMatchError struct { SupplyChainName string Resource *v1alpha1.SupplyChainResource OptionNames []string }
func (TemplateOptionsMatchError) Error ¶ added in v0.3.0
func (e TemplateOptionsMatchError) Error() string
Click to show internal directories.
Click to hide internal directories.