Documentation ¶
Index ¶
- func ConvertPipelineActivity(pa *v1.PipelineActivity) (*v1alpha1.ActivityRecord, error)
- func NewMetaPipelineClient(ns string) (metapipeline.Client, jxclient.Interface, clientset.Interface, error)
- func ToPipelineState(status v1.ActivityStatusType) v1alpha1.PipelineState
- type LighthouseJobReconciler
- type ReportParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertPipelineActivity ¶
func ConvertPipelineActivity(pa *v1.PipelineActivity) (*v1alpha1.ActivityRecord, error)
ConvertPipelineActivity converts a PipelineActivity from jx to an ActivityRecord
func NewMetaPipelineClient ¶
func NewMetaPipelineClient(ns string) (metapipeline.Client, jxclient.Interface, clientset.Interface, error)
NewMetaPipelineClient creates a new client for the creation and application of meta pipelines. The responsibility of the meta pipeline is to prepare the execution pipeline and to allow Apps to contribute the this execution pipeline.
func ToPipelineState ¶
func ToPipelineState(status v1.ActivityStatusType) v1alpha1.PipelineState
ToPipelineState converts the PipelineActivity state to LighthouseJob state
Types ¶
type LighthouseJobReconciler ¶ added in v0.0.56
type LighthouseJobReconciler struct {
// contains filtered or unexported fields
}
LighthouseJobReconciler reconciles a LighthouseJob object
func NewLighthouseJobReconciler ¶ added in v0.0.56
func NewLighthouseJobReconciler(client client.Client, scheme *runtime.Scheme, namespace string, mpClient metapipeline.Client) (*LighthouseJobReconciler, error)
NewLighthouseJobReconciler creates a LighthouseJob reconciler
func (*LighthouseJobReconciler) Reconcile ¶ added in v0.0.56
Reconcile represents an iteration of the reconciliation loop
func (*LighthouseJobReconciler) SetupWithManager ¶ added in v0.0.56
func (r *LighthouseJobReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the reconcilier with it's manager
type ReportParams ¶
type ReportParams struct {
BaseURL, Owner, Repository, Branch, Build, Context, Team string
}
ReportParams contains the parameters for target URL templates