Documentation ¶
Overview ¶
Package shared should not be imported by external consumers. It was not designed for external use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProgressBarProxyReader ¶
type ProgressBarProxyReader struct {
// contains filtered or unexported fields
}
ProgressBarProxyReader wraps a progress bar in a ProxyReader interface.
func NewProgressBarProxyReader ¶
func NewProgressBarProxyReader(writer io.Writer) *ProgressBarProxyReader
func (ProgressBarProxyReader) Finish ¶
func (p ProgressBarProxyReader) Finish()
func (*ProgressBarProxyReader) Start ¶
func (p *ProgressBarProxyReader) Start(size int64)
func (ProgressBarProxyReader) Wrap ¶
func (p ProgressBarProxyReader) Wrap(reader io.Reader) io.ReadCloser
type RPCService ¶
type RPCService struct {
// contains filtered or unexported fields
}
func NewRPCService ¶
func NewRPCService(config Config, ui UI) (*RPCService, error)
func (RPCService) GetMetadata ¶
func (r RPCService) GetMetadata(path string) (configv3.Plugin, error)
Click to show internal directories.
Click to hide internal directories.