{"modulePath":"github.com/AliyunContainerService/node-problem-detector","version":"v0.6.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package options\n\n## Types\n\n```go\ntype NodeProblemDetectorOptions struct {\n\n\t// SystemLogMonitorConfigPaths specifies the list of paths to system log monitor configuration\n\t// files.\n\tSystemLogMonitorConfigPaths []string\n\t// CustomPluginMonitorConfigPaths specifies the list of paths to custom plugin monitor configuration\n\t// files.\n\tCustomPluginMonitorConfigPaths []string\n\t// ApiServerOverride is the custom URI used to connect to Kubernetes ApiServer.\n\tApiServerOverride string\n\t// PrintVersion is the flag determining whether version information is printed.\n\tPrintVersion bool\n\t// HostnameOverride specifies custom node name used to override hostname.\n\tHostnameOverride string\n\t// ServerPort is the port to bind the node problem detector server. Use 0 to disable.\n\tServerPort int\n\t// ServerAddress is the address to bind the node problem detector server.\n\tServerAddress string\n\n\t// NodeName is the node name used to communicate with Kubernetes ApiServer.\n\tNodeName string\n}\n```\nNodeProblemDetectorOptions contains node problem detector command line and application options.\n\n```go\nfunc NewNodeProblemDetectorOptions() *NodeProblemDetectorOptions\n```\n\n```go\nfunc (npdo *NodeProblemDetectorOptions) AddFlags(fs *pflag.FlagSet)\n```\nAddFlags adds node problem detector command line options to pflag.\n\n```go\nfunc (npdo *NodeProblemDetectorOptions) SetNodeNameOrDie()\n```\nSetNodeNameOrDie sets \\`NodeName\\` field with valid value.\n\n```go\nfunc (npdo *NodeProblemDetectorOptions) ValidOrDie()\n```\nValidOrDie validates node problem detector command line options.\n\n","path":"github.com/AliyunContainerService/node-problem-detector/cmd/options","name":"options","synopsis":"","isRedistributable":true}
