Skip to main content
Version: 1.6.x

WasmExtension Service

WasmExtensions

The WasmExtension service provides methods to manage the extensions inside an Organization. WasmExtensions are created inside TSB and assigned later to SecuritySettings and IngressGateways.

GetWasmExtension

Requires ReadWasmExtension

Get a WASM extension

ListWasmExtension

List the WASM extensions that are defined for the Organization.

CreateWasmExtension

Requires CreateWasmExtension

Creates a new WasmExtension object in TSB. This is needed to let the extensions run. Once a WasmExtension has been created, it can be assigned to IngressGateway and SecuritySetting. This method returns the created extension.

UpdateWasmExtension

Requires WriteWasmExtension

Modify an existing WasmExtension. When modifying the details of an extension in use, such as the image property, enabled flag, phase, or default configuration, a redeploy or reconfiguration of the extension may be triggered, affecting live traffic in all those places that reference the extension. Similarly, changes to the allowed_in property may trigger the removal of the extension from all places where the extension was in use that are not allowed to use it anymore, affecting live traffic on the relevant namespaces as well.

DeleteWasmExtension

Requires DeleteWasmExtension

Delete a WasmExtension. Note that deleting a WasmExtension will delete the extension itself, and also its assignments to IngressGateway and SecuritySetting.

CreateWasmExtensionRequest

Request to create a WasmExtension and make it available to be assigned to IngressGateway and SecuritySetting.

FieldDescriptionValidation Rule

parent

string
REQUIRED
Parent resource where the extension will be created. This is the FQN of the organization.

string = {
  min_len: 1
}

name

string
REQUIRED
The short name for the resource to be created.

string = {
  min_len: 1
}

wasmExtension

tetrateio.api.tsb.extension.v2.WasmExtension
REQUIRED
Details of the extension to be created.

message = {
  required: true
}

DeleteWasmExtensionRequest

Request to delete a WasmExtension.

FieldDescriptionValidation Rule

fqn

string
REQUIRED
Fully-qualified name of the WasmExtension.

string = {
  min_len: 1
}

GetWasmExtensionRequest

Request to retrieve a WASM extension.

FieldDescriptionValidation Rule

fqn

string
REQUIRED
Fully-qualified name of the extension.

string = {
  min_len: 1
}

ListWasmExtensionRequest

Request to retrieve the list of WASM extensions for a given Organization.

FieldDescriptionValidation Rule

parent

string
REQUIRED
Parent resource where the WasmExtension will be created.

string = {
  min_len: 1
}

ListWasmExtensionResponse

List of WASM Extensions.

FieldDescriptionValidation Rule

extensions

List of tetrateio.api.tsb.extension.v2.WasmExtension