gcloud

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GcloudConnectorSettings

type GcloudConnectorSettings struct {
	IP   string
	Port string
	// contains filtered or unexported fields
}

func (*GcloudConnectorSettings) AttachAccessPolicy

func (s *GcloudConnectorSettings) AttachAccessPolicy(ctx context.Context) error

func (*GcloudConnectorSettings) GetConfiguration

func (s *GcloudConnectorSettings) GetConfiguration(ctx context.Context) interface{}

func (*GcloudConnectorSettings) RegisterCA

func (s *GcloudConnectorSettings) RegisterCA(ctx context.Context, caName string, caSerialNumber string, caCertificate string) error

type GcloudService

type GcloudService interface {
	RegisterCA(ctx context.Context, caName string, caSerialNumber string, caCertificate string) error
	AttachAccessPolicy(ctx context.Context) error
	GetConfiguration(ctx context.Context) interface{}
}

func NewGcloudConnectorClient

func NewGcloudConnectorClient(ip string, port string, logger log.Logger) GcloudService

Jump to

Keyboard shortcuts

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