factory

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ANSClientFactory added in v1.10.1

type ANSClientFactory struct {
	// contains filtered or unexported fields
}

func NewANSClientFactory added in v1.10.1

func NewANSClientFactory(opts ...ANSClientFactoryOption) *ANSClientFactory

func (*ANSClientFactory) NewClient added in v1.10.1

func (f *ANSClientFactory) NewClient() (client.Client, error)

type ANSClientFactoryOption added in v1.10.1

type ANSClientFactoryOption func(f *ANSClientFactory)

func WithUserAgent

func WithUserAgent(userAgent string) ANSClientFactoryOption

type ClientFactory

type ClientFactory interface {
	NewClient() (client.Client, error)
}

Jump to

Keyboard shortcuts

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