Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppListerClient ¶
type AppListerClient struct {
// contains filtered or unexported fields
}
func NewAppListerClient ¶
func NewAppListerClient(c Curler) *AppListerClient
type AuthCurler ¶
type BindDrainClient ¶
type BindDrainClient struct {
// contains filtered or unexported fields
}
func NewBindDrainClient ¶
func NewBindDrainClient(c Curler) *BindDrainClient
func (*BindDrainClient) BindDrain ¶
func (c *BindDrainClient) BindDrain(appGuid, serviceInstanceGuid string) error
type CLICurlClient ¶
type CLICurlClient struct {
// contains filtered or unexported fields
}
func NewCLICurlClient ¶
func NewCLICurlClient(cli plugin.CliConnection) *CLICurlClient
type CreateDrainClient ¶
type CreateDrainClient struct {
// contains filtered or unexported fields
}
func NewCreateDrainClient ¶
func NewCreateDrainClient(c Curler) *CreateDrainClient
func (*CreateDrainClient) CreateDrain ¶
func (c *CreateDrainClient) CreateDrain(name, url, spaceGuid, drainType string) error
type HTTPCurlClient ¶
type HTTPCurlClient struct {
// contains filtered or unexported fields
}
func NewHTTPCurlClient ¶
func NewHTTPCurlClient(apiAddr string, d Doer, f TokenFetcher, r SaveAndRestager) *HTTPCurlClient
type Restager ¶
type Restager struct {
// contains filtered or unexported fields
}
func NewRestager ¶
func NewRestager(appGUID string, c AuthCurler, log Logger) *Restager
func (*Restager) SaveAndRestage ¶
type SaveAndRestager ¶
type SaveAndRestager interface {
SaveAndRestage(refreshToken string)
}
type SaveAndRestagerFunc ¶
type SaveAndRestagerFunc func(string)
func (SaveAndRestagerFunc) SaveAndRestage ¶
func (f SaveAndRestagerFunc) SaveAndRestage(refToken string)
type TokenFetcher ¶
type TokenManager ¶
type TokenManager struct {
// contains filtered or unexported fields
}
func NewTokenManager ¶
Click to show internal directories.
Click to hide internal directories.