Documentation
¶
Index ¶
- type Error
- type InstanceToken
- type RawSecretKey
- func (secret *RawSecretKey) Equal(other *RawSecretKey) bool
- func (secret *RawSecretKey) String() string
- func (secret *RawSecretKey) UnmarshalJSON(data []byte) (err error)
- func (secret *RawSecretKey) UnmarshalText(value string) (err error)
- func (secret *RawSecretKey) UnmarshalYAML(value *yaml.Node) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
func (*Error) StatusCode ¶
type InstanceToken ¶
type InstanceToken struct {
ID uuid.UUID
SecretKey RawSecretKey
}
func NewInstanceToken ¶
func NewInstanceToken() (*InstanceToken, error)
func ParseInstanceToken ¶
func ParseInstanceToken(text string) (*InstanceToken, error)
func (*InstanceToken) MarshalText ¶
func (token *InstanceToken) MarshalText() ([]byte, error)
func (*InstanceToken) String ¶
func (token *InstanceToken) String() string
func (*InstanceToken) UnmarshalText ¶
func (token *InstanceToken) UnmarshalText(text string) error
func (*InstanceToken) UnmarshalYAML ¶
func (token *InstanceToken) UnmarshalYAML(value *yaml.Node) error
type RawSecretKey ¶
type RawSecretKey struct {
Bytes []byte
}
func (*RawSecretKey) Equal ¶
func (secret *RawSecretKey) Equal(other *RawSecretKey) bool
func (*RawSecretKey) String ¶
func (secret *RawSecretKey) String() string
func (*RawSecretKey) UnmarshalJSON ¶
func (secret *RawSecretKey) UnmarshalJSON(data []byte) (err error)
func (*RawSecretKey) UnmarshalText ¶
func (secret *RawSecretKey) UnmarshalText(value string) (err error)
func (*RawSecretKey) UnmarshalYAML ¶
func (secret *RawSecretKey) UnmarshalYAML(value *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.