Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKubernetesFactory ¶
func NewKubernetesFactory(logger lager.Logger, clientset *kubernetes.Clientset, namespacePrefix string) *kubernetesFactory
func NewKubernetesManagerFactory ¶
func NewKubernetesManagerFactory() creds.ManagerFactory
Types ¶
type Kubernetes ¶
type Kubernetes struct { Clientset *kubernetes.Clientset TeamName string PipelineName string NamespacePrefix string // contains filtered or unexported fields }
func (Kubernetes) Get ¶
func (k Kubernetes) Get(varDef template.VariableDefinition) (interface{}, bool, error)
func (Kubernetes) List ¶
func (k Kubernetes) List() ([]template.VariableDefinition, error)
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) IsConfigured ¶
func (manager KubernetesManager) IsConfigured() bool
func (KubernetesManager) NewVariablesFactory ¶
func (manager KubernetesManager) NewVariablesFactory(logger lager.Logger) (creds.VariablesFactory, error)
func (KubernetesManager) Validate ¶
func (manager KubernetesManager) Validate() error
Click to show internal directories.
Click to hide internal directories.