Package io.fabric8.kubernetes.client
Class SundrioConfig
- java.lang.Object
-
- io.fabric8.kubernetes.client.SundrioConfig
-
- Direct Known Subclasses:
Config
public class SundrioConfig extends Object
To add a new config option:- add a field in this class. Adding getters / setters is optional
- add logic in the
Configconstructor to copy the field. Optionally add auto configuration logic. - no other changes are typically necessary
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SundrioConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.NamedContext>getContexts()Returns all theNamedContexts that exist in the kube configio.fabric8.kubernetes.api.model.NamedContextgetCurrentContext()Returns the current context that's defined in the kube config.voidsetAdditionalProperty(String name, Object value)voidsetImpersonateGroups(String... impersonateGroup)
-
-
-
Field Detail
-
trustCerts
protected Boolean trustCerts
-
disableHostnameVerification
protected Boolean disableHostnameVerification
-
masterUrl
protected String masterUrl
-
apiVersion
protected String apiVersion
-
namespace
protected String namespace
-
defaultNamespace
protected Boolean defaultNamespace
-
caCertFile
protected String caCertFile
-
caCertData
protected String caCertData
-
clientCertFile
protected String clientCertFile
-
clientCertData
protected String clientCertData
-
clientKeyFile
protected String clientKeyFile
-
clientKeyData
protected String clientKeyData
-
clientKeyAlgo
protected String clientKeyAlgo
-
clientKeyPassphrase
protected String clientKeyPassphrase
-
trustStoreFile
protected String trustStoreFile
-
trustStorePassphrase
protected String trustStorePassphrase
-
keyStoreFile
protected String keyStoreFile
-
keyStorePassphrase
protected String keyStorePassphrase
-
authProvider
protected io.fabric8.kubernetes.api.model.AuthProviderConfig authProvider
-
username
protected String username
-
password
protected String password
-
oauthToken
protected volatile String oauthToken
-
autoOAuthToken
protected volatile String autoOAuthToken
-
oauthTokenProvider
protected OAuthTokenProvider oauthTokenProvider
-
websocketPingInterval
protected Long websocketPingInterval
-
connectionTimeout
protected Integer connectionTimeout
-
maxConcurrentRequests
protected Integer maxConcurrentRequests
-
maxConcurrentRequestsPerHost
protected Integer maxConcurrentRequestsPerHost
-
contexts
protected List<io.fabric8.kubernetes.api.model.NamedContext> contexts
-
currentContext
protected io.fabric8.kubernetes.api.model.NamedContext currentContext
-
watchReconnectInterval
protected Integer watchReconnectInterval
-
watchReconnectLimit
protected Integer watchReconnectLimit
-
uploadRequestTimeout
protected Integer uploadRequestTimeout
-
requestRetryBackoffLimit
protected Integer requestRetryBackoffLimit
-
requestRetryBackoffInterval
protected Integer requestRetryBackoffInterval
-
requestTimeout
protected Integer requestTimeout
-
scaleTimeout
protected Long scaleTimeout
-
loggingInterval
protected Integer loggingInterval
-
impersonateUsername
protected String impersonateUsername
-
impersonateGroups
protected String[] impersonateGroups
-
http2Disable
protected Boolean http2Disable
-
httpProxy
protected String httpProxy
-
httpsProxy
protected String httpsProxy
-
proxyUsername
protected String proxyUsername
-
proxyPassword
protected String proxyPassword
-
noProxy
protected String[] noProxy
-
userAgent
protected String userAgent
-
tlsVersions
protected TlsVersion[] tlsVersions
-
onlyHttpWatches
protected Boolean onlyHttpWatches
-
autoConfigure
protected Boolean autoConfigure
-
-
Method Detail
-
setImpersonateGroups
public void setImpersonateGroups(String... impersonateGroup)
-
getContexts
public List<io.fabric8.kubernetes.api.model.NamedContext> getContexts()
Returns all theNamedContexts that exist in the kube config- Returns:
- all the contexts
- See Also:
NamedContext
-
getCurrentContext
public io.fabric8.kubernetes.api.model.NamedContext getCurrentContext()
Returns the current context that's defined in the kube config. Returnsnullif there's none- Returns:
- the current context
- See Also:
NamedContext
-
-