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 GetClusterTemplateError ¶
type GetClusterTemplateError struct { Err error TemplateRef v1alpha1.ClusterTemplateReference }
func (GetClusterTemplateError) Error ¶
func (e GetClusterTemplateError) 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) error
}
func NewRealizer ¶
func NewRealizer() Realizer
type ResourceRealizer ¶ added in v0.0.7
type ResourceRealizer interface {
Do(ctx context.Context, resource *v1alpha1.SupplyChainResource, supplyChainName string, outputs Outputs) (*templates.Output, error)
}
func NewResourceRealizer ¶ added in v0.0.7
func NewResourceRealizer(workload *v1alpha1.Workload, repo repository.Repository) ResourceRealizer
type RetrieveOutputError ¶
type RetrieveOutputError struct { Err error // contains filtered or unexported fields }
func NewRetrieveOutputError ¶
func NewRetrieveOutputError(resource *v1alpha1.SupplyChainResource, err error) RetrieveOutputError
func (RetrieveOutputError) Error ¶
func (e RetrieveOutputError) Error() string
func (RetrieveOutputError) JsonPathExpression ¶
func (e RetrieveOutputError) JsonPathExpression() string
func (RetrieveOutputError) ResourceName ¶ added in v0.0.7
func (e RetrieveOutputError) ResourceName() string
type StampError ¶
type StampError struct { Err error Resource *v1alpha1.SupplyChainResource }
func (StampError) Error ¶
func (e StampError) Error() string
Click to show internal directories.
Click to hide internal directories.