Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Password ¶
type Password struct { PublicID string `header:"id" json:"id"` Name string `header:"name" json:"name"` Branch string `header:"branch" json:"branch"` Username string `header:"username" json:"username"` Role string `header:"role" json:"role"` RoleDesc string `header:"role description" json:"-"` TTL int `header:"ttl" json:"ttl"` CreatedAt int64 `json:"created_at"` // contains filtered or unexported fields }
func (*Password) MarshalCSVValue ¶
func (b *Password) MarshalCSVValue() interface{}
func (*Password) MarshalJSON ¶
type PasswordWithPlainText ¶
type PasswordWithPlainText struct { Name string `header:"name" json:"name"` Branch string `header:"branch" json:"branch"` PublicID string `header:"id" json:"public_id"` Username string `header:"username" json:"username"` AccessHostUrl string `header:"access host url" json:"access_host_url"` Role string `header:"role" json:"role"` RoleDesc string `header:"role description" json:"role_description"` PlainText string `header:"password" json:"password"` TTL int `header:"ttl" json:"ttl"` ConnectionStrings ps.ConnectionStrings `json:"connection_strings"` // contains filtered or unexported fields }
func (*PasswordWithPlainText) MarshalCSVValue ¶ added in v0.82.0
func (b *PasswordWithPlainText) MarshalCSVValue() interface{}
func (*PasswordWithPlainText) MarshalJSON ¶ added in v0.82.0
func (b *PasswordWithPlainText) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.