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 ComponentRealizer ¶
type ComponentRealizer interface {
Do(ctx context.Context, component *v1alpha1.SupplyChainComponent, supplyChainName string, outputs Outputs) (*templates.Output, error)
}
func NewComponentRealizer ¶
func NewComponentRealizer(workload *v1alpha1.Workload, repo repository.Repository) ComponentRealizer
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(component *v1alpha1.SupplyChainComponent) *templates.Inputs
type Realizer ¶
type Realizer interface {
Realize(ctx context.Context, componentRealizer ComponentRealizer, supplyChain *v1alpha1.ClusterSupplyChain) error
}
func NewRealizer ¶
func NewRealizer() Realizer
type RetrieveOutputError ¶
type RetrieveOutputError struct { Err error // contains filtered or unexported fields }
func NewRetrieveOutputError ¶
func NewRetrieveOutputError(component *v1alpha1.SupplyChainComponent, err error) RetrieveOutputError
func (RetrieveOutputError) ComponentName ¶
func (e RetrieveOutputError) ComponentName() string
func (RetrieveOutputError) Error ¶
func (e RetrieveOutputError) Error() string
func (RetrieveOutputError) JsonPathExpression ¶
func (e RetrieveOutputError) JsonPathExpression() string
type StampError ¶
type StampError struct { Err error Component *v1alpha1.SupplyChainComponent }
func (StampError) Error ¶
func (e StampError) Error() string
type WorkloadTemplatingContext ¶
type WorkloadTemplatingContext struct { Params templates.Params `json:"params"` Workload *v1alpha1.Workload `json:"workload"` Sources []templates.SourceInput `json:"sources"` Images []templates.ImageInput `json:"images"` Configs []templates.ConfigInput `json:"configs"` }
Click to show internal directories.
Click to hide internal directories.