Documentation
¶
Index ¶
Constants ¶
View Source
const ( // QueryAction of the manager which search service packages, service instances or service bindings QueryAction action = "Query" // DeployAction of manager which deploy service binding or service instance DeployAction action = "Deploy" // UninstallAction of manager which uninstall service binding or service instance UninstallAction action = "Uninstall" )
Variables ¶
View Source
var ( // ErrIllegalParameters pass in from url or body struct ErrIllegalParameters = fmt.Errorf("illegal parameters") )
Functions ¶
func AuditLog ¶
func AuditLog(ctx *context.Context, traceName string, resourceType action, name *string, err *error)
AuditLog write the audit log from the defer method, and the detail dependents on the error. Because only use the kappctl binary tool or CURL APIs to visit manager, thus, it only offers APICallType of trace.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.