Documentation ¶
Index ¶
- func Run(e exec.Executor, ctx context.Context, data interface{}, args ...string) (exec.Result, error)
- type AuthenticationOptions
- type CertAppender
- type Client
- type ClientFactory
- type ClientFactoryFunc
- type ClientImpl
- func (c *ClientImpl) Director() (cli.Director, error)
- func (c *ClientImpl) FindDeployment(pattern string) (director.DeploymentResp, bool, error)
- func (c *ClientImpl) FindVM(deploymentName, processName string) (director.VMInfo, bool, error)
- func (c *ClientImpl) GetInfo() (Info, error)
- func (c *ClientImpl) VerifyAuth() error
- type DirectorFactory
- type Info
- type UAA
- type UAAFactory
- type UserAuthentication
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthenticationOptions ¶
type AuthenticationOptions struct {
URL string
}
type CertAppender ¶
type ClientFactory ¶
type ClientFactory interface { New(url string, allProxy string, trustedCertPEM []byte, certAppender CertAppender, boshAuth config.Authentication) (Client, error) }
type ClientFactoryFunc ¶
type ClientFactoryFunc func(url string, allProxy string, trustedCertPEM []byte, certAppender CertAppender, boshAuth config.Authentication) (Client, error)
func NewClientFactory ¶
func NewClientFactory(directorFactory DirectorFactory, uaaFactory UAAFactory) ClientFactoryFunc
func (ClientFactoryFunc) New ¶
func (f ClientFactoryFunc) New( url string, allProxy string, trustedCertPEM []byte, certAppender CertAppender, boshAuth config.Authentication, ) (Client, error)
type ClientImpl ¶
type ClientImpl struct { PollingInterval time.Duration BoshInfo Info // contains filtered or unexported fields }
func (*ClientImpl) FindDeployment ¶
func (c *ClientImpl) FindDeployment(pattern string) (director.DeploymentResp, bool, error)
func (*ClientImpl) GetInfo ¶
func (c *ClientImpl) GetInfo() (Info, error)
func (*ClientImpl) VerifyAuth ¶
func (c *ClientImpl) VerifyAuth() error
type DirectorFactory ¶
type DirectorFactory interface {
New(allProxy string, config director.FactoryConfig, taskReporter director.TaskReporter, fileReporter director.FileReporter) (cli.Director, error)
}
type Info ¶
type Info struct { Version string UserAuthentication UserAuthentication `json:"user_authentication"` }
type UserAuthentication ¶
type UserAuthentication struct {
Options AuthenticationOptions
}
Click to show internal directories.
Click to hide internal directories.