{"modulePath":"code.cloudfoundry.org/cli","version":"v7.1.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package shared\n\nPackage shared should not be imported by external consumers. It was not designed for external use.\n\n## Functions\n\n```go\nfunc NewClient(config command.Config, ui command.UI, skipSSLValidation bool) *plugin.Client\n```\nNewClient creates a new V2 Cloud Controller client and UAA client using the passed in config.\n\n## Types\n\n```go\ntype Config interface {\n\tDialTimeout() time.Duration\n\tVerbose() (bool, []string)\n}\n```\n\n```go\ntype ProgressBarProxyReader struct {\n\t// contains filtered or unexported fields\n}\n```\nProgressBarProxyReader wraps a progress bar in a ProxyReader interface.\n\n```go\nfunc NewProgressBarProxyReader(writer io.Writer) *ProgressBarProxyReader\n```\n\n```go\nfunc (p ProgressBarProxyReader) Finish()\n```\n\n```go\nfunc (p *ProgressBarProxyReader) Start(size int64)\n```\n\n```go\nfunc (p ProgressBarProxyReader) Wrap(reader io.Reader) io.ReadCloser\n```\n\n```go\ntype RPCService struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewRPCService(config Config, ui UI) (*RPCService, error)\n```\n\n```go\nfunc (r RPCService) GetMetadata(path string) (configv3.Plugin, error)\n```\n\n```go\nfunc (r RPCService) Run(path string, command string) error\n```\n\n```go\ntype UI interface {\n\tWriter() io.Writer\n}\n```\n\n","path":"code.cloudfoundry.org/cli/command/plugin/shared","name":"shared","synopsis":"Package shared should not be imported by external consumers.","isRedistributable":true}
