src/bosh-softlayer-cpi/registry/client_options.go
func (o ClientTLSOptions) Validate() error {
	if o.CertFile == "" {
		return bosherr.Error("Must provide a non-empty CertFile")
	}

	if o.KeyFile == "" {
		return bosherr.Error("Must provide a non-empty KeyFile")
	}

	return nil
}
func (o ClientTLSOptions) Validate() error {
	if o.CertFile == "" {
		return bosherr.Error("Must provide a non-empty CertFile")
	}

	if o.KeyFile == "" {
		return bosherr.Error("Must provide a non-empty KeyFile")
	}

	return nil
}
func ( o ClientTLSOptions ) Validate ( ) error { if o . CertFile == " " { return bosherr . Error ( " " ) } if o . KeyFile == " " { return bosherr . Error ( " " ) } return nil }
// Validate validates the TLS options.
Validate validates the TLS options .