Documentation ¶
Index ¶
- Constants
- func WithArtifactDir(artifactDir string) func(*Diagnostic)
- func WithKubernetesClient(clientset kubernetes.Interface) func(*Diagnostic)
- func WithNFDClient(nfdClient *nfdclient.Clientset) func(*Diagnostic)
- func WithNamespace(namespace string) func(*Diagnostic)
- func WithObjects(objects ...string) func(*Diagnostic)
- type Collector
- type Config
- type Diagnostic
- type Option
Constants ¶
View Source
const ( // the core group Pods = "pods" Nodes = "nodes" Namespaces = "namespaces" // the apps group Deployments = "deployments" DaemonSets = "daemonsets" // the batch group Jobs = "jobs" // Supported extensions NodeFeature = "nodeFeature" NodeFeatureRule = "nodeFeatureRule" )
Variables ¶
This section is empty.
Functions ¶
func WithArtifactDir ¶
func WithArtifactDir(artifactDir string) func(*Diagnostic)
func WithKubernetesClient ¶
func WithKubernetesClient(clientset kubernetes.Interface) func(*Diagnostic)
func WithNFDClient ¶
func WithNFDClient(nfdClient *nfdclient.Clientset) func(*Diagnostic)
func WithNamespace ¶
func WithNamespace(namespace string) func(*Diagnostic)
func WithObjects ¶
func WithObjects(objects ...string) func(*Diagnostic)
Types ¶
type Config ¶
type Config struct { Clientset kubernetes.Interface NfdClient *nfdclient.Clientset // contains filtered or unexported fields }
type Diagnostic ¶
type Diagnostic struct { *Config // contains filtered or unexported fields }
func New ¶
func New(opts ...Option) (*Diagnostic, error)
type Option ¶
type Option func(*Diagnostic)
Click to show internal directories.
Click to hide internal directories.