Documentation
¶
Index ¶
- func DefaultAlphaLabels(instanceName string) map[string]string
- func DefaultRatelLabels(instanceName string) map[string]string
- func DefaultZeroLabels(instanceName string) map[string]string
- func NewAlphaHeadlessService(dc *v1alpha1.DgraphCluster) *corev1.Service
- func NewAlphaService(dc *v1alpha1.DgraphCluster) *corev1.Service
- func NewAlphaStatefulSet(dc *v1alpha1.DgraphCluster) *appsv1.StatefulSet
- func NewRatelDeployment(dc *v1alpha1.DgraphCluster) *appsv1.Deployment
- func NewRatelService(dc *v1alpha1.DgraphCluster) *corev1.Service
- func NewZeroHeadlessService(dc *v1alpha1.DgraphCluster) *corev1.Service
- func NewZeroService(dc *v1alpha1.DgraphCluster) *corev1.Service
- func NewZeroStatefulSet(dc *v1alpha1.DgraphCluster) *appsv1.StatefulSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAlphaLabels ¶
DefaultAlphaLabels returns a map representing labels associated with dgraph Alpha component.
func DefaultRatelLabels ¶
DefaultRatelLabels returns a map representing labels associated with dgraph Ratel component.
func DefaultZeroLabels ¶
DefaultZeroLabels returns a map representing labels associated with dgraph zero component.
func NewAlphaHeadlessService ¶
func NewAlphaHeadlessService(dc *v1alpha1.DgraphCluster) *corev1.Service
NewAlphaHeadlessService constructs a K8s headless service object for dgraph Alpha from the provided DgraphCluster configuration.
func NewAlphaService ¶
func NewAlphaService(dc *v1alpha1.DgraphCluster) *corev1.Service
NewAlphaService constructs a K8s service object for dgraph Alpha from the provided DgraphCluster configuration.
func NewAlphaStatefulSet ¶
func NewAlphaStatefulSet(dc *v1alpha1.DgraphCluster) *appsv1.StatefulSet
NewAlphaStatefulSet constructs a K8s stateful set object for dgraph Alpha from the provided DgraphCluster configuration.
func NewRatelDeployment ¶
func NewRatelDeployment(dc *v1alpha1.DgraphCluster) *appsv1.Deployment
NewRatelDeployment constructs a K8s Deployment object for dgraph Ratel from the provided DgraphCluster configuration.
func NewRatelService ¶
func NewRatelService(dc *v1alpha1.DgraphCluster) *corev1.Service
NewRatelService constructs a K8s service object for dgraph Ratel from the provided DgraphCluster configuration.
func NewZeroHeadlessService ¶
func NewZeroHeadlessService(dc *v1alpha1.DgraphCluster) *corev1.Service
NewZeroHeadlessService constructs a K8s headless service object for dgraph zero from the provided DgraphCluster configuration.
func NewZeroService ¶
func NewZeroService(dc *v1alpha1.DgraphCluster) *corev1.Service
NewZeroService constructs a K8s service object for dgraph zero from the provided DgraphCluster configuration.
func NewZeroStatefulSet ¶
func NewZeroStatefulSet(dc *v1alpha1.DgraphCluster) *appsv1.StatefulSet
NewZeroStatefulSet constructs a K8s stateful set object for dgraph zero from the provided DgraphCluster configuration.
Types ¶
This section is empty.