proxier

package
v0.0.0-...-3509752 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2020 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Proxier Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func NewDeployment

func NewDeployment(instance *maegusv1.Proxier) (*appsv1.Deployment, error)

NewDeployment returns a nginx pod with the same namespace as the instance

func NewDeploymentName

func NewDeploymentName(instance *maegusv1.Proxier) string

NewDeploymentName returns deployment name for specific proxier.

func NewPodLabels

func NewPodLabels(proxier *maegusv1.Proxier) map[string]string

NewPodLabels returns label used for pod.

func NewServiceForProxier

func NewServiceForProxier(instance *maegusv1.Proxier) (*corev1.Service, error)

NewServiceForProxier returns a service for proxier.

func NewServiceLabels

func NewServiceLabels(proxier *maegusv1.Proxier) map[string]string

NewServiceLabels returns label used for service.

Types

type ReconcileProxier

type ReconcileProxier struct {
	// contains filtered or unexported fields
}

ReconcileProxier reconciles a Proxier object

func (*ReconcileProxier) Reconcile

func (r *ReconcileProxier) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Proxier object and makes changes based on the state read and what is in the Proxier.Spec

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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