credential

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitCreds

type GitCreds struct {
	Namespace string
	// Host string
	Key string
}

func (*GitCreds) CreateGitCreds

func (g *GitCreds) CreateGitCreds(clientset *client.ConfigSet) error

type RegistryCreds

type RegistryCreds struct {
	Name      string
	Namespace string
	Host      string
	ProjectID string
	Username  string
	Password  string
	Pull      bool
	Push      bool
}

RegistryCreds contains docker registry credentials

func (*RegistryCreds) CreateRegistryCreds

func (c *RegistryCreds) CreateRegistryCreds(clientset *client.ConfigSet) error

SetRegistryCreds creates Secret with docker registry credentials json which later can be mounted as config.json file

Jump to

Keyboard shortcuts

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