Documentation ¶
Index ¶
- func NewKubernetesFactory(logger lager.Logger, clientset *kubernetes.Clientset, namespacePrefix string) *kubernetesFactory
- func NewKubernetesManagerFactory() creds.ManagerFactory
- type Kubernetes
- type KubernetesManager
- func (manager KubernetesManager) Health() (*creds.HealthResponse, error)
- func (manager KubernetesManager) Init(log lager.Logger) error
- func (manager KubernetesManager) IsConfigured() bool
- func (manager *KubernetesManager) MarshalJSON() ([]byte, error)
- func (manager KubernetesManager) NewVariablesFactory(logger lager.Logger) (creds.VariablesFactory, error)
- func (manager KubernetesManager) Validate() error
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) Health ¶
func (manager KubernetesManager) Health() (*creds.HealthResponse, error)
func (KubernetesManager) IsConfigured ¶
func (manager KubernetesManager) IsConfigured() bool
func (*KubernetesManager) MarshalJSON ¶
func (manager *KubernetesManager) MarshalJSON() ([]byte, error)
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.