{"modulePath":"github.com/LinuxGit/kops","version":"v1.15.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package client\n\n## Functions\n\n```go\nfunc New(config *Config) error\n```\nNew returns a client verifier\n\n## Types\n\n```go\ntype Config struct {\n\t// Authorizer is the name of the verifier to use\n\tAuthorizer string\n\t// Interval is the pause between failed attempts\n\tInterval time.Duration\n\t// KubeAPI is the url for the kubernetes api\n\tKubeAPI string\n\t// KubeConfigPath is the location to write the bootstrap token config\n\tKubeConfigPath string\n\t// NodeURL is the url for the node authozier service\n\tNodeURL string\n\t// Timeout is the time will are willing to wait\n\tTimeout time.Duration\n\t// TLSCertPath is the path to the server TLS certificate\n\tTLSCertPath string\n\t// TLSClientCAPath is the path to a certificate authority\n\tTLSClientCAPath string\n\t// TLSPrivateKeyPath is the path to the private key\n\tTLSPrivateKeyPath string\n\t// Verbose indicate verbose logging\n\tVerbose bool\n}\n```\nConfig is the configuration for the service\n\n```go\nfunc (c *Config) IsValid() error\n```\nIsValid validates the client configuration\n\n","path":"github.com/LinuxGit/kops/node-authorizer/pkg/client","name":"client","synopsis":"","isRedistributable":true}
