Documentation ¶
Index ¶
- Constants
- func CreateAddClusterInfo(ctx context.Context, action model.ActionInput) (model.Action, error)
- func CreateDeleteAttribute(ctx context.Context, action model.ActionInput) (model.Action, error)
- func CreateErrorSampler(ctx context.Context, action model.ActionInput) (model.Action, error)
- func CreateLatencySampler(ctx context.Context, action model.ActionInput) (model.Action, error)
- func CreatePiiMasking(ctx context.Context, action model.ActionInput) (model.Action, error)
- func CreateProbabilisticSampler(ctx context.Context, action model.ActionInput) (model.Action, error)
- func CreateRenameAttribute(ctx context.Context, action model.ActionInput) (model.Action, error)
- func DeleteAddClusterInfo(ctx context.Context, id string) error
- func DeleteDeleteAttribute(ctx context.Context, id string) error
- func DeleteErrorSampler(ctx context.Context, id string) error
- func DeleteLatencySampler(ctx context.Context, id string) error
- func DeletePiiMasking(ctx context.Context, id string) error
- func DeleteProbabilisticSampler(ctx context.Context, id string) error
- func DeleteRenameAttribute(ctx context.Context, id string) error
- func UpdateAddClusterInfo(ctx context.Context, id string, action model.ActionInput) (model.Action, error)
- func UpdateDeleteAttribute(ctx context.Context, id string, action model.ActionInput) (model.Action, error)
- func UpdateErrorSampler(ctx context.Context, id string, action model.ActionInput) (model.Action, error)
- func UpdateLatencySampler(ctx context.Context, id string, action model.ActionInput) (model.Action, error)
- func UpdatePiiMasking(ctx context.Context, id string, action model.ActionInput) (model.Action, error)
- func UpdateProbabilisticSampler(ctx context.Context, id string, action model.ActionInput) (model.Action, error)
- func UpdateRenameAttribute(ctx context.Context, id string, action model.ActionInput) (model.Action, error)
- type AddClusterInfoDetails
- type DeleteAttributeDetails
- type ErrorSamplerDetails
- type LatencySamplerDetails
- type PiiMaskingDetails
- type ProbabilisticSamplerDetails
- type RenameAttributeDetails
Constants ¶
const ( ActionTypeAddClusterInfo = "AddClusterInfo" ActionTypeDeleteAttribute = "DeleteAttribute" ActionTypeRenameAttribute = "RenameAttribute" ActionTypePiiMasking = "PiiMasking" ActionTypeErrorSampler = "ErrorSampler" ActionTypeLatencySampler = "LatencySampler" ActionTypeProbabilisticSampler = "ProbabilisticSampler" )
Variables ¶
This section is empty.
Functions ¶
func CreateAddClusterInfo ¶
func CreateDeleteAttribute ¶
CreateDeleteAttribute creates a new DeleteAttribute action in Kubernetes
func CreateErrorSampler ¶
CreateErrorSampler creates a new ErrorSampler action in Kubernetes
func CreateLatencySampler ¶
CreateLatencySampler creates a new LatencySampler action in Kubernetes
func CreatePiiMasking ¶
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 ¶
CreateRenameAttribute creates a new RenameAttribute action in Kubernetes
func DeleteDeleteAttribute ¶
DeleteDeleteAttribute deletes an existing DeleteAttribute action from Kubernetes
func DeleteErrorSampler ¶
DeleteErrorSampler deletes an existing ErrorSampler action from Kubernetes
func DeleteLatencySampler ¶
DeleteLatencySampler deletes an existing LatencySampler action from Kubernetes
func DeletePiiMasking ¶
DeletePiiMasking deletes an existing PiiMasking action from Kubernetes
func DeleteProbabilisticSampler ¶
DeleteProbabilisticSampler deletes an existing ProbabilisticSampler action from Kubernetes
func UpdateAddClusterInfo ¶
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"`
}