Documentation
¶
Index ¶
- func AddAccessCmd(ch *cmdutil.Helper) *cobra.Command
- func CreateCmd(ch *cmdutil.Helper) *cobra.Command
- func DeleteAccessCmd(ch *cmdutil.Helper) *cobra.Command
- func DeleteCmd(ch *cmdutil.Helper) *cobra.Command
- func ListCmd(ch *cmdutil.Helper) *cobra.Command
- func ShowAccessCmd(ch *cmdutil.Helper) *cobra.Command
- func TokenCmd(ch *cmdutil.Helper) *cobra.Command
- type ServiceToken
- type ServiceTokenAccess
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServiceToken ¶ added in v0.14.0
type ServiceToken struct {
ID string `header:"id" json:"id"`
Token string `header:"token" json:"token"`
// contains filtered or unexported fields
}
ServiceToken returns a table and json serializable schema snapshot.
func (*ServiceToken) MarshalJSON ¶ added in v0.14.0
func (s *ServiceToken) MarshalJSON() ([]byte, error)
type ServiceTokenAccess ¶ added in v0.14.0
type ServiceTokenAccess struct {
Database string `header:"database" json:"database"`
Accesses []string `header:"accesses" json:"accesses"`
}
ServiceTokenAccess returns a table and json serializable schema snapshot.
Click to show internal directories.
Click to hide internal directories.