adaptor

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsGovernanceModeValid

func IsGovernanceModeValid(governanceMode string) bool

IsGovernanceModeValid checks if the governanceMode is valid.

Types

type AppGoveranceModeHandler

type AppGoveranceModeHandler interface {
	IsInstalledControlPlane() bool
	GetInjectLabels() map[string]string
}

AppGoveranceModeHandler Application governance mode processing interface

func NewAppGoveranceModeHandler

func NewAppGoveranceModeHandler(governanceMode string, kubeClient clientset.Interface) (AppGoveranceModeHandler, error)

NewAppGoveranceModeHandler -

func NewBuildInServiceMeshMode

func NewBuildInServiceMeshMode() AppGoveranceModeHandler

NewBuildInServiceMeshMode -

func NewIstioGoveranceMode

func NewIstioGoveranceMode(kubeClient clientset.Interface) AppGoveranceModeHandler

NewIstioGoveranceMode -

func NewKubernetesNativeMode

func NewKubernetesNativeMode() AppGoveranceModeHandler

NewKubernetesNativeMode -

Jump to

Keyboard shortcuts

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