jx

package
v0.0.164 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

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

func (r *LighthouseJobReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL