Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InternalWavefrontProxy ¶
type InternalWavefrontProxy struct {
// -----Wavefront Proxy Deployment related.----- //
// The container ports required to be opened up for wavefront proxy
ContainerPorts []corev1.ContainerPort
ContainerPortsMap map[string]corev1.ContainerPort
// The Environment args that need to be set for wavefront proxy
EnvWavefrontProxyArgs string
// ------Wavefront Proxy Service related.------ //
// The container ports required to be opened up for wavefront proxy service.
ServicePorts []corev1.ServicePort
ServicePortsMap map[string]corev1.ServicePort
// contains filtered or unexported fields
}
Internal Wavefront Proxy struct contains the actual desired instance plus other runtime objects as first class spec configs used during create/update of Container deployments/pod/services. This provides an interface to synchronize between spec parameters like Ports which have different constructs for different k8s types but are essentially the same. Change in Pod port => Change in Svc port but not vice versa.
type ReconcileWavefrontProxy ¶
type ReconcileWavefrontProxy struct {
// contains filtered or unexported fields
}
ReconcileWavefrontProxy reconciles a WavefrontProxy object
func (*ReconcileWavefrontProxy) Reconcile ¶
Reconcile reads that state of the cluster for a WavefrontProxy object and makes changes based on the state read and what is in the WavefrontProxy.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.