Package dev.galasa.linux
Interface ILinuxImage
- All Known Subinterfaces:
ILinuxProvisionedImage
public interface ILinuxImage
Represents a Linux Image .
Use a LinuxImage
annotation to populate this field with
-
Method Summary
Modifier and TypeMethodDescription@NotNull Path
@NotNull ICommandShell
@NotNull ICredentials
Retrieve the default credentials for the Image.@NotNull Path
getHome()
@NotNull String
Get the name of the Linux Image@NotNull IIpHost
Retrieve the IP Network Host details@NotNull Path
getRoot()
@NotNull Path
@NotNull Path
getTmp()
-
Method Details
-
getImageID
Get the name of the Linux Image- Returns:
- The image ID, never null
-
getIpHost
Retrieve the IP Network Host details- Returns:
-
getDefaultCredentials
Retrieve the default credentials for the Image.- Returns:
- The default credentials - see
ICredentials
- Throws:
LinuxManagerException
- if the credentials are missing or there is a problem with the credentials store
-
getCommandShell
- Throws:
LinuxManagerException
-
getRoot
- Throws:
LinuxManagerException
-
getHome
- Throws:
LinuxManagerException
-
getTmp
- Throws:
LinuxManagerException
-
getRunDirectory
- Throws:
LinuxManagerException
-
getArchivesDirectory
- Throws:
LinuxManagerException
-