UserCredentials class

Contains information that describes identity information. This is use to tell the kubernetes cluster who you are.

Constructors

UserCredentials({String? clientCertificateData, String? clientKeyData, String? clientCertificate})
The default constructor.
UserCredentials.fromJson(Map<String, dynamic> json)
Creates a UserCredentials from JSON data.

Properties

authProvider AuthProvider?
Gets or sets custom authentication plugin for the kubernetes cluster.
getter/setter pair
clientCertificate String?
Gets or sets the path to a client cert file for TLS.
final
clientCertificateData String?
Gets or sets PEM-encoded data from a client cert file for TLS. Overrides
final
clientKey String?
Gets or sets the path to a client key file for TLS.
getter/setter pair
clientKeyData String?
Gets or sets PEM-encoded data from a client key file for TLS. Overrides
getter/setter pair
extensions Iterable<NamedExtension>?
Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields.
getter/setter pair
externalExecution ExternalExecution?
Gets or sets external command and its arguments to receive user credentials
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
impersonate String?
Gets or sets the username to impersonate. The name matches the flag.
getter/setter pair
impersonateGroups Iterable<String>
Gets or sets the groups to impersonate.
getter/setter pair
impersonateUserExtra Map<String, String>
Gets or sets additional information for impersonated user.
getter/setter pair
password String?
Gets or sets the password for basic authentication to the kubernetes cluster.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
Gets or sets the bearer token for authentication to the kubernetes cluster.
getter/setter pair
userName String?
Gets or sets the username for basic authentication to the kubernetes cluster.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited