Help us shape the future of Go! Take the 2026 Go Developer Survey

util

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommand added in v0.7.0

func ExecuteCommand(cmd *cobra.Command, args ...string) (c *cobra.Command, output string, err error)

func ExecuteCommandC added in v0.7.0

func ExecuteCommandC(cmd *cobra.Command, args ...string) (c *cobra.Command, output string, err error)

func GetClusterRole

func GetClusterRole(path string) (*rbacv1.ClusterRole, error)

func GetConfigMap

func GetConfigMap(path string) (*v1.ConfigMap, error)

func GetDeployment

func GetDeployment(path string) (*appsv1.Deployment, error)

func GetIngress

func GetIngress(path string) (*netv1.Ingress, error)

func GetNamespace

func GetNamespace(name string) (*v1.Namespace, error)

func GetPod

func GetPod(path string) (*v1.Pod, error)

func GetSecret added in v0.1.0

func GetSecret(path string) (*v1.Secret, error)

func GetService

func GetService(path string) (*v1.Service, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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