Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sDiscovery ¶
type K8sDiscovery struct {
// contains filtered or unexported fields
}
func NewK8sDiscovery ¶
func NewK8sDiscovery(options Options) (*K8sDiscovery, error)
func (*K8sDiscovery) GetInstances ¶
func (k *K8sDiscovery) GetInstances(ctx context.Context, options provider.GetInstanceOptions) ([]provider.Instancer, error)
func (*K8sDiscovery) Watch ¶
func (k *K8sDiscovery) Watch(ctx context.Context, options provider.GetInstanceOptions) (<-chan []provider.Instancer, error)
type Options ¶
type Options struct { // APIServer is the Kubernetes API server URL (e.g., "https://kubernetes.default.svc") APIServer string // KubeConfig is the path to kubeconfig file KubeConfig string // BearerToken is the authentication token BearerToken string // Insecure allows insecure server connections when using HTTPS Insecure bool }
Click to show internal directories.
Click to hide internal directories.