Documentation ¶
Index ¶
- type BootstrapToken
- func (t *BootstrapToken) CreationTime() *time.Time
- func (t *BootstrapToken) CreationUnixTime() (val *date.UnixTime)
- func (t *BootstrapToken) ExpirationString() (expiration string)
- func (t *BootstrapToken) ExpirationTime() *time.Time
- func (t *BootstrapToken) ExpirationUnixTime() (val *date.UnixTime)
- func (t *BootstrapToken) FullToken() string
- func (t *BootstrapToken) Id() string
- func (t *BootstrapToken) Secret() string
- func (t *BootstrapToken) SetCreationTime(val time.Time)
- func (t *BootstrapToken) SetCreationUnixTime(val date.UnixTime)
- func (t *BootstrapToken) SetExpirationTime(val time.Time)
- func (t *BootstrapToken) SetExpirationUnixTime(val date.UnixTime)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapToken ¶
type BootstrapToken struct {
// contains filtered or unexported fields
}
func NewBootstrapToken ¶
func NewBootstrapToken(id, secret string) *BootstrapToken
func ParseFromString ¶
func ParseFromString(value string) *BootstrapToken
func (*BootstrapToken) CreationTime ¶
func (t *BootstrapToken) CreationTime() *time.Time
func (*BootstrapToken) CreationUnixTime ¶
func (t *BootstrapToken) CreationUnixTime() (val *date.UnixTime)
func (*BootstrapToken) ExpirationString ¶
func (t *BootstrapToken) ExpirationString() (expiration string)
func (*BootstrapToken) ExpirationTime ¶
func (t *BootstrapToken) ExpirationTime() *time.Time
func (*BootstrapToken) ExpirationUnixTime ¶
func (t *BootstrapToken) ExpirationUnixTime() (val *date.UnixTime)
func (*BootstrapToken) FullToken ¶
func (t *BootstrapToken) FullToken() string
func (*BootstrapToken) Id ¶
func (t *BootstrapToken) Id() string
func (*BootstrapToken) Secret ¶
func (t *BootstrapToken) Secret() string
func (*BootstrapToken) SetCreationTime ¶
func (t *BootstrapToken) SetCreationTime(val time.Time)
func (*BootstrapToken) SetCreationUnixTime ¶
func (t *BootstrapToken) SetCreationUnixTime(val date.UnixTime)
func (*BootstrapToken) SetExpirationTime ¶
func (t *BootstrapToken) SetExpirationTime(val time.Time)
func (*BootstrapToken) SetExpirationUnixTime ¶
func (t *BootstrapToken) SetExpirationUnixTime(val date.UnixTime)
Click to show internal directories.
Click to hide internal directories.