types

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	ClientToken string `json:"client_token"`
}

type AuthExtraInfo

type AuthExtraInfo struct {
	Kubernetes *config.KubernetesAuthConfig
	Azure      *config.AzureAuthConfig
	AWS        *config.AWSAuthConfig
}

type AuthInfo

type AuthInfo struct {
	VaultApp          *appcat.AppBinding
	ServiceAccountRef *core.ObjectReference
	Secret            *core.Secret
	ExtraInfo         *AuthExtraInfo
	VaultRole         string
	Path              string
}

func GetAuthInfoFromAppBinding

func GetAuthInfoFromAppBinding(kc kubernetes.Interface, vApp *appcat.AppBinding) (*AuthInfo, error)

type AuthLoginResponse

type AuthLoginResponse struct {
	Auth *Auth `json:"auth"`
}

Jump to

Keyboard shortcuts

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