database

package
Version: v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInfo

type AuthInfo struct {
	AuthMethodId   string `json:"auth_method_id"`
	AuthMethodName string `json:"auth_method_name"`
	LoginName      string `json:"login_name"`
	Password       string `json:"password"`
	ScopeId        string `json:"scope_id"`
	UserId         string `json:"user_id"`
	UserName       string `json:"user_name"`
}

type Command

type Command struct {
	*base.Command
}

func (*Command) AutocompleteArgs

func (c *Command) AutocompleteArgs() complete.Predictor

func (*Command) AutocompleteFlags

func (c *Command) AutocompleteFlags() complete.Flags

func (*Command) Flags

func (c *Command) Flags() *base.FlagSets

func (*Command) Help

func (c *Command) Help() string

func (*Command) Run

func (c *Command) Run(args []string) int

func (*Command) Synopsis

func (c *Command) Synopsis() string

type HostInfo

type HostInfo struct {
	HostCatalogId   string `json:"host_catalog_id"`
	HostSetId       string `json:"host_set_id"`
	HostId          string `json:"host_id"`
	Type            string `json:"type"`
	ScopeId         string `json:"scope_id"`
	HostCatalogName string `json:"host_catalog_name"`
	HostSetName     string `json:"host_set_name"`
	HostName        string `json:"host_name"`
}

type InitCommand

type InitCommand struct {
	*base.Server

	SighupCh   chan struct{}
	ReloadedCh chan struct{}
	SigUSR2Ch  chan struct{}

	Config *config.Config
	// contains filtered or unexported fields
}

func (*InitCommand) AutocompleteArgs

func (c *InitCommand) AutocompleteArgs() complete.Predictor

func (*InitCommand) AutocompleteFlags

func (c *InitCommand) AutocompleteFlags() complete.Flags

func (*InitCommand) Flags

func (c *InitCommand) Flags() *base.FlagSets

func (*InitCommand) Help

func (c *InitCommand) Help() string

func (*InitCommand) ParseFlagsAndConfig

func (c *InitCommand) ParseFlagsAndConfig(args []string) int

func (*InitCommand) Run

func (c *InitCommand) Run(args []string) (retCode int)

func (*InitCommand) Synopsis

func (c *InitCommand) Synopsis() string

type MigrateCommand added in v0.1.5

type MigrateCommand struct {
	*base.Command

	SighupCh   chan struct{}
	ReloadedCh chan struct{}
	SigUSR2Ch  chan struct{}

	Config *config.Config
	// contains filtered or unexported fields
}

func (*MigrateCommand) AutocompleteArgs added in v0.1.5

func (c *MigrateCommand) AutocompleteArgs() complete.Predictor

func (*MigrateCommand) AutocompleteFlags added in v0.1.5

func (c *MigrateCommand) AutocompleteFlags() complete.Flags

func (*MigrateCommand) Flags added in v0.1.5

func (c *MigrateCommand) Flags() *base.FlagSets

func (*MigrateCommand) Help added in v0.1.5

func (c *MigrateCommand) Help() string

func (*MigrateCommand) ParseFlagsAndConfig added in v0.1.5

func (c *MigrateCommand) ParseFlagsAndConfig(args []string) int

func (*MigrateCommand) Run added in v0.1.5

func (c *MigrateCommand) Run(args []string) (retCode int)

func (*MigrateCommand) Synopsis added in v0.1.5

func (c *MigrateCommand) Synopsis() string

type RoleInfo

type RoleInfo struct {
	RoleId string `json:"scope_id"`
	Name   string `json:"name"`
}

type ScopeInfo

type ScopeInfo struct {
	ScopeId string `json:"scope_id"`
	Type    string `json:"type"`
	Name    string `json:"name"`
}

type TargetInfo

type TargetInfo struct {
	TargetId               string `json:"target_id"`
	DefaultPort            uint32 `json:"default_port"`
	SessionMaxSeconds      uint32 `json:"session_max_seconds"`
	SessionConnectionLimit int32  `json:"session_connection_limit"`
	Type                   string `json:"type"`
	ScopeId                string `json:"scope_id"`
	Name                   string `json:"name"`
}

Jump to

Keyboard shortcuts

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