public class Authentication extends Object
| Constructor and Description |
|---|
Authentication() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
AuthenticatingProxy |
getAuthenticatingProxy()
Get authenticatingProxy
|
String |
getMode()
集群认证模式。 - kubernetes 1.11及之前版本的集群支持“x509”、“rbac”和“authenticating_proxy”,默认取值为“x509”。 - kubernetes 1.13及以上版本的集群支持“rbac”和“authenticating_proxy”,默认取值为“rbac”。
|
int |
hashCode() |
void |
setAuthenticatingProxy(AuthenticatingProxy authenticatingProxy) |
void |
setMode(String mode) |
String |
toString() |
Authentication |
withAuthenticatingProxy(AuthenticatingProxy authenticatingProxy) |
Authentication |
withAuthenticatingProxy(java.util.function.Consumer<AuthenticatingProxy> authenticatingProxySetter) |
Authentication |
withMode(String mode) |
public Authentication withMode(String mode)
public String getMode()
public void setMode(String mode)
public Authentication withAuthenticatingProxy(AuthenticatingProxy authenticatingProxy)
public Authentication withAuthenticatingProxy(java.util.function.Consumer<AuthenticatingProxy> authenticatingProxySetter)
public AuthenticatingProxy getAuthenticatingProxy()
public void setAuthenticatingProxy(AuthenticatingProxy authenticatingProxy)
Copyright © 2022. All rights reserved.