add ks-apiserver options

This commit is contained in:
Jeff
2019-09-12 02:08:21 +08:00
committed by zryfish
parent e4d84b020c
commit 495785092e
2 changed files with 12 additions and 1 deletions

View File

@@ -89,6 +89,11 @@ func (c *ClientSetOptions) SetPrometheusOptions(options *prometheus.PrometheusOp
return c
}
func (c *ClientSetOptions) SetSonarQubeOptions(options *sonarqube.SonarQubeOptions) *ClientSetOptions {
c.sonarqubeOptions = options
return c
}
// ClientSet provide best of effort service to initialize clients,
// but there is no guarantee to return a valid client instance,
// so do validity check before use