controllers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ControlPlaneNamespace is the namespace where slice operator is running
	ControlPlaneNamespace = "kubeslice-system"
	// DNSDeploymentName is the name of coredns deployment running in the cluster
	DNSDeploymentName            = "kubeslice-dns"
	NSMIPLabelSelectorKey string = "avesha.io/nsmIP"

	ClusterName = os.Getenv("CLUSTER_NAME")

	NodeIP = os.Getenv("NODE_IP")

	ImagePullSecretName = utils.GetEnvOrDefault("IMAGE_PULL_SECRET_NAME", "avesha-nexus")

	ReconcileInterval = 10 * time.Second
)

Functions

func GetSlice

func GetSlice(ctx context.Context, c client.Client, slice string) (*kubeslicev1beta1.Slice, error)

GetSlice returns slice object by slice name

func GetSliceIngressGwPod

func GetSliceIngressGwPod(ctx context.Context, c client.Client, sliceName string) (*kubeslicev1beta1.AppPod, error)

func GetSliceRouterPodNameAndIP

func GetSliceRouterPodNameAndIP(ctx context.Context, c client.Client, sliceName string) (string, string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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