Versions in this module Expand all Collapse all v1 v1.0.0 Jan 5, 2022 Changes in this version + const ServiceAccount + func GetNamespace() string + func GetPodName() string + func LoadNamespace() string + func NewK8sClientset(opts ...Option) (*kubernetes.Clientset, error) + func NewKubernetesConfig(cli *kubernetes.Clientset, opts ...Option) (hconf.DataSource, error) + func NewOptions(opts ...Option) *options + type Option func(*options) + func KubeConfigPath(kubeConfigPath string) Option + func KubeMasterUrl(masterUrl string) Option + func WithContext(ctx context.Context) Option + func WithNamespace(namespace string) Option + func WithPaths(path ...string) Option