Documentation
¶
Index ¶
- func ParseJSON(item string, keys ...string) (result string, err error)
- type K8s
- func (k8s *K8s) FindPod(name, namespace string) (result string, err error)
- func (k8s *K8s) ForwardPod(name, namespace, port string) chan struct{}
- func (k8s *K8s) FromConfigMap(name, namespace, key string) (result string, err error)
- func (k8s *K8s) FromSecret(name, namespace, key string) (result string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type K8s ¶
type K8s struct {
// contains filtered or unexported fields
}
K8s represents a connection to Kubernetes
func (*K8s) ForwardPod ¶
ForwardPod establishes a persistent connection to a remote pod
func (*K8s) FromConfigMap ¶
FromConfigMap reads an entry from a ConfigMap
Click to show internal directories.
Click to hide internal directories.