istio

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlwaysUpdateEnvoyFilter

func AlwaysUpdateEnvoyFilter(existingObj, desiredObj client.Object) (bool, error)

func LimitadorClusterPatch

func LimitadorClusterPatch(limitadorSvcHost string, limitadorGRPCPort int) ([]*istioapiv1alpha3.EnvoyFilter_EnvoyConfigObjectPatch, error)

LimitadorClusterPatch returns an EnvoyFilter patch that adds a custom cluster entry to compensate for kuadrant/limitador#53. Note: This should be removed once the mentioned issue is fixed but that will take some time.

Types

type ConfigMapWrapper added in v0.4.0

type ConfigMapWrapper struct {
	// contains filtered or unexported fields
}

ConfigMapWrapper wraps the ConfigMap holding the Istio MeshConfig

func NewConfigMapWrapper added in v0.4.0

func NewConfigMapWrapper(config *corev1.ConfigMap) *ConfigMapWrapper

NewConfigMapWrapper creates a new ConfigMapWrapper

func (*ConfigMapWrapper) GetConfigObject added in v0.4.0

func (w *ConfigMapWrapper) GetConfigObject() client.Object

GetConfigObject returns the ConfigMap

func (*ConfigMapWrapper) GetMeshConfig added in v0.4.0

func (w *ConfigMapWrapper) GetMeshConfig() (*istiomeshv1alpha1.MeshConfig, error)

GetMeshConfig returns the MeshConfig from the ConfigMap

func (*ConfigMapWrapper) SetMeshConfig added in v0.4.0

func (w *ConfigMapWrapper) SetMeshConfig(config *istiomeshv1alpha1.MeshConfig) error

SetMeshConfig sets the MeshConfig in the ConfigMap

type OSSMControlPlaneWrapper added in v0.4.0

type OSSMControlPlaneWrapper struct {
	// contains filtered or unexported fields
}

OSSMControlPlaneWrapper wraps the OSSM ServiceMeshControlPlane

func NewOSSMControlPlaneWrapper added in v0.4.0

func NewOSSMControlPlaneWrapper(config *maistrav2.ServiceMeshControlPlane) *OSSMControlPlaneWrapper

NewOSSMControlPlaneWrapper creates a new OSSMControlPlaneWrapper

func (*OSSMControlPlaneWrapper) GetConfigObject added in v0.4.0

func (w *OSSMControlPlaneWrapper) GetConfigObject() client.Object

GetConfigObject returns the OSSM ServiceMeshControlPlane

func (*OSSMControlPlaneWrapper) GetMeshConfig added in v0.4.0

GetMeshConfig returns the MeshConfig from the OSSM ServiceMeshControlPlane

func (*OSSMControlPlaneWrapper) SetMeshConfig added in v0.4.0

func (w *OSSMControlPlaneWrapper) SetMeshConfig(config *istiomeshv1alpha1.MeshConfig) error

SetMeshConfig sets the MeshConfig in the OSSM ServiceMeshControlPlane

type OperatorWrapper added in v0.4.0

type OperatorWrapper struct {
	// contains filtered or unexported fields
}

OperatorWrapper wraps the IstioOperator CRD

func NewOperatorWrapper added in v0.4.0

func NewOperatorWrapper(config *iopv1alpha1.IstioOperator) *OperatorWrapper

NewOperatorWrapper creates a new IstioOperatorWrapper

func (*OperatorWrapper) GetConfigObject added in v0.4.0

func (w *OperatorWrapper) GetConfigObject() client.Object

GetConfigObject returns the IstioOperator CRD

func (*OperatorWrapper) GetMeshConfig added in v0.4.0

func (w *OperatorWrapper) GetMeshConfig() (*istiomeshv1alpha1.MeshConfig, error)

GetMeshConfig returns the IstioOperator MeshConfig

func (*OperatorWrapper) SetMeshConfig added in v0.4.0

func (w *OperatorWrapper) SetMeshConfig(config *istiomeshv1alpha1.MeshConfig) error

SetMeshConfig sets the IstioOperator MeshConfig

type SailWrapper added in v0.6.0

type SailWrapper struct {
	// contains filtered or unexported fields
}

SailWrapper wraps the IstioCR

func NewSailWrapper added in v0.6.0

func NewSailWrapper(config *istiov1alpha1.Istio) *SailWrapper

NewSailWrapper creates a new SailWrapper

func (*SailWrapper) GetConfigObject added in v0.6.0

func (w *SailWrapper) GetConfigObject() client.Object

GetConfigObject returns the IstioCR

func (*SailWrapper) GetMeshConfig added in v0.6.0

func (w *SailWrapper) GetMeshConfig() (*istiomeshv1alpha1.MeshConfig, error)

GetMeshConfig returns the Istio MeshConfig

func (*SailWrapper) SetMeshConfig added in v0.6.0

func (w *SailWrapper) SetMeshConfig(config *istiomeshv1alpha1.MeshConfig) error

SetMeshConfig sets the Istio MeshConfig

Jump to

Keyboard shortcuts

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