zpa

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Service *zscaler.Service
}

Client is the high-level client returned by NewClient(). We only keep one Service pointer, and at runtime it will be backed by either the legacy (V2) client or the new (V3) client.

func NewClient

func NewClient() (*Client, error)

NewClient is the main entry point: it reads config (from viper/env). and initializes the appropriate client (V2 or V3).

type Config

type Config struct {
	BaseURL string
	// contains filtered or unexported fields
}

Config holds all the configuration settings used to initialize the SDK clients. Adapt as needed, mirroring what you have in config.go of the Terraform provider.

Jump to

Keyboard shortcuts

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