Documentation ¶
Index ¶
- func Add(mgr manager.Manager) error
- func NewDeployment(instance *maegusv1.Proxier) (*appsv1.Deployment, error)
- func NewDeploymentName(instance *maegusv1.Proxier) string
- func NewPodLabels(proxier *maegusv1.Proxier) map[string]string
- func NewServiceForProxier(instance *maegusv1.Proxier) (*corev1.Service, error)
- func NewServiceLabels(proxier *maegusv1.Proxier) map[string]string
- type ReconcileProxier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
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 ¶
NewDeploymentName returns deployment name for specific proxier.
func NewPodLabels ¶
NewPodLabels returns label used for pod.
func NewServiceForProxier ¶
NewServiceForProxier returns a service for proxier.
Types ¶
type ReconcileProxier ¶
type ReconcileProxier struct {
// contains filtered or unexported fields
}
ReconcileProxier reconciles a Proxier object
Source Files ¶
Click to show internal directories.
Click to hide internal directories.