{"modulePath":"github.com/cloudzero/cloudzero-agent","version":"v1.1.0-rc-1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package validation\n\nPackage validation provides validation logic.\n\n## Functions\n\n```go\nfunc ValidateCloudAccountID(cloudAccountID string) (string, error)\n```\nValidateCloudAccountID validates the cloud\\_account\\_id. It attempts to clean the input by removing surrounding quotes if the initial validation fails. Returns the cleaned cloudAccountID and an error if validation fails.\n\n```go\nfunc ValidateClusterName(clusterName string) error\n```\nValidateClusterName validates the cluster\\_name. It returns an error if the clusterName does not meet the format requirements.\n\n","path":"github.com/cloudzero/cloudzero-agent/app/validation","name":"validation","synopsis":"Package validation provides validation logic.","isRedistributable":true}
