client

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecuteOptions

type ExecuteOptions struct {
	SkipAuthRetry bool

	Quiet      bool
	RemoteFile string

	ExtraArgs []string
}

type GetOptions

type GetOptions struct {
	SkipAuthRetry bool

	Quiet      bool
	RemoteFile string
	LocalFile  string
}

type ListOptions

type ListOptions struct {
	SkipAuthRetry bool
}

type Service

type Service struct {
	svc.ServiceType
	// contains filtered or unexported fields
}

func NewService

func NewService(name string, runtime client.Runtime, fs boshsys.FileSystem, cmdRunner boshsys.CmdRunner) *Service

func (Service) Execute

func (s Service) Execute(opts ExecuteOptions) error

func (Service) Get

func (s Service) Get(opts GetOptions) error

func (Service) GetClient

func (s Service) GetClient(skipAuthRetry bool) (svchttpclient.Client, error)

func (Service) List

func (s Service) List(opts ListOptions) ([]api.ListFileResponse, error)

func (Service) Name

func (s Service) Name() string

type ServiceFactory

type ServiceFactory struct {
	svc.ServiceType
	// contains filtered or unexported fields
}

func NewServiceFactory

func NewServiceFactory(runtime client.Runtime, fs boshsys.FileSystem, cmdRunner boshsys.CmdRunner) ServiceFactory

func (ServiceFactory) New

func (sf ServiceFactory) New(name string) service.Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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