common

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServiceType  = "deployment"
	WorkloadName string
	KubeConfig   string // the path to the kubeconfig file
	NameSpace    string
)

Functions

func InitApp

func InitApp(appName string) (*app.Application, error)

func InitAppAndCheckIfSvcExist

func InitAppAndCheckIfSvcExist(appName string, svcName string, svcType string) (*app.Application, *controller.Controller, error)

func InitAppMutate

func InitAppMutate(appName string) (*app.Application, error)

func Must

func Must(err error)

func MustI

func MustI(err error, info string)

func Prepare

func Prepare() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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