manager

package
v0.0.0-...-4c0bbbd Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultAlphaLabels

func DefaultAlphaLabels(instanceName string) map[string]string

DefaultAlphaLabels returns a map representing labels associated with dgraph Alpha component.

func DefaultRatelLabels

func DefaultRatelLabels(instanceName string) map[string]string

DefaultRatelLabels returns a map representing labels associated with dgraph Ratel component.

func DefaultZeroLabels

func DefaultZeroLabels(instanceName string) map[string]string

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.

Jump to

Keyboard shortcuts

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