{"modulePath":"github.com/cloudzero/cloudzero-agent","version":"v1.1.0-rc-1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package diagnostic\n\nPackage diagnostic contains an interface to be implemented by diagnostics providers.\n\n## Types\n\n```go\ntype Provider interface {\n\t// Check will perform a targeted check(s) setting meaningful values on the status object\n\t// and only will return an error if the condition is unrecoverable\n\tCheck(_ context.Context, _ *http.Client, _ status.Accessor) error\n}\n```\nProvider is the interface that must be implemented by a diagnostics provider to run a targeted check(s) returning one or more results\n\n","path":"github.com/cloudzero/cloudzero-agent/pkg/diagnostic","name":"diagnostic","synopsis":"Package diagnostic contains an interface to be implemented by diagnostics providers.","isRedistributable":true}
