env

package
v0.0.0-...-8779d64 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCluster

func GetCluster(env *types.Env, clusterName string) (types.Cluster, error)

GetCluster returns the cluster from the env that matches clusterName. If not found, it returns an empty Cluster and an error.

func New

func New(config *types.Config, log *zap.SugaredLogger) (*types.Env, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳