Documentation ¶
Index ¶
- Variables
- func ActionVM(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func Add(name string, command Command)
- func AppendAttachment(command string, attachment string) (content string)
- func ApplySecgroups(ctx context.Context, instance *model.Instance) (err error)
- func AttachVolume(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func ClearRouter(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func ClearVM(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func CreateImage(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func CreateNet(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func CreatePortmap(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func CreateRouter(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func CreateVolume(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func DecodeCommand(content string) (cmd string, args []string)
- func DetachVolume(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func EnableVncPortmap(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func EncodeCommand(name string, args ...interface{}) (command string)
- func GetHyperService() hypers.HyperServiceServer
- func GetJobService() *jobService
- func GetRemoteExecService() scripts.RemoteExecServer
- func HyperExecute(ctx context.Context, control, command string) (err error)
- func HyperStatus(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func InstanceStatus(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func JobServiceClient(endpoint string) jobs.JobServiceClient
- func LaunchVM(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func RemoteExecClient() scripts.RemoteExecClient
- func ReplaceVncPasswd(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func ReportRC(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func RouterStatus(ctx context.Context, job *model.Job, args []string) (status string, err error)
- func Run() (err error)
- func VlanStatus(ctx context.Context, job *model.Job, args []string) (status string, err error)
- type Command
- type FdbRule
- type SecurityData
Constants ¶
This section is empty.
Variables ¶
View Source
var (
JobService *jobService
)
Functions ¶
func AppendAttachment ¶
func ApplySecgroups ¶
func AttachVolume ¶
func ClearRouter ¶
func CreateImage ¶
func CreatePortmap ¶
func CreateRouter ¶
func CreateVolume ¶
func DecodeCommand ¶
func DetachVolume ¶
func EnableVncPortmap ¶
func EncodeCommand ¶
func GetHyperService ¶
func GetHyperService() hypers.HyperServiceServer
func GetJobService ¶
func GetJobService() *jobService
func GetRemoteExecService ¶
func GetRemoteExecService() scripts.RemoteExecServer
func HyperStatus ¶
func InstanceStatus ¶
func JobServiceClient ¶
func JobServiceClient(endpoint string) jobs.JobServiceClient
func RemoteExecClient ¶
func RemoteExecClient() scripts.RemoteExecClient
func ReplaceVncPasswd ¶
func RouterStatus ¶
Types ¶
type SecurityData ¶
Source Files ¶
- action_vm.go
- attach_volume.go
- clear_router.go
- clear_vm.go
- clients.go
- commands.go
- create_image.go
- create_net.go
- create_portmap.go
- create_router.go
- create_volume.go
- detach_volume.go
- enable_vnc_portmap.go
- frontback.go
- grpcs.go
- hyper_status.go
- hypers.go
- inst_status.go
- jobs.go
- launch_vm.go
- replace_vnc_passwd.go
- report_rc.go
- router_status.go
- vlan_status.go
Click to show internal directories.
Click to hide internal directories.