Documentation ¶
Index ¶
- Variables
- func LoadCommands()
- type Backup
- type CreateAccount
- func (c *CreateAccount) Checks(ct *commands.Context) error
- func (c *CreateAccount) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *CreateAccount) PostExecute(repl models.ReplicationData) (err error)
- func (c *CreateAccount) Replicate(repl models.ReplicationData) (err error)
- type CreateGroup
- func (c *CreateGroup) Checks(ct *commands.Context) (err error)
- func (c *CreateGroup) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *CreateGroup) PostExecute(repl models.ReplicationData) (err error)
- func (c *CreateGroup) Replicate(repl models.ReplicationData) (err error)
- type Daemon
- type DelAccount
- func (c *DelAccount) Checks(ct *commands.Context) error
- func (c *DelAccount) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *DelAccount) PostExecute(repl models.ReplicationData) (err error)
- func (c *DelAccount) Replicate(repl models.ReplicationData) (err error)
- type DelGroup
- func (c *DelGroup) Checks(ct *commands.Context) error
- func (c *DelGroup) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *DelGroup) PostExecute(repl models.ReplicationData) (err error)
- func (c *DelGroup) Replicate(repl models.ReplicationData) (err error)
- type GroupAddACLKeeper
- func (c *GroupAddACLKeeper) Checks(ct *commands.Context) error
- func (c *GroupAddACLKeeper) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupAddACLKeeper) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupAddACLKeeper) Replicate(repl models.ReplicationData) (err error)
- type GroupAddAccess
- func (c *GroupAddAccess) Checks(ct *commands.Context) error
- func (c *GroupAddAccess) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupAddAccess) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupAddAccess) Replicate(repl models.ReplicationData) (err error)
- type GroupAddGateKeeper
- func (c *GroupAddGateKeeper) Checks(ct *commands.Context) error
- func (c *GroupAddGateKeeper) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupAddGateKeeper) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupAddGateKeeper) Replicate(repl models.ReplicationData) (err error)
- type GroupAddMember
- func (c *GroupAddMember) Checks(ct *commands.Context) error
- func (c *GroupAddMember) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupAddMember) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupAddMember) Replicate(repl models.ReplicationData) (err error)
- type GroupAddOwner
- func (c *GroupAddOwner) Checks(ct *commands.Context) error
- func (c *GroupAddOwner) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupAddOwner) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupAddOwner) Replicate(repl models.ReplicationData) (err error)
- type GroupDelACLKeeper
- func (c *GroupDelACLKeeper) Checks(ct *commands.Context) error
- func (c *GroupDelACLKeeper) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupDelACLKeeper) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupDelACLKeeper) Replicate(repl models.ReplicationData) (err error)
- type GroupDelAccess
- func (c *GroupDelAccess) Checks(ct *commands.Context) error
- func (c *GroupDelAccess) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupDelAccess) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupDelAccess) Replicate(repl models.ReplicationData) (err error)
- type GroupDelGateKeeper
- func (c *GroupDelGateKeeper) Checks(ct *commands.Context) error
- func (c *GroupDelGateKeeper) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupDelGateKeeper) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupDelGateKeeper) Replicate(repl models.ReplicationData) (err error)
- type GroupDelMember
- func (c *GroupDelMember) Checks(ct *commands.Context) error
- func (c *GroupDelMember) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupDelMember) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupDelMember) Replicate(repl models.ReplicationData) (err error)
- type GroupDelOwner
- func (c *GroupDelOwner) Checks(ct *commands.Context) error
- func (c *GroupDelOwner) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupDelOwner) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupDelOwner) Replicate(repl models.ReplicationData) (err error)
- type GroupGenerateEgressKey
- func (c *GroupGenerateEgressKey) Checks(ct *commands.Context) (err error)
- func (c *GroupGenerateEgressKey) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupGenerateEgressKey) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupGenerateEgressKey) Replicate(repl models.ReplicationData) (err error)
- type GroupInfo
- func (c *GroupInfo) Checks(ct *commands.Context) error
- func (c *GroupInfo) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupInfo) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupInfo) Replicate(repl models.ReplicationData) (err error)
- type GroupList
- func (c *GroupList) Checks(ct *commands.Context) error
- func (c *GroupList) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupList) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupList) Replicate(repl models.ReplicationData) (err error)
- type GroupListAccesses
- func (c *GroupListAccesses) Checks(ct *commands.Context) error
- func (c *GroupListAccesses) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *GroupListAccesses) PostExecute(repl models.ReplicationData) (err error)
- func (c *GroupListAccesses) Replicate(repl models.ReplicationData) (err error)
- type Help
- type Info
- type Interactive
- func (c *Interactive) Checks(ct *commands.Context) error
- func (c *Interactive) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *Interactive) PostExecute(repl models.ReplicationData) (err error)
- func (c *Interactive) Replicate(repl models.ReplicationData) (err error)
- type Restore
- func (c *Restore) Checks(ct *commands.Context) (err error)
- func (c *Restore) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *Restore) PostExecute(repl models.ReplicationData) (err error)
- func (c *Restore) Replicate(repl models.ReplicationData) (err error)
- type Scp
- type SelfAddAccess
- func (c *SelfAddAccess) Checks(ct *commands.Context) error
- func (c *SelfAddAccess) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfAddAccess) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfAddAccess) Replicate(repl models.ReplicationData) (err error)
- type SelfAddIngressKey
- func (c *SelfAddIngressKey) Checks(ct *commands.Context) error
- func (c *SelfAddIngressKey) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfAddIngressKey) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfAddIngressKey) Replicate(repl models.ReplicationData) (err error)
- type SelfDelAccess
- func (c *SelfDelAccess) Checks(ct *commands.Context) error
- func (c *SelfDelAccess) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfDelAccess) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfDelAccess) Replicate(repl models.ReplicationData) (err error)
- type SelfDelIngressKey
- func (c *SelfDelIngressKey) Checks(ct *commands.Context) error
- func (c *SelfDelIngressKey) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfDelIngressKey) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfDelIngressKey) Replicate(repl models.ReplicationData) (err error)
- type SelfDisableTOTP
- func (c *SelfDisableTOTP) Checks(ct *commands.Context) error
- func (c *SelfDisableTOTP) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfDisableTOTP) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfDisableTOTP) Replicate(repl models.ReplicationData) (err error)
- type SelfEnableTOTP
- func (c *SelfEnableTOTP) Checks(ct *commands.Context) error
- func (c *SelfEnableTOTP) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfEnableTOTP) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfEnableTOTP) Replicate(repl models.ReplicationData) (err error)
- type SelfForgetHostkey
- func (c *SelfForgetHostkey) Checks(ct *commands.Context) error
- func (c *SelfForgetHostkey) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfForgetHostkey) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfForgetHostkey) Replicate(repl models.ReplicationData) (err error)
- type SelfGenerateEgressKey
- func (c *SelfGenerateEgressKey) Checks(ct *commands.Context) error
- func (c *SelfGenerateEgressKey) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfGenerateEgressKey) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfGenerateEgressKey) Replicate(repl models.ReplicationData) (err error)
- type SelfGenerateTOTPCodes
- func (c *SelfGenerateTOTPCodes) Checks(ct *commands.Context) error
- func (c *SelfGenerateTOTPCodes) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfGenerateTOTPCodes) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfGenerateTOTPCodes) Replicate(repl models.ReplicationData) (err error)
- type SelfGetSessionAsGif
- func (c *SelfGetSessionAsGif) Checks(ct *commands.Context) error
- func (c *SelfGetSessionAsGif) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfGetSessionAsGif) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfGetSessionAsGif) Replicate(repl models.ReplicationData) (err error)
- type SelfListAccesses
- func (c *SelfListAccesses) Checks(ct *commands.Context) error
- func (c *SelfListAccesses) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfListAccesses) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfListAccesses) Replicate(repl models.ReplicationData) (err error)
- type SelfListEgressKeys
- func (c *SelfListEgressKeys) Checks(ct *commands.Context) error
- func (c *SelfListEgressKeys) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfListEgressKeys) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfListEgressKeys) Replicate(repl models.ReplicationData) (err error)
- type SelfListIngressKeys
- func (c *SelfListIngressKeys) Checks(ct *commands.Context) error
- func (c *SelfListIngressKeys) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfListIngressKeys) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfListIngressKeys) Replicate(repl models.ReplicationData) (err error)
- type SelfListSessions
- func (c *SelfListSessions) Checks(ct *commands.Context) error
- func (c *SelfListSessions) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfListSessions) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfListSessions) Replicate(repl models.ReplicationData) (err error)
- type SelfPlaySession
- func (c *SelfPlaySession) Checks(ct *commands.Context) error
- func (c *SelfPlaySession) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
- func (c *SelfPlaySession) PostExecute(repl models.ReplicationData) (err error)
- func (c *SelfPlaySession) Replicate(repl models.ReplicationData) (err error)
- type Setup
- type Ttyrec
Constants ¶
This section is empty.
Variables ¶
var ( DefaultSSHDConfigFile = "/etc/ssh/sshd_config" DefaultPAMConfigFile = "/etc/pam.d/sshd" DefaultSudoersdOwnersFile = "/etc/sudoers.d/bg_owners-o" DefaultSystemdServiceFile = "/etc/systemd/system/sb.service" )
Functions ¶
func LoadCommands ¶
func LoadCommands()
Types ¶
type Backup ¶
type Backup struct{}
func (*Backup) PostExecute ¶
func (c *Backup) PostExecute(repl models.ReplicationData) (err error)
type CreateAccount ¶
CreateAccount describes the command
func (*CreateAccount) Checks ¶
func (c *CreateAccount) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*CreateAccount) Execute ¶
func (c *CreateAccount) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*CreateAccount) PostExecute ¶
func (c *CreateAccount) PostExecute(repl models.ReplicationData) (err error)
func (*CreateAccount) Replicate ¶
func (c *CreateAccount) Replicate(repl models.ReplicationData) (err error)
type CreateGroup ¶
type CreateGroup struct{}
CreateGroup describes the command
func (*CreateGroup) Checks ¶
func (c *CreateGroup) Checks(ct *commands.Context) (err error)
Checks checks whether or not the user can execute this method
func (*CreateGroup) Execute ¶
func (c *CreateGroup) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*CreateGroup) PostExecute ¶
func (c *CreateGroup) PostExecute(repl models.ReplicationData) (err error)
func (*CreateGroup) Replicate ¶
func (c *CreateGroup) Replicate(repl models.ReplicationData) (err error)
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
CreateAccount describes the command
func (*Daemon) Execute ¶
func (c *Daemon) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*Daemon) PostExecute ¶
func (c *Daemon) PostExecute(repl models.ReplicationData) (err error)
type DelAccount ¶
type DelAccount struct{}
DelAccount describes the command
func (*DelAccount) Checks ¶
func (c *DelAccount) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*DelAccount) Execute ¶
func (c *DelAccount) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*DelAccount) PostExecute ¶
func (c *DelAccount) PostExecute(repl models.ReplicationData) (err error)
func (*DelAccount) Replicate ¶
func (c *DelAccount) Replicate(repl models.ReplicationData) (err error)
type DelGroup ¶
type DelGroup struct{}
DelGroup describes the command
func (*DelGroup) Execute ¶
func (c *DelGroup) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*DelGroup) PostExecute ¶
func (c *DelGroup) PostExecute(repl models.ReplicationData) (err error)
type GroupAddACLKeeper ¶
type GroupAddACLKeeper struct{}
GroupAddACLKeeper describes the command
func (*GroupAddACLKeeper) Checks ¶
func (c *GroupAddACLKeeper) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*GroupAddACLKeeper) Execute ¶
func (c *GroupAddACLKeeper) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupAddACLKeeper) PostExecute ¶
func (c *GroupAddACLKeeper) PostExecute(repl models.ReplicationData) (err error)
func (*GroupAddACLKeeper) Replicate ¶
func (c *GroupAddACLKeeper) Replicate(repl models.ReplicationData) (err error)
type GroupAddAccess ¶
type GroupAddAccess struct{}
GroupAddAccess describes the help command
func (*GroupAddAccess) Checks ¶
func (c *GroupAddAccess) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*GroupAddAccess) Execute ¶
func (c *GroupAddAccess) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupAddAccess) PostExecute ¶
func (c *GroupAddAccess) PostExecute(repl models.ReplicationData) (err error)
func (*GroupAddAccess) Replicate ¶
func (c *GroupAddAccess) Replicate(repl models.ReplicationData) (err error)
type GroupAddGateKeeper ¶
type GroupAddGateKeeper struct{}
GroupAddGateKeeper describes the command
func (*GroupAddGateKeeper) Checks ¶
func (c *GroupAddGateKeeper) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*GroupAddGateKeeper) Execute ¶
func (c *GroupAddGateKeeper) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupAddGateKeeper) PostExecute ¶
func (c *GroupAddGateKeeper) PostExecute(repl models.ReplicationData) (err error)
func (*GroupAddGateKeeper) Replicate ¶
func (c *GroupAddGateKeeper) Replicate(repl models.ReplicationData) (err error)
type GroupAddMember ¶
type GroupAddMember struct{}
GroupAddMember describes the command
func (*GroupAddMember) Checks ¶
func (c *GroupAddMember) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*GroupAddMember) Execute ¶
func (c *GroupAddMember) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupAddMember) PostExecute ¶
func (c *GroupAddMember) PostExecute(repl models.ReplicationData) (err error)
func (*GroupAddMember) Replicate ¶
func (c *GroupAddMember) Replicate(repl models.ReplicationData) (err error)
type GroupAddOwner ¶
type GroupAddOwner struct{}
GroupAddOwner describes the command
func (*GroupAddOwner) Checks ¶
func (c *GroupAddOwner) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*GroupAddOwner) Execute ¶
func (c *GroupAddOwner) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupAddOwner) PostExecute ¶
func (c *GroupAddOwner) PostExecute(repl models.ReplicationData) (err error)
func (*GroupAddOwner) Replicate ¶
func (c *GroupAddOwner) Replicate(repl models.ReplicationData) (err error)
type GroupDelACLKeeper ¶
type GroupDelACLKeeper struct{}
GroupDelACLKeeper describes the command
func (*GroupDelACLKeeper) Checks ¶
func (c *GroupDelACLKeeper) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*GroupDelACLKeeper) Execute ¶
func (c *GroupDelACLKeeper) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupDelACLKeeper) PostExecute ¶
func (c *GroupDelACLKeeper) PostExecute(repl models.ReplicationData) (err error)
func (*GroupDelACLKeeper) Replicate ¶
func (c *GroupDelACLKeeper) Replicate(repl models.ReplicationData) (err error)
type GroupDelAccess ¶
type GroupDelAccess struct{}
GroupDelAccess describes the help command
func (*GroupDelAccess) Checks ¶
func (c *GroupDelAccess) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*GroupDelAccess) Execute ¶
func (c *GroupDelAccess) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupDelAccess) PostExecute ¶
func (c *GroupDelAccess) PostExecute(repl models.ReplicationData) (err error)
func (*GroupDelAccess) Replicate ¶
func (c *GroupDelAccess) Replicate(repl models.ReplicationData) (err error)
type GroupDelGateKeeper ¶
type GroupDelGateKeeper struct{}
GroupDelGateKeeper describes the command
func (*GroupDelGateKeeper) Checks ¶
func (c *GroupDelGateKeeper) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*GroupDelGateKeeper) Execute ¶
func (c *GroupDelGateKeeper) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupDelGateKeeper) PostExecute ¶
func (c *GroupDelGateKeeper) PostExecute(repl models.ReplicationData) (err error)
func (*GroupDelGateKeeper) Replicate ¶
func (c *GroupDelGateKeeper) Replicate(repl models.ReplicationData) (err error)
type GroupDelMember ¶
type GroupDelMember struct{}
GroupDelMember describes the command
func (*GroupDelMember) Checks ¶
func (c *GroupDelMember) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*GroupDelMember) Execute ¶
func (c *GroupDelMember) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupDelMember) PostExecute ¶
func (c *GroupDelMember) PostExecute(repl models.ReplicationData) (err error)
func (*GroupDelMember) Replicate ¶
func (c *GroupDelMember) Replicate(repl models.ReplicationData) (err error)
type GroupDelOwner ¶
type GroupDelOwner struct{}
GroupDelOwner describes the command
func (*GroupDelOwner) Checks ¶
func (c *GroupDelOwner) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*GroupDelOwner) Execute ¶
func (c *GroupDelOwner) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupDelOwner) PostExecute ¶
func (c *GroupDelOwner) PostExecute(repl models.ReplicationData) (err error)
func (*GroupDelOwner) Replicate ¶
func (c *GroupDelOwner) Replicate(repl models.ReplicationData) (err error)
type GroupGenerateEgressKey ¶
type GroupGenerateEgressKey struct { }
GroupGenerateEgressKey describes the command
func (*GroupGenerateEgressKey) Checks ¶
func (c *GroupGenerateEgressKey) Checks(ct *commands.Context) (err error)
Checks checks whether or not the user can execute this method
func (*GroupGenerateEgressKey) Execute ¶
func (c *GroupGenerateEgressKey) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupGenerateEgressKey) PostExecute ¶
func (c *GroupGenerateEgressKey) PostExecute(repl models.ReplicationData) (err error)
func (*GroupGenerateEgressKey) Replicate ¶
func (c *GroupGenerateEgressKey) Replicate(repl models.ReplicationData) (err error)
type GroupInfo ¶
type GroupInfo struct{}
GroupInfo describes the help command
func (*GroupInfo) Execute ¶
func (c *GroupInfo) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupInfo) PostExecute ¶
func (c *GroupInfo) PostExecute(repl models.ReplicationData) (err error)
type GroupList ¶
type GroupList struct{}
GroupList describes the help command
func (*GroupList) Execute ¶
func (c *GroupList) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupList) PostExecute ¶
func (c *GroupList) PostExecute(repl models.ReplicationData) (err error)
type GroupListAccesses ¶
type GroupListAccesses struct{}
GroupListAccesses describes the help command
func (*GroupListAccesses) Checks ¶
func (c *GroupListAccesses) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*GroupListAccesses) Execute ¶
func (c *GroupListAccesses) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*GroupListAccesses) PostExecute ¶
func (c *GroupListAccesses) PostExecute(repl models.ReplicationData) (err error)
func (*GroupListAccesses) Replicate ¶
func (c *GroupListAccesses) Replicate(repl models.ReplicationData) (err error)
type Help ¶
type Help struct { }
Help describes the help command
func (*Help) Execute ¶
func (c *Help) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*Help) PostExecute ¶
func (c *Help) PostExecute(repl models.ReplicationData) (err error)
type Info ¶
type Info struct { }
Info describes the info command
func (*Info) Execute ¶
func (c *Info) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*Info) PostExecute ¶
func (c *Info) PostExecute(repl models.ReplicationData) (err error)
type Interactive ¶
Interactive describes the interactive command
func (*Interactive) Checks ¶
func (c *Interactive) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*Interactive) Execute ¶
func (c *Interactive) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*Interactive) PostExecute ¶
func (c *Interactive) PostExecute(repl models.ReplicationData) (err error)
func (*Interactive) Replicate ¶
func (c *Interactive) Replicate(repl models.ReplicationData) (err error)
type Restore ¶
type Restore struct{}
func (*Restore) PostExecute ¶
func (c *Restore) PostExecute(repl models.ReplicationData) (err error)
type Scp ¶
type Scp struct{}
Scp describes the help command
func (*Scp) Execute ¶
func (c *Scp) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*Scp) PostExecute ¶
func (c *Scp) PostExecute(repl models.ReplicationData) (err error)
type SelfAddAccess ¶
type SelfAddAccess struct{}
SelfAddAccess describes the help command
func (*SelfAddAccess) Checks ¶
func (c *SelfAddAccess) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfAddAccess) Execute ¶
func (c *SelfAddAccess) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfAddAccess) PostExecute ¶
func (c *SelfAddAccess) PostExecute(repl models.ReplicationData) (err error)
func (*SelfAddAccess) Replicate ¶
func (c *SelfAddAccess) Replicate(repl models.ReplicationData) (err error)
type SelfAddIngressKey ¶
type SelfAddIngressKey struct{}
SelfAddIngressKey describes the selfAddIngresKey command
func (*SelfAddIngressKey) Checks ¶
func (c *SelfAddIngressKey) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfAddIngressKey) Execute ¶
func (c *SelfAddIngressKey) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfAddIngressKey) PostExecute ¶
func (c *SelfAddIngressKey) PostExecute(repl models.ReplicationData) (err error)
func (*SelfAddIngressKey) Replicate ¶
func (c *SelfAddIngressKey) Replicate(repl models.ReplicationData) (err error)
type SelfDelAccess ¶
type SelfDelAccess struct{}
SelfDelAccess describes the help command
func (*SelfDelAccess) Checks ¶
func (c *SelfDelAccess) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfDelAccess) Execute ¶
func (c *SelfDelAccess) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfDelAccess) PostExecute ¶
func (c *SelfDelAccess) PostExecute(repl models.ReplicationData) (err error)
func (*SelfDelAccess) Replicate ¶
func (c *SelfDelAccess) Replicate(repl models.ReplicationData) (err error)
type SelfDelIngressKey ¶
type SelfDelIngressKey struct{}
SelfDelIngressKey describes the selfDelIngresKey command
func (*SelfDelIngressKey) Checks ¶
func (c *SelfDelIngressKey) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfDelIngressKey) Execute ¶
func (c *SelfDelIngressKey) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfDelIngressKey) PostExecute ¶
func (c *SelfDelIngressKey) PostExecute(repl models.ReplicationData) (err error)
func (*SelfDelIngressKey) Replicate ¶
func (c *SelfDelIngressKey) Replicate(repl models.ReplicationData) (err error)
type SelfDisableTOTP ¶
type SelfDisableTOTP struct{}
SelfDisableTOTP describes the selfDisableTOTP command
func (*SelfDisableTOTP) Checks ¶
func (c *SelfDisableTOTP) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfDisableTOTP) Execute ¶
func (c *SelfDisableTOTP) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfDisableTOTP) PostExecute ¶
func (c *SelfDisableTOTP) PostExecute(repl models.ReplicationData) (err error)
func (*SelfDisableTOTP) Replicate ¶
func (c *SelfDisableTOTP) Replicate(repl models.ReplicationData) (err error)
type SelfEnableTOTP ¶
type SelfEnableTOTP struct{}
SelfEnableTOTP describes the SelfEnableTOTP command
func (*SelfEnableTOTP) Checks ¶
func (c *SelfEnableTOTP) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfEnableTOTP) Execute ¶
func (c *SelfEnableTOTP) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfEnableTOTP) PostExecute ¶
func (c *SelfEnableTOTP) PostExecute(repl models.ReplicationData) (err error)
func (*SelfEnableTOTP) Replicate ¶
func (c *SelfEnableTOTP) Replicate(repl models.ReplicationData) (err error)
type SelfForgetHostkey ¶
type SelfForgetHostkey struct{}
SelfForgetHostkey describes the SelfForgetHostkey command
func (*SelfForgetHostkey) Checks ¶
func (c *SelfForgetHostkey) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfForgetHostkey) Execute ¶
func (c *SelfForgetHostkey) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfForgetHostkey) PostExecute ¶
func (c *SelfForgetHostkey) PostExecute(repl models.ReplicationData) (err error)
func (*SelfForgetHostkey) Replicate ¶
func (c *SelfForgetHostkey) Replicate(repl models.ReplicationData) (err error)
type SelfGenerateEgressKey ¶
type SelfGenerateEgressKey struct{}
SelfGenerateEgressKey describes the listAselfGenerateEgressKeyccesses command
func (*SelfGenerateEgressKey) Checks ¶
func (c *SelfGenerateEgressKey) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfGenerateEgressKey) Execute ¶
func (c *SelfGenerateEgressKey) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfGenerateEgressKey) PostExecute ¶
func (c *SelfGenerateEgressKey) PostExecute(repl models.ReplicationData) (err error)
func (*SelfGenerateEgressKey) Replicate ¶
func (c *SelfGenerateEgressKey) Replicate(repl models.ReplicationData) (err error)
type SelfGenerateTOTPCodes ¶
type SelfGenerateTOTPCodes struct{}
SelfGenerateTOTPCodes describes the SelfGenerateTOTPCodes command
func (*SelfGenerateTOTPCodes) Checks ¶
func (c *SelfGenerateTOTPCodes) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfGenerateTOTPCodes) Execute ¶
func (c *SelfGenerateTOTPCodes) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfGenerateTOTPCodes) PostExecute ¶
func (c *SelfGenerateTOTPCodes) PostExecute(repl models.ReplicationData) (err error)
func (*SelfGenerateTOTPCodes) Replicate ¶
func (c *SelfGenerateTOTPCodes) Replicate(repl models.ReplicationData) (err error)
type SelfGetSessionAsGif ¶
type SelfGetSessionAsGif struct{}
SelfGetSessionAsGif describes the selfListAccesses command
func (*SelfGetSessionAsGif) Checks ¶
func (c *SelfGetSessionAsGif) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfGetSessionAsGif) Execute ¶
func (c *SelfGetSessionAsGif) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfGetSessionAsGif) PostExecute ¶
func (c *SelfGetSessionAsGif) PostExecute(repl models.ReplicationData) (err error)
func (*SelfGetSessionAsGif) Replicate ¶
func (c *SelfGetSessionAsGif) Replicate(repl models.ReplicationData) (err error)
type SelfListAccesses ¶
type SelfListAccesses struct{}
SelfListAccesses describes the selfListAccesses command
func (*SelfListAccesses) Checks ¶
func (c *SelfListAccesses) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfListAccesses) Execute ¶
func (c *SelfListAccesses) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfListAccesses) PostExecute ¶
func (c *SelfListAccesses) PostExecute(repl models.ReplicationData) (err error)
func (*SelfListAccesses) Replicate ¶
func (c *SelfListAccesses) Replicate(repl models.ReplicationData) (err error)
type SelfListEgressKeys ¶
type SelfListEgressKeys struct{}
SelfListEgressKeys describes the selfListEgressKeys command
func (*SelfListEgressKeys) Checks ¶
func (c *SelfListEgressKeys) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfListEgressKeys) Execute ¶
func (c *SelfListEgressKeys) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfListEgressKeys) PostExecute ¶
func (c *SelfListEgressKeys) PostExecute(repl models.ReplicationData) (err error)
func (*SelfListEgressKeys) Replicate ¶
func (c *SelfListEgressKeys) Replicate(repl models.ReplicationData) (err error)
type SelfListIngressKeys ¶
type SelfListIngressKeys struct{}
SelfListIngressKeys describes the selfListIngressKeys command
func (*SelfListIngressKeys) Checks ¶
func (c *SelfListIngressKeys) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfListIngressKeys) Execute ¶
func (c *SelfListIngressKeys) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfListIngressKeys) PostExecute ¶
func (c *SelfListIngressKeys) PostExecute(repl models.ReplicationData) (err error)
func (*SelfListIngressKeys) Replicate ¶
func (c *SelfListIngressKeys) Replicate(repl models.ReplicationData) (err error)
type SelfListSessions ¶
type SelfListSessions struct{}
SelfListSessions describes the selfListAccesses command
func (*SelfListSessions) Checks ¶
func (c *SelfListSessions) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfListSessions) Execute ¶
func (c *SelfListSessions) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfListSessions) PostExecute ¶
func (c *SelfListSessions) PostExecute(repl models.ReplicationData) (err error)
func (*SelfListSessions) Replicate ¶
func (c *SelfListSessions) Replicate(repl models.ReplicationData) (err error)
type SelfPlaySession ¶
type SelfPlaySession struct{}
SelfPlaySession describes the selfListAccesses command
func (*SelfPlaySession) Checks ¶
func (c *SelfPlaySession) Checks(ct *commands.Context) error
Checks checks whether or not the user can execute this method
func (*SelfPlaySession) Execute ¶
func (c *SelfPlaySession) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*SelfPlaySession) PostExecute ¶
func (c *SelfPlaySession) PostExecute(repl models.ReplicationData) (err error)
func (*SelfPlaySession) Replicate ¶
func (c *SelfPlaySession) Replicate(repl models.ReplicationData) (err error)
type Setup ¶
type Setup struct{}
Setup describes the help command
func (*Setup) Execute ¶
func (c *Setup) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*Setup) PostExecute ¶
func (c *Setup) PostExecute(repl models.ReplicationData) (err error)
type Ttyrec ¶
type Ttyrec struct{}
Ttyrec describes the ttyrec command
func (*Ttyrec) Execute ¶
func (c *Ttyrec) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)
Execute executes the command
func (*Ttyrec) PostExecute ¶
func (c *Ttyrec) PostExecute(repl models.ReplicationData) (err error)
Source Files ¶
- backup.go
- createAccount.go
- createGroup.go
- daemon.go
- delAccount.go
- delGroup.go
- groupAddACLKeeper.go
- groupAddAccess.go
- groupAddGateKeeper.go
- groupAddMember.go
- groupAddOwner.go
- groupDelACLKeeper.go
- groupDelAccess.go
- groupDelGateKeeper.go
- groupDelMember.go
- groupDelOwner.go
- groupGenerateEgressKey.go
- groupInfo.go
- groupList.go
- groupListAccesses.go
- help.go
- info.go
- interactive.go
- restore.go
- root.go
- scp.go
- selfAddAccess.go
- selfAddIngressKey.go
- selfDelAccess.go
- selfDelIngressKey.go
- selfDisableTOTP.go
- selfEnableTOTP.go
- selfForgetHostkey.go
- selfGenerateEgressKey.go
- selfGenerateTOTPCodes.go
- selfGetSessionAsGif.go
- selfListAccesses.go
- selfListEgressKeys.go
- selfListIngressKeys.go
- selfListSessions.go
- selfPlaySession.go
- setup.go
- ttyrec.go