token

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAccessCmd

func AddAccessCmd(ch *cmdutil.Helper) *cobra.Command

func CreateCmd

func CreateCmd(ch *cmdutil.Helper) *cobra.Command

func DeleteAccessCmd

func DeleteAccessCmd(ch *cmdutil.Helper) *cobra.Command

func DeleteCmd

func DeleteCmd(ch *cmdutil.Helper) *cobra.Command

func ListCmd

func ListCmd(ch *cmdutil.Helper) *cobra.Command

func ShowAccessCmd added in v0.21.0

func ShowAccessCmd(ch *cmdutil.Helper) *cobra.Command

func TokenCmd

func TokenCmd(ch *cmdutil.Helper) *cobra.Command

TokenCmd encapsulates the command for running snapshots.

Types

type ServiceToken added in v0.14.0

type ServiceToken struct {
	Name  string `header:"name" json:"name"`
	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.

Jump to

Keyboard shortcuts

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