clients

package
v0.0.0-...-fa5e208 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDirectoryV2ImportClient

func NewDirectoryV2ImportClient(ctx context.Context, cfg *Config) (dsiv2.ImporterClient, error)

func NewDirectoryV3ImportClient

func NewDirectoryV3ImportClient(ctx context.Context, cfg *Config) (dsiv3.ImporterClient, error)

Types

type Config

type Config struct {
	Host     string `short:"s" env:"DIRECTORY_HOST" help:"Directory host address"`
	APIKey   string `short:"k" env:"DIRECTORY_API_KEY" help:"Directory API Key"`
	Insecure bool   `short:"i" help:"Disable TLS verification"`
	TenantID string `short:"t" env:"DIRECTORY_TENANT_ID" help:"Directory Tenant ID"`
}

Jump to

Keyboard shortcuts

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