gclient

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applicator

An Applicator brings up or down a set of resources in the API server

type GrpcApplicator

type GrpcApplicator struct {
	Username   string
	Password   string
	Proxy      bool
	NoTLS      bool
	TLSCA      string
	TLSCert    string
	TLSKey     string
	SkipVerify bool
	Insecure   bool
	Target     string
	MaxMsgSize int
	// contains filtered or unexported fields
}

func NewClientApplicator

func NewClientApplicator(opts ...GrpcApplicatorOption) *GrpcApplicator

NewAPIEstablisher creates a new APIEstablisher.

func (*GrpcApplicator) CacheStatus

func (*GrpcApplicator) DeRegister

func (*GrpcApplicator) Register

type GrpcApplicatorOption

type GrpcApplicatorOption func(*GrpcApplicator)

ClientApplicatorOption is used to configure the ClientApplicator.

func WithInsecure

func WithInsecure(b bool) GrpcApplicatorOption

WithInsecure specifies insecure grpc transport

func WithLogger

func WithLogger(log logging.Logger) GrpcApplicatorOption

WithLogger specifies how the ClientApplicator should log messages.

func WithPassword

func WithPassword(password string) GrpcApplicatorOption

WithPassword specifies the password parameters

func WithProxy

func WithProxy(proxy bool) GrpcApplicatorOption

WithProxy specifies the proxy parameters

func WithSkipVerify

func WithSkipVerify(b bool) GrpcApplicatorOption

WithSkipVerify specifies skip verify grpc transport

func WithTLS

func WithTLS(noTLS bool, tlsca, tlscert, tlskey string) GrpcApplicatorOption

WithTLS specifies the tls parameters

func WithTarget

func WithTarget(target string) GrpcApplicatorOption

WithLogger specifies how the Reconciler should log messages.

func WithUsername

func WithUsername(username string) GrpcApplicatorOption

WithUsername specifies the username parameters

Jump to

Keyboard shortcuts

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