Kubewarden SDK Documentation

Function protocol​Version​Callback(payload:​)

public func protocolVersionCallback(payload: String) -> String  

This function provides the implementation of the protocol_version waPC guest function.

Returns

the protocol version the policy supports