cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Checks

func (c *Backup) Checks(ct *commands.Context) (err error)

func (*Backup) Execute

func (c *Backup) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)

func (*Backup) PostExecute

func (c *Backup) PostExecute(repl models.ReplicationData) (err error)

func (*Backup) Replicate

func (c *Backup) Replicate(repl models.ReplicationData) (err error)

type CreateAccount

type CreateAccount struct {
	PK *helpers.PublicKey
}

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) Checks

func (c *Daemon) Checks(ct *commands.Context) error

Checks checks whether or not the user can execute this method

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)

func (*Daemon) Replicate

func (c *Daemon) Replicate(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) Checks

func (c *DelGroup) Checks(ct *commands.Context) error

Checks checks whether or not the user can execute this method

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)

func (*DelGroup) Replicate

func (c *DelGroup) Replicate(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) Checks

func (c *GroupInfo) Checks(ct *commands.Context) error

Checks checks whether or not the user can execute this method

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)

func (*GroupInfo) Replicate

func (c *GroupInfo) Replicate(repl models.ReplicationData) (err error)

type GroupList

type GroupList struct{}

GroupList describes the help command

func (*GroupList) Checks

func (c *GroupList) Checks(ct *commands.Context) error

Checks checks whether or not the user can execute this method

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)

func (*GroupList) Replicate

func (c *GroupList) Replicate(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) Checks

func (c *Help) Checks(ct *commands.Context) error

Checks checks whether or not the user can execute this method

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)

func (*Help) Replicate

func (c *Help) Replicate(repl models.ReplicationData) (err error)

type Info

type Info struct {
}

Info describes the info command

func (*Info) Checks

func (c *Info) Checks(ct *commands.Context) error

Checks checks whether or not the user can execute this method

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)

func (*Info) Replicate

func (c *Info) Replicate(repl models.ReplicationData) (err error)

type Interactive

type Interactive struct {
	Context *commands.Context
}

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) Checks

func (c *Restore) Checks(ct *commands.Context) (err error)

func (*Restore) Execute

func (c *Restore) Execute(ct *commands.Context) (repl models.ReplicationData, cmdError error, err error)

func (*Restore) PostExecute

func (c *Restore) PostExecute(repl models.ReplicationData) (err error)

func (*Restore) Replicate

func (c *Restore) Replicate(repl models.ReplicationData) (err error)

type Scp

type Scp struct{}

Scp describes the help command

func (*Scp) Checks

func (c *Scp) Checks(ct *commands.Context) error

Checks checks whether or not the user can execute this method

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)

func (*Scp) Replicate

func (c *Scp) Replicate(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

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

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) Checks

func (c *Setup) Checks(ct *commands.Context) error

Checks checks whether or not the user can execute this method

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)

func (*Setup) Replicate

func (c *Setup) Replicate(repl models.ReplicationData) (err error)

type Ttyrec

type Ttyrec struct{}

Ttyrec describes the ttyrec command

func (*Ttyrec) Checks

func (c *Ttyrec) Checks(ct *commands.Context) error

Checks checks whether or not the user can execute this method

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)

func (*Ttyrec) Replicate

func (c *Ttyrec) Replicate(repl models.ReplicationData) (err error)

Jump to

Keyboard shortcuts

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