helpers

package
v0.0.0-...-77f5569 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBBSClient

func NewBBSClient(cmd *cobra.Command, bbsClientConfig TLSConfig) (bbs.Client, error)

func NewLocketClient

func NewLocketClient(logger lager.Logger, cmd *cobra.Command, locketClientConfig TLSConfig) (locketmodels.LocketClient, error)

func NewRepClient

func NewRepClient(clientFactory rep.ClientFactory, address, url string) (rep.Client, error)

Types

type TLSConfig

type TLSConfig struct {
	BBSUrl            string
	LocketApiLocation string
	CACertFile        string
	CertFile          string
	KeyFile           string
	SkipCertVerify    bool
	Timeout           int
}

func (*TLSConfig) Merge

func (config *TLSConfig) Merge(newConfig TLSConfig)

Jump to

Keyboard shortcuts

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