trafficsplitter

package
v0.42.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAPI

func DeleteAPI(apiName string, keepCache bool) error

DeleteAPI deletes all the resources related to a given traffic splitter API

func GetAPIByName

func GetAPIByName(deployedResource *operator.DeployedResource) ([]schema.APIResponse, error)

GetAPIByName retrieves the metadata, in the form of schema.APIResponse, of a single traffic splitter API

func GetAllAPIs

func GetAllAPIs(virtualServices []istioclientnetworking.VirtualService) ([]schema.APIResponse, error)

GetAllAPIs returns a list of metadata, in the form of schema.APIResponse, about all the created traffic splitter APIs

func UpdateAPI

func UpdateAPI(apiConfig *userconfig.API) (*spec.API, string, error)

UpdateAPI creates or updates a traffic splitter API kind

Types

This section is empty.

Jump to

Keyboard shortcuts

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