Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReconcileStatus ¶
func ReconcileStatus( ctx context.Context, ghCli *gh.Client, gd *deployv1alpha1.GithubDeployment, ) (bool, error)
ReconcileStatus handles telling Github about the status.
Types ¶
type ClientForOwnerRepo ¶
ClientForOwnerRepo gives us a gh client for a specific installation.
func ClientForOwnerRepoFromSetup ¶
func ClientForOwnerRepoFromSetup(ghCliSetup githubwebhook.GhCliSetup) ClientForOwnerRepo
ClientForOwnerRepoFromSetup gives us a ClientForOwnerRepo functions.
type Flux ¶
type Flux struct {
// contains filtered or unexported fields
}
Flux holds all k8s resources needed for flux.
func FluxResources ¶
func FluxResources( ctx context.Context, r client.Reader, meta metav1.ObjectMeta, spec deployv1alpha1.RefReleaseSpec, ) (Flux, error)
FluxResources creates the k8s resources needed to launch flux.
type GithubDeploymentReconciler ¶
type GithubDeploymentReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme GhCli ClientForOwnerRepo }
GithubDeploymentReconciler reconciles a GithubDeployment object.
func (*GithubDeploymentReconciler) SetupWithManager ¶
func (r *GithubDeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager initializes our controller.
type GithubDeploymentReconciliation ¶
type GithubDeploymentReconciliation struct { client.Client Log logr.Logger Scheme *runtime.Scheme GhCli *gh.Client }
GithubDeploymentReconciliation is the environment for a specific reconciliation.
type IngressReconciler ¶
IngressReconciler reconciles an Ingress object GitKey should be base64 encoded.
func (*IngressReconciler) SetupWithManager ¶
func (ir *IngressReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager initializes our controller.
type RefReleaseReconciler ¶
type RefReleaseReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme APIReader client.Reader }
RefReleaseReconciler reconciles a RefRelease object GitKey should be base64 encoded
func (*RefReleaseReconciler) SetupWithManager ¶
func (r *RefReleaseReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager initializes our controller