MCPcopy Create free account

hub / github.com/OnitiFR/mulch / functions

Functions644 in github.com/OnitiFR/mulch

↓ 2 callersFunctionvmFindBackupDisk
(dom *libvirt.Domain)
cmd/mulchd/server/vm.go:1133
↓ 2 callersFunctionvmGenDiskName
small helper to generate main disk name
cmd/mulchd/server/vm.go:201
↓ 2 callersFunctionwatchProxy
(url string, log *Log)
cmd/mulch-proxy/watchdog.go:81
↓ 2 callersFunctionwritePprofProfile
(profile string, filename string)
cmd/mulchd/server/app.go:467
↓ 1 callersFunctionActivateVM
ActivateVM activate (or deactivate) a VM (deals with failure and success by itself)
cmd/mulchd/controllers/vm.go:920
↓ 1 callersMethodAddNewRight
AddNewRight parse + add the right to the key WARNING: you may have to save the APIKeyDatabase to the disk! (see APIRight.String() form informations ab
cmd/mulchd/server/api_keys.go:467
↓ 1 callersMethodAddRequest
AddRequest to the RequestList
cmd/mulch-proxy/request_list.go:36
↓ 1 callersFunctionAddRoutes
AddRoutes defines all API routes for the application
cmd/mulchd/routes.go:9
↓ 1 callersMethodAddToGreenhouse
AddToGreenhouse a new VM in the greenhouse database
cmd/mulchd/server/vm_database.go:421
↓ 1 callersMethodAddTransientDHCPHost
AddTransientDHCPHost will add a new transient DHCP static host You'll then need to remove this transient host on VM creation success/failure
cmd/mulchd/server/libvirt_dhcp.go:27
↓ 1 callersMethodAllowSSHFingerprint
AllowSSHFingerprint allows a fingertprint to be forwarded to a VM
cmd/mulchd/server/api_keys.go:314
↓ 1 callersMethodAsURLValue
AsURLValue generate a url.Values version of an AsyncCallback so it can be easily POSTed
common/async_callback.go:20
↓ 1 callersFunctionAutoRebuildSchedule
AutoRebuildSchedule will schedule auto-rebuilds
cmd/mulchd/server/auto_rebuild.go:9
↓ 1 callersMethodBackupCompress
BackupCompress will TRY to compress backup
cmd/mulchd/server/libvirt.go:522
↓ 1 callersFunctionBackupVM
BackupVM launch the backup process
cmd/mulchd/controllers/vm.go:943
↓ 1 callersMethodBroadcast
Broadcast send a message to all clients of the Hub (if the target matches)
cmd/mulchd/server/hub.go:72
↓ 1 callersMethodBroadcast
Broadcast a PhoneCall to all clients
cmd/mulchd/server/phone_home.go:64
↓ 1 callersMethodBroadcastPhoneCall
BroadcastPhoneCall broadcasts a PhoneCall using its details
cmd/mulchd/server/phone_home.go:69
↓ 1 callersFunctionCheckDomainsConflictsOnParent
CheckDomainsConflictsOnParent will contact proxy-chain parent and ask if any domain is conflicting with another child mulchd
cmd/mulchd/server/domains.go:58
↓ 1 callersMethodClose
Close is a no-op method
common/fake_closer.go:12
↓ 1 callersMethodCloseConnection
CloseConnection close connection to libvirt
cmd/mulchd/server/libvirt.go:100
↓ 1 callersFunctionCloudInitDataGen
CloudInitDataGen will return CloudInit meta-data and user-data
cmd/mulchd/server/cloudinit.go:31
↓ 1 callersMethodConnect
Connect will dial SSH server and open a session
cmd/mulchd/server/ssh.go:70
↓ 1 callersMethodCopy
Copy do the actual download
cmd/mulchd/volumes/volume_download.go:52
↓ 1 callersMethodCopy
Copy do the actual transfert
cmd/mulchd/volumes/volume_transfer.go:55
↓ 1 callersFunctionCopyStreamFlush
CopyStreamFlush
cmd/mulchd/server/tools.go:94
↓ 1 callersMethodCount
Count returns the number of Domains in the database
cmd/mulch-proxy/domain_database.go:124
↓ 1 callersMethodCreateDiskFromSeed
CreateDiskFromSeed creates a disk (into "disks" pool) from seed image (from "seeds" pool)
cmd/mulchd/server/libvirt.go:338
↓ 1 callersMethodDeleteFromGreenhouse
DeleteFromGreenhouse the VM from the greenhouse database using its name
cmd/mulchd/server/vm_database.go:406
↓ 1 callersMethodDeleteRequest
DeleteRequest from the RequestList
cmd/mulch-proxy/request_list.go:52
↓ 1 callersMethodDisplay
Display global ExitMessage
cmd/mulch/client/exit_message.go:32
↓ 1 callersFunctionDoActionVM
DoActionVM will execute a "do action" in the VM
cmd/mulchd/controllers/vm.go:564
↓ 1 callersFunctionExecScriptVM
ExecScriptVM will execute a script inside the VM
cmd/mulchd/controllers/vm.go:515
↓ 1 callersFunctionExecute
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the r
cmd/mulch/topics/root.go:33
↓ 1 callersMethodExpire
Expire defines the expiration date of a Backup (0 means no expiration)
cmd/mulchd/server/backup_database.go:203
↓ 1 callersFunctionFileContains
FileContains returns true if file contain text
common/tools.go:115
↓ 1 callersMethodFinishRequest
RemoveRequest will free a request slot
cmd/mulch-proxy/rate_controller.go:148
↓ 1 callersMethodForwardRequestsToClient
ForwardRequestsToClient forwards server ("outside") global requests to the client ("VM")
cmd/mulchd/server/ssh_proxy.go:34
↓ 1 callersMethodGetByName
GetByName lookups a VM by its name
cmd/mulchd/server/vm_database.go:480
↓ 1 callersMethodGetByNameID
GetByNameID lookups a VM by its name-id (low-level, should not use)
cmd/mulchd/server/vm_database.go:489
↓ 1 callersMethodGetByPubKey
GetByPubKey returns an API key by its (marshaled) public key Returns nil and no error when key was not found
cmd/mulchd/server/api_keys.go:282
↓ 1 callersMethodGetChildren
GetChildren returns the list of children-proxies URLs This function is only useful for a parent proxy, of course (empty list otherwise)
cmd/mulch-proxy/domain_database.go:193
↓ 1 callersMethodGetConflictingDomains
GetConflictingDomains returns a list of conflicting domains in the provided list, excluding those from a specific child
cmd/mulch-proxy/domain_database.go:163
↓ 1 callersFunctionGetConsoleStream
(vmName *VMName, app *App)
cmd/mulchd/server/consoles.go:9
↓ 1 callersMethodGetDomainNames
GetDomainNames returns a list of domain names from the ProxyChainDomains
common/proxy_chain_domains.go:32
↓ 1 callersMethodGetDomainsNames
GetDomainsNames return all domain names in the database
cmd/mulch-proxy/domain_database.go:88
↓ 1 callersMethodGetEntry
GetEntry will return the RateControllerEntry for a given IP
cmd/mulch-proxy/rate_controller.go:60
↓ 1 callersMethodGetEntryByVM
GetEntryByVM lookups a VM entry by it's VM pointer
cmd/mulchd/server/vm_database.go:640
↓ 1 callersMethodGetEnvMap
(vmName *VMName)
cmd/mulchd/server/vm.go:125
↓ 1 callersMethodGetGreenhouseNames
GetGreenhouseNames return all VMs in the greenhouse database
cmd/mulchd/server/vm_database.go:456
↓ 1 callersMethodGetNames
GetNames of all VMs in the database
cmd/mulchd/server/vm_database.go:444
↓ 1 callersMethodGetNextRevisionForName
GetNextRevisionForName returns the next revision for a VM name
cmd/mulchd/server/vm_database.go:601
↓ 1 callersMethodGetOrCreateNWFilter
GetOrCreateNWFilter create (if necessary) and return a libvirt network filter
cmd/mulchd/server/libvirt.go:249
↓ 1 callersMethodGetOrCreateNetwork
GetOrCreateNetwork retreives (and create, if necessary) a libvirt network
cmd/mulchd/server/libvirt.go:194
↓ 1 callersMethodGetPeersVMsUsingSecret
GetPeersVMsUsingSecret returns a list of VMs that use a given secret on all our peers.
cmd/mulchd/server/secret_database.go:577
↓ 1 callersMethodGetProxyChainDomains
GetProxyChainDomains returns all domains as a ProxyChainDomain array
cmd/mulch-proxy/domain_database.go:100
↓ 1 callersMethodGetSecretsUsage
GetSecretsUsage returns a list of secrets and the number of VMs using them
cmd/mulchd/server/secret_database.go:636
↓ 1 callersMethodGetStats
GetStats returns statistics about the secrets
cmd/mulchd/server/secret_database.go:713
↓ 1 callersFunctionGetTerminalSize
()
common/tools.go:135
↓ 1 callersFunctionIPIntToString
IPIntToString convert an uint32 IPv4 to a string
cmd/mulchd/server/network.go:20
↓ 1 callersFunctionInitCertCache
InitCertCache will check mode of the given certificate storage path and create it if necessary
cmd/mulch-proxy/certs.go:14
↓ 1 callersFunctionInitExitMessage
InitExitMessage resets global ExitMessage
cmd/mulch/client/exit_message.go:14
↓ 1 callersFunctionInstallWatchdog
InstallWatchdog will check HTTP2 links to our children (as a parent proxy) and to ourself (we may increase frequency later)
cmd/mulch-proxy/watchdog.go:170
↓ 1 callersMethodIsAPIKeyAllowed
IsAPIKeyAllowed will return true if the APIKey is allowed to do this request
cmd/mulchd/server/request.go:64
↓ 1 callersMethodIsAllowed
IsAllowed will check if a request is allowed for this entry returns (allowed, need_finish, reason)
cmd/mulch-proxy/rate_controller.go:111
↓ 1 callersMethodIsReloadNeeded
IsReloadNeeded returns true if the configuration file or any certificate has been modified
cmd/mulch-proxy/extra_certs.go:155
↓ 1 callersMethodIsTrustedFingerprint
IsTrustedFingerprint returns true if the fingerprint allowed to be forwarded to a VM
cmd/mulchd/server/api_keys.go:398
↓ 1 callersMethodIsVIP
IsVIP will check if an IP is in the VIP list
cmd/mulch-proxy/rate_controller.go:87
↓ 1 callersFunctionIsValidGroupName
IsValidGroupName returns true if group is a valid group name (@ + isValidName)
cmd/mulchd/server/tools.go:22
↓ 1 callersMethodIsValidKey
IsValidKey return true if the key exists in the database (and returns the key as the second return value)
cmd/mulchd/server/api_keys.go:165
↓ 1 callersMethodListEntries
()
cmd/mulchd/server/api_keys.go:204
↓ 1 callersFunctionListenAndServeProxy
ListenAndServeProxy of our own SSH server
cmd/mulchd/server/ssh_proxy.go:328
↓ 1 callersMethodLoad
Load the port database if the file does not exists, it's not an error (database will then be empty)
cmd/mulch-proxy/port_database.go:35
↓ 1 callersFunctionMigrateVM
MigrateVM will migrate VM to a destination server ("peer")
cmd/mulchd/controllers/vm.go:1076
↓ 1 callersFunctionNewAPI
NewAPI create a new API instance
cmd/mulch/client/apicall.go:50
↓ 1 callersFunctionNewAPIKeyDatabase
NewAPIKeyDatabase creates a new API key database
cmd/mulchd/server/api_keys.go:56
↓ 1 callersFunctionNewAPIServer
NewAPIServer creates and runs the API server
cmd/mulch-proxy/api_server.go:68
↓ 1 callersFunctionNewAlertSender
NewAlertSender creates a new AlertSender
cmd/mulchd/server/alert.go:56
↓ 1 callersFunctionNewApp
NewApp creates a new application
cmd/mulchd/server/app.go:68
↓ 1 callersFunctionNewApp
NewApp creates a new application
cmd/mulch-proxy/app.go:40
↓ 1 callersFunctionNewAppConfigFromTomlFile
NewAppConfigFromTomlFile return a AppConfig using mulchd.toml config file in the given configPath
cmd/mulchd/server/app_config.go:168
↓ 1 callersFunctionNewAppConfigFromTomlFile
NewAppConfigFromTomlFile return a AppConfig using mulchd.toml config file in the given configPath
cmd/mulch-proxy/app_config.go:104
↓ 1 callersFunctionNewBackupDatabase
NewBackupDatabase instanciates a new BackupDatabase
cmd/mulchd/server/backup_database.go:21
↓ 1 callersFunctionNewDomainDatabase
NewDomainDatabase instanciates a new DomainDatabase Set autoCreate to true if you want to create an empty db when no existing file is found. needed fo
cmd/mulch-proxy/domain_database.go:24
↓ 1 callersFunctionNewExtraCertsDB
NewExtraCertsDB creates and load a new ExtraCertsDB
cmd/mulch-proxy/extra_certs.go:45
↓ 1 callersFunctionNewHub
NewHub creates a new Hub
cmd/mulchd/server/hub.go:27
↓ 1 callersFunctionNewLibvirt
NewLibvirt create a new Libvirt instance
cmd/mulchd/server/libvirt.go:41
↓ 1 callersFunctionNewLibvirtDHCPLeases
NewLibvirtDHCPLeases returns a new LibvirtDHCPLeases instance
cmd/mulchd/server/libvirt_dhcp.go:19
↓ 1 callersFunctionNewLogHistory
NewLogHistory will create and initialize a new log message history
cmd/mulchd/server/log_history.go:29
↓ 1 callersFunctionNewOperationList
NewOperationList instanciates a new OperationList
cmd/mulchd/server/operations.go:32
↓ 1 callersFunctionNewOrigins
NewOrigins creates a new Origin list
cmd/mulchd/server/origin.go:51
↓ 1 callersFunctionNewPhoneHomeHub
NewPhoneHomeHub creates a new PhoneHomeHub
cmd/mulchd/server/phone_home.go:28
↓ 1 callersFunctionNewPortDatabase
NewPortDatabase will create a new database instance
cmd/mulch-proxy/port_database.go:20
↓ 1 callersFunctionNewPortForward
NewPortForward will connect to remote host and forward connection
cmd/mulch-proxy/port_forward.go:20
↓ 1 callersFunctionNewPortListener
NewPortListener will listen on port and forward clients
cmd/mulch-proxy/port_listener.go:27
↓ 1 callersFunctionNewPortServer
NewPortServer will create and return a new server
cmd/mulch-proxy/port_server.go:14
↓ 1 callersFunctionNewProxyChainDomain
NewProxyChainDomain creates a new ProxyChainDomain
common/proxy_chain_domains.go:24
↓ 1 callersFunctionNewProxyReloader
NewProxyReloader creates a new ProxyReloader instance
cmd/mulchd/server/proxy_reload.go:18
↓ 1 callersFunctionNewProxyServer
NewProxyServer instanciates a new ProxyServer
cmd/mulch-proxy/proxy.go:128
↓ 1 callersFunctionNewRateController
NewRateController will create and return a new controller
cmd/mulch-proxy/rate_controller.go:48
← previousnext →201–300 of 644, ranked by callers