fhclient

package
v0.0.0-...-d3fc958 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParamToList

func ParamToList(raw string) []string

func ParseKV

func ParseKV(raw string) map[string]string

Types

type ApiClient

type ApiClient struct {
	Client *client.FireHydrantAPI
	Auth   runtime.ClientAuthInfoWriter
	// contains filtered or unexported fields
}

func NewApiClient

func NewApiClient(c Config) ApiClient

type ApiKV

type ApiKV struct {
	Type  *string
	Value *string
}

func MapToAPIKV

func MapToAPIKV(identities map[string]string) []ApiKV

type Config

type Config struct {
	ApiHost   string
	ApiKey    string
	Debug     bool
	Transport http.RoundTripper
}

Jump to

Keyboard shortcuts

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