utils

package
v0.0.0-...-1046db7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInStringSlice

func IsInStringSlice(element string, elements []string) bool

func NewIstioClient

func NewIstioClient(kubeconfigPath string) (*istioclient.Clientset, error)

NewIstioClient creates new istio client which use to handle istio CRD

func NewKubeClient

func NewKubeClient(kubeconfigPath string) (*kubernetes.Clientset, error)

NewKubeClient creates new kube client

Types

type PatchEgressHost

type PatchEgressHost struct {
	Op    string `json:"op"`
	Path  string `json:"path"`
	Value string `json:"value"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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