keystone

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthTokens

type AuthTokens struct {
	Token struct {
		Catalog []struct {
			Name      string
			Type      string
			Endpoints []struct {
				URL       string
				Interface string
			}
		}
	}
	XAuthTokenHeader string
}

func (AuthTokens) EndpointURL

func (t AuthTokens) EndpointURL(serviceName string, endpointInterface string) string

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(client *kubeproxy.Client) *Client

func (*Client) PostAuthTokens

func (c *Client) PostAuthTokens(username, password, project string) (AuthTokens, error)

func (*Client) PostAuthTokensWithHeaders

func (c *Client) PostAuthTokensWithHeaders(username, password, project string, headers http.Header) (AuthTokens, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL