Documentation ¶
Index ¶
- type Token
- func (t *Token) Expired() bool
- func (t *Token) MarshalBinary() ([]byte, error)
- func (t *Token) MarshalJSON() ([]byte, error)
- func (t *Token) ToKubeClientExecCredential() clientauth.ExecCredential
- func (t *Token) ToKubeClientExecCredentialJSON() ([]byte, error)
- func (t *Token) UnmarshalBinary(b []byte) error
- func (t *Token) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct { Expiration time.Time `json:"expiration,omitempty"` Value string `json:"value"` }
func (*Token) MarshalBinary ¶
func (*Token) MarshalJSON ¶
func (*Token) ToKubeClientExecCredential ¶
func (t *Token) ToKubeClientExecCredential() clientauth.ExecCredential
func (*Token) ToKubeClientExecCredentialJSON ¶
func (*Token) UnmarshalBinary ¶
func (*Token) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.