examples

package
v0.125.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOfflineEchoClient

func GetOfflineEchoClient() *sdk.Client

GetOfflineEchoClient creates an offline (local mock server) sdk.Client without auth (DisableOkta option). It is used exclusively for running code examples without internet connection or valid Nobl9 credentials. The body received by the server is decoded to JSON, converted to YAML and printed to stdout.

func GetStaticClient added in v0.112.0

func GetStaticClient(response any) *sdk.Client

GetStaticClient creates an offline (local mock server) sdk.Client without auth (DisableOkta option). It is used exclusively for running code examples without internet connection or valid Nobl9 credentials. The response provided when initializing the client is returned by the server as JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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