client

package
v0.0.0-test-multiarch Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnection

func NewConnection(conf Config) (*grpc.ClientConn, error)

Types

type Config

type Config struct {
	Endpoint string
	TLS      TLS

	Get  bool
	Pull bool
	Name string
}

Config represents the options for use with a simple Smart Core client this is useful for building small (CLI) tools for interacting with Smart Core endpoints

type TLS

type TLS struct {
	InsecureNoClientCert bool `json:"insecureNoClientCert,omitempty"` // don't present a client certificate when connecting to proxy servers
	InsecureSkipVerify   bool `json:"insecureSkipVerify,omitempty"`   // don't verify proxy server certificates
}

Jump to

Keyboard shortcuts

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