Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVContainerClient ¶
func NewVContainerClient(authOpts *AuthOpts) (*client.ProviderClient, error)
Types ¶
type AuthOpts ¶
type AuthOpts struct {
IdentityURL string `gcfg:"identity-url" mapstructure:"identity-url" name:"identity-url"`
VServerURL string `gcfg:"vserver-url" mapstructure:"vserver-url" name:"vserver-url"`
ClientID string `gcfg:"client-id" mapstructure:"client-id" name:"client-id"`
ClientSecret string `gcfg:"client-secret" mapstructure:"client-secret" name:"client-secret"`
}
func (*AuthOpts) ToOAuth2Options ¶
func (s *AuthOpts) ToOAuth2Options() *oauth2.AuthOptions
Click to show internal directories.
Click to hide internal directories.