secrets

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APIVersion = "v1"

Functions

This section is empty.

Types

type BasicAuthFileSecret

type BasicAuthFileSecret struct {
	BasicAuth string `yaml:"basicAuth"`
}

type HTPasswdFileSecret

type HTPasswdFileSecret struct {
	HTPasswd string `yaml:"htpasswd"`
}

type KeystoneFileSecret

type KeystoneFileSecret struct {
	Keystone string `yaml:"keystone"`
}

type LiteralSecret

type LiteralSecret struct {
	ClientSecret string `yaml:"clientSecret"`
}

type MetaData

type MetaData struct {
	Name      string `yaml:"name"`
	Namespace string `yaml:"namespace"`
}

type Secret

type Secret struct {
	APIVersion string      `yaml:"apiVersion"`
	Kind       string      `yaml:"kind"`
	Type       string      `yaml:"type"`
	MetaData   MetaData    `yaml:"metaData"`
	Data       interface{} `yaml:"data"`
}

func GenSecret

func GenSecret(name string, secretContent string, namespace string, secretType string) *Secret

func (*Secret) GenYAML

func (secret *Secret) GenYAML() []byte

GenYAML returns a YAML of the OAuthCRD

Jump to

Keyboard shortcuts

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