services

package
v0.0.0-...-32c9aed Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionTypeAddClusterInfo       = "AddClusterInfo"
	ActionTypeDeleteAttribute      = "DeleteAttribute"
	ActionTypeRenameAttribute      = "RenameAttribute"
	ActionTypePiiMasking           = "PiiMasking"
	ActionTypeErrorSampler         = "ErrorSampler"
	ActionTypeLatencySampler       = "LatencySampler"
	ActionTypeProbabilisticSampler = "ProbabilisticSampler"
)

Variables

This section is empty.

Functions

func CreateAddClusterInfo

func CreateAddClusterInfo(ctx context.Context, action model.ActionInput) (model.Action, error)

func CreateDeleteAttribute

func CreateDeleteAttribute(ctx context.Context, action model.ActionInput) (model.Action, error)

CreateDeleteAttribute creates a new DeleteAttribute action in Kubernetes

func CreateErrorSampler

func CreateErrorSampler(ctx context.Context, action model.ActionInput) (model.Action, error)

CreateErrorSampler creates a new ErrorSampler action in Kubernetes

func CreateLatencySampler

func CreateLatencySampler(ctx context.Context, action model.ActionInput) (model.Action, error)

CreateLatencySampler creates a new LatencySampler action in Kubernetes

func CreatePiiMasking

func CreatePiiMasking(ctx context.Context, action model.ActionInput) (model.Action, error)

CreatePiiMasking creates a new PiiMasking action in Kubernetes

func CreateProbabilisticSampler

func CreateProbabilisticSampler(ctx context.Context, action model.ActionInput) (model.Action, error)

CreateProbabilisticSampler creates a new ProbabilisticSampler action in Kubernetes

func CreateRenameAttribute

func CreateRenameAttribute(ctx context.Context, action model.ActionInput) (model.Action, error)

CreateRenameAttribute creates a new RenameAttribute action in Kubernetes

func DeleteAddClusterInfo

func DeleteAddClusterInfo(ctx context.Context, id string) error

func DeleteDeleteAttribute

func DeleteDeleteAttribute(ctx context.Context, id string) error

DeleteDeleteAttribute deletes an existing DeleteAttribute action from Kubernetes

func DeleteErrorSampler

func DeleteErrorSampler(ctx context.Context, id string) error

DeleteErrorSampler deletes an existing ErrorSampler action from Kubernetes

func DeleteLatencySampler

func DeleteLatencySampler(ctx context.Context, id string) error

DeleteLatencySampler deletes an existing LatencySampler action from Kubernetes

func DeletePiiMasking

func DeletePiiMasking(ctx context.Context, id string) error

DeletePiiMasking deletes an existing PiiMasking action from Kubernetes

func DeleteProbabilisticSampler

func DeleteProbabilisticSampler(ctx context.Context, id string) error

DeleteProbabilisticSampler deletes an existing ProbabilisticSampler action from Kubernetes

func DeleteRenameAttribute

func DeleteRenameAttribute(ctx context.Context, id string) error

func UpdateAddClusterInfo

func UpdateAddClusterInfo(ctx context.Context, id string, action model.ActionInput) (model.Action, error)

func UpdateDeleteAttribute

func UpdateDeleteAttribute(ctx context.Context, id string, action model.ActionInput) (model.Action, error)

UpdateDeleteAttribute updates an existing DeleteAttribute action in Kubernetes

func UpdateErrorSampler

func UpdateErrorSampler(ctx context.Context, id string, action model.ActionInput) (model.Action, error)

UpdateErrorSampler updates an existing ErrorSampler action in Kubernetes

func UpdateLatencySampler

func UpdateLatencySampler(ctx context.Context, id string, action model.ActionInput) (model.Action, error)

UpdateLatencySampler updates an existing LatencySampler action in Kubernetes

func UpdatePiiMasking

func UpdatePiiMasking(ctx context.Context, id string, action model.ActionInput) (model.Action, error)

UpdatePiiMasking updates an existing PiiMasking action in Kubernetes

func UpdateProbabilisticSampler

func UpdateProbabilisticSampler(ctx context.Context, id string, action model.ActionInput) (model.Action, error)

UpdateProbabilisticSampler updates an existing ProbabilisticSampler action in Kubernetes

func UpdateRenameAttribute

func UpdateRenameAttribute(ctx context.Context, id string, action model.ActionInput) (model.Action, error)

UpdateRenameAttribute updates an existing RenameAttribute action in Kubernetes

Types

type AddClusterInfoDetails

type AddClusterInfoDetails struct {
	ClusterAttributes []model.ClusterInfo `json:"clusterAttributes"`
}

type DeleteAttributeDetails

type DeleteAttributeDetails struct {
	AttributeNamesToDelete []string `json:"attributeNamesToDelete"`
}

type ErrorSamplerDetails

type ErrorSamplerDetails struct {
	FallbackSamplingRatio float64 `json:"fallback_sampling_ratio"`
}

type LatencySamplerDetails

type LatencySamplerDetails struct {
	EndpointsFilters []v1alpha1.HttpRouteFilter `json:"endpoints_filters"`
}

type PiiMaskingDetails

type PiiMaskingDetails struct {
	PiiCategories []v1alpha1.PiiCategory `json:"piiCategories"`
}

type ProbabilisticSamplerDetails

type ProbabilisticSamplerDetails struct {
	SamplingPercentage string `json:"sampling_percentage"`
}

type RenameAttributeDetails

type RenameAttributeDetails struct {
	Renames map[string]string `json:"renames"`
}

Jump to

Keyboard shortcuts

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