commands

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddUserCommand

type AddUserCommand struct {
	LicenseManager license_manager.LicenseManager `inject:"*"`
}

func (AddUserCommand) Command

func (AddUserCommand) Command() string

func (*AddUserCommand) Execute

func (cmd *AddUserCommand) Execute(args ...string) int

func (AddUserCommand) ImplementCommandInterface

func (AddUserCommand) ImplementCommandInterface()

func (AddUserCommand) PostSummerConstruct

func (AddUserCommand) PostSummerConstruct()

type ChangePasswordCommand

type ChangePasswordCommand struct {
	DbBackend    dbBolt.DatabaseBackend `inject:"*"`
	GoogleConfig *config.GoogleCfg      `inject:"*"`
}

func (ChangePasswordCommand) Command

func (ChangePasswordCommand) Command() string

func (*ChangePasswordCommand) Execute

func (cmd *ChangePasswordCommand) Execute(args ...string) int

func (ChangePasswordCommand) ImplementCommandInterface

func (ChangePasswordCommand) ImplementCommandInterface()

func (ChangePasswordCommand) PostSummerConstruct

func (ChangePasswordCommand) PostSummerConstruct()

type ConditionalRegister

type ConditionalRegister interface {
	CanRegister(googleCredential google_credential.GoogleCredential) bool
}

type CustomerCommand

type CustomerCommand struct {
	AdminSdk admin_sdk.GoogleAdminSdk `inject:"*"`
}

func (CustomerCommand) CanRegister

func (CustomerCommand) CanRegister(googleCredential google_credential.GoogleCredential) bool

func (CustomerCommand) Command

func (CustomerCommand) Command() string

func (*CustomerCommand) Execute

func (cmd *CustomerCommand) Execute(args ...string) int

func (CustomerCommand) ImplementCommandInterface

func (CustomerCommand) ImplementCommandInterface()

func (CustomerCommand) PostSummerConstruct

func (CustomerCommand) PostSummerConstruct()

type DescribeCommand

type DescribeCommand struct {
	DbBackend         dbBolt.DatabaseBackend             `inject:"*"`
	CredentialService google_credential.GoogleCredential `inject:"*"`
}

func (DescribeCommand) Command

func (DescribeCommand) Command() string

func (*DescribeCommand) Execute

func (cmd *DescribeCommand) Execute(args ...string) int

func (DescribeCommand) ImplementCommandInterface

func (DescribeCommand) ImplementCommandInterface()

func (DescribeCommand) PostSummerConstruct

func (DescribeCommand) PostSummerConstruct()

type DumpCommand

type DumpCommand struct {
	DbBackend dbBolt.DatabaseBackend `inject:"*"`
}

func (DumpCommand) Command

func (DumpCommand) Command() string

func (*DumpCommand) Execute

func (cmd *DumpCommand) Execute(args ...string) int

func (DumpCommand) ImplementCommandInterface

func (DumpCommand) ImplementCommandInterface()

func (DumpCommand) PostSummerConstruct

func (DumpCommand) PostSummerConstruct()

type ListCommand

type ListCommand struct {
	LicenseManager license_manager.LicenseManager `inject:"*"`
	AdminSdk       admin_sdk.GoogleAdminSdk       `inject:"*"`
	DbBackend      dbBolt.DatabaseBackend         `inject:"*"`
}

func (ListCommand) Command

func (ListCommand) Command() string

func (*ListCommand) Execute

func (cmd *ListCommand) Execute(args ...string) int

func (ListCommand) ImplementCommandInterface

func (ListCommand) ImplementCommandInterface()

func (ListCommand) PostSummerConstruct

func (ListCommand) PostSummerConstruct()

type RevokeUserCommand

type RevokeUserCommand struct {
	LicenseManager license_manager.LicenseManager `inject:"*"`
}

func (RevokeUserCommand) Command

func (RevokeUserCommand) Command() string

func (*RevokeUserCommand) Execute

func (cmd *RevokeUserCommand) Execute(args ...string) int

func (RevokeUserCommand) ImplementCommandInterface

func (RevokeUserCommand) ImplementCommandInterface()

func (RevokeUserCommand) PostSummerConstruct

func (RevokeUserCommand) PostSummerConstruct()

type StoreAndEncodeCommand

type StoreAndEncodeCommand struct {
	DbBackend    dbBolt.DatabaseBackend `inject:"*"`
	GoogleConfig *config.GoogleCfg      `inject:"*"`
}

func (StoreAndEncodeCommand) Command

func (StoreAndEncodeCommand) Command() string

func (*StoreAndEncodeCommand) Execute

func (cmd *StoreAndEncodeCommand) Execute(args ...string) int

func (StoreAndEncodeCommand) ImplementCommandInterface

func (StoreAndEncodeCommand) ImplementCommandInterface()

func (StoreAndEncodeCommand) PostSummerConstruct

func (StoreAndEncodeCommand) PostSummerConstruct()

type SyncCommand

type SyncCommand struct {
	LicenseManager license_manager.LicenseManager `inject:"*"`
	AdminSdk       admin_sdk.GoogleAdminSdk       `inject:"*"`
	DbBackend      dbBolt.DatabaseBackend         `inject:"*"`
}

func (SyncCommand) Command

func (SyncCommand) Command() string

func (*SyncCommand) Execute

func (cmd *SyncCommand) Execute(args ...string) int

func (SyncCommand) ImplementCommandInterface

func (SyncCommand) ImplementCommandInterface()

func (SyncCommand) PostSummerConstruct

func (SyncCommand) PostSummerConstruct()

type UserCommand

type UserCommand struct {
	AdminSdk admin_sdk.GoogleAdminSdk `inject:"*"`
}

func (*UserCommand) CanRegister

func (cmd *UserCommand) CanRegister(googleCredential google_credential.GoogleCredential) bool

func (UserCommand) Command

func (UserCommand) Command() string

func (*UserCommand) Execute

func (cmd *UserCommand) Execute(args ...string) int

func (UserCommand) ImplementCommandInterface

func (UserCommand) ImplementCommandInterface()

func (UserCommand) PostSummerConstruct

func (UserCommand) PostSummerConstruct()

Jump to

Keyboard shortcuts

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