Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBaremetalServer ¶
type IBaremetalServer interface { GetName() string GetId() string RemoveDesc() DoDiskUnconfig(term *ssh.Client) error DoDiskConfig(term *ssh.Client) (*disktool.SSHPartitionTool, error) DoEraseDisk(term *ssh.Client) error DoPartitionDisk(tool *disktool.SSHPartitionTool, term *ssh.Client, disableImageCache bool) ([]*disktool.Partition, error) NewConfigedSSHPartitionTool(term *ssh.Client) (*disktool.SSHPartitionTool, error) DoRebuildRootDisk(tool *disktool.SSHPartitionTool, term *ssh.Client, disableImageCache bool) ([]*disktool.Partition, error) SyncPartitionSize(term *ssh.Client, parts []*disktool.Partition) ([]jsonutils.JSONObject, error) DoDeploy(tool *disktool.SSHPartitionTool, term *ssh.Client, data jsonutils.JSONObject, isInit bool) (jsonutils.JSONObject, error) SaveDesc(desc jsonutils.JSONObject) error GetNics() []types.SServerNic GetNicByMac(mac net.HardwareAddr) *types.SNic GetRootTemplateId() string }
Click to show internal directories.
Click to hide internal directories.