Documentation ¶
Index ¶
- func CreateDefaultPipeline(execCtx plugin.ExecutionContext, scheme *runtime.Scheme, ...) (*pipeline.CapsulePipeline, error)
- func GetDefaultPipelineSteps(execCtx plugin.ExecutionContext, cfg *v1alpha1.OperatorConfig, ...) ([]pipeline.Step[pipeline.CapsuleRequest], error)
- func NewCapsulePluginStep(execCtx plugin.ExecutionContext, pluginName, pluginConfig string, ...) (pipeline.Step[pipeline.CapsuleRequest], error)
- type PluginUsed
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultPipeline ¶ added in v1.9.0
func CreateDefaultPipeline( execCtx plugin.ExecutionContext, scheme *runtime.Scheme, vm scheme.VersionMapper, cfg *v1alpha1.OperatorConfig, pluginManager *plugin.Manager, logger logr.Logger, ) (*pipeline.CapsulePipeline, error)
func GetDefaultPipelineSteps ¶ added in v1.9.0
func GetDefaultPipelineSteps( execCtx plugin.ExecutionContext, cfg *v1alpha1.OperatorConfig, pluginManager *plugin.Manager, logger logr.Logger, ) ([]pipeline.Step[pipeline.CapsuleRequest], error)
func NewCapsulePluginStep ¶ added in v1.9.0
Types ¶
type PluginUsed ¶
type Service ¶
type Service interface { GetDefaultPipeline() *pipeline.CapsulePipeline DryRun(ctx context.Context, cfg *v1alpha1.OperatorConfig, namespace, capsuleName string, spec *v1alpha2.Capsule, opts ...pipeline.CapsuleRequestOption) (*pipeline.Result, error) }
func NewService ¶
func NewService( cfg *v1alpha1.OperatorConfig, client client.Client, capSvc capabilities.Service, logger logr.Logger, pluginManager *plugin.Manager, lc fx.Lifecycle, sh fx.Shutdowner, ) Service
Click to show internal directories.
Click to hide internal directories.