kubernetes

package
v6.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKubernetesFactory

func NewKubernetesFactory(logger lager.Logger, client kubernetes.Interface, namespacePrefix string) *kubernetesFactory

func NewKubernetesManagerFactory

func NewKubernetesManagerFactory() creds.ManagerFactory

Types

type KubernetesManager

type KubernetesManager struct {
	InClusterConfig bool   `long:"in-cluster" description:"Enables the in-cluster client."`
	ConfigPath      string `long:"config-path" description:"Path to Kubernetes config when running ATC outside Kubernetes."`
	NamespacePrefix string `` /* 137-byte string literal not displayed */
}

func (KubernetesManager) Close

func (manager KubernetesManager) Close(logger lager.Logger)

func (KubernetesManager) Health

func (manager KubernetesManager) Health() (*creds.HealthResponse, error)

func (KubernetesManager) Init

func (manager KubernetesManager) Init(log lager.Logger) error

func (KubernetesManager) IsConfigured

func (manager KubernetesManager) IsConfigured() bool

func (*KubernetesManager) MarshalJSON

func (manager *KubernetesManager) MarshalJSON() ([]byte, error)

func (KubernetesManager) NewSecretsFactory

func (manager KubernetesManager) NewSecretsFactory(logger lager.Logger) (creds.SecretsFactory, error)

func (KubernetesManager) Validate

func (manager KubernetesManager) Validate() error

type Secrets

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

func (Secrets) Get

func (secrets Secrets) Get(secretPath string) (interface{}, *time.Time, bool, error)

Get retrieves the value and expiration of an individual secret

func (Secrets) NewSecretLookupPaths

func (secrets Secrets) NewSecretLookupPaths(teamName string, pipelineName string, allowRootPath bool) []creds.SecretLookupPath

NewSecretLookupPaths defines how variables will be searched in the underlying secret manager

Jump to

Keyboard shortcuts

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