Name | Type | Description | Notes |
---|---|---|---|
Audience | Pointer to string | Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. | [optional] |
ExpirationSeconds | Pointer to int64 | ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. | [optional] |
Path | string | Path is the path relative to the mount point of the file to project the token into. |
func NewV1ServiceAccountTokenProjection(path string, ) *V1ServiceAccountTokenProjection
NewV1ServiceAccountTokenProjection instantiates a new V1ServiceAccountTokenProjection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewV1ServiceAccountTokenProjectionWithDefaults() *V1ServiceAccountTokenProjection
NewV1ServiceAccountTokenProjectionWithDefaults instantiates a new V1ServiceAccountTokenProjection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *V1ServiceAccountTokenProjection) GetAudience() string
GetAudience returns the Audience field if non-nil, zero value otherwise.
func (o *V1ServiceAccountTokenProjection) GetAudienceOk() (*string, bool)
GetAudienceOk returns a tuple with the Audience field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1ServiceAccountTokenProjection) SetAudience(v string)
SetAudience sets Audience field to given value.
func (o *V1ServiceAccountTokenProjection) HasAudience() bool
HasAudience returns a boolean if a field has been set.
func (o *V1ServiceAccountTokenProjection) GetExpirationSeconds() int64
GetExpirationSeconds returns the ExpirationSeconds field if non-nil, zero value otherwise.
func (o *V1ServiceAccountTokenProjection) GetExpirationSecondsOk() (*int64, bool)
GetExpirationSecondsOk returns a tuple with the ExpirationSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1ServiceAccountTokenProjection) SetExpirationSeconds(v int64)
SetExpirationSeconds sets ExpirationSeconds field to given value.
func (o *V1ServiceAccountTokenProjection) HasExpirationSeconds() bool
HasExpirationSeconds returns a boolean if a field has been set.
func (o *V1ServiceAccountTokenProjection) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *V1ServiceAccountTokenProjection) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1ServiceAccountTokenProjection) SetPath(v string)
SetPath sets Path field to given value.