token

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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) Expired

func (t *Token) Expired() bool

func (*Token) MarshalBinary

func (t *Token) MarshalBinary() ([]byte, error)

func (*Token) MarshalJSON

func (t *Token) MarshalJSON() ([]byte, error)

func (*Token) ToKubeClientExecCredential

func (t *Token) ToKubeClientExecCredential() clientauth.ExecCredential

func (*Token) ToKubeClientExecCredentialJSON

func (t *Token) ToKubeClientExecCredentialJSON() ([]byte, error)

func (*Token) UnmarshalBinary

func (t *Token) UnmarshalBinary(b []byte) error

func (*Token) UnmarshalJSON

func (t *Token) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL