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:"identityURL" name:"identity-url"` VServerURL string `gcfg:"vserver-url" mapstructure:"vserverURL" name:"vserver-url"` ClientID string `gcfg:"client-id" mapstructure:"clientID" name:"client-id"` ClientSecret string `gcfg:"client-secret" mapstructure:"clientSecret" name:"client-secret"` }
func (*AuthOpts) ToOAuth2Options ¶
func (s *AuthOpts) ToOAuth2Options() *oauth2.AuthOptions
Click to show internal directories.
Click to hide internal directories.