Documentation ¶
Index ¶
- func CapabilityAdd(capFile string, c CapManageConfig) error
- func CapabilityAvail(c CapAvailConfig) error
- func CapabilityDrop(capFile string, c CapManageConfig) error
- func CapabilityList(capFile string, c CapListConfig) error
- func CleanCache(cacheType string) error
- func CleanCacheName(cacheName string, libraryCache, ociCache bool) (bool, error)
- func CleanSingularityCache(cleanAll bool, cacheCleanTypes []string, cacheName string) error
- func ListSingularityCache(cacheListTypes []string, listAll bool) error
- func OciAttach(containerID string) error
- func OciCreate(containerID string, args *OciArgs) error
- func OciDelete(containerID string) error
- func OciExec(containerID string, cmdArgs []string) error
- func OciKill(containerID string, killSignal string, killTimeout int) error
- func OciMount(image string, bundle string) error
- func OciPauseResume(containerID string, pause bool) error
- func OciRun(containerID string, args *OciArgs) error
- func OciStart(containerID string) error
- func OciState(containerID string, args *OciArgs) error
- func OciUmount(bundle string) error
- func OciUpdate(containerID string, args *OciArgs) error
- type CapAvailConfig
- type CapListConfig
- type CapManageConfig
- type OciArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CapabilityAdd ¶
func CapabilityAdd(capFile string, c CapManageConfig) error
CapabilityAdd adds the specified capability set to the capability file
func CapabilityAvail ¶
func CapabilityAvail(c CapAvailConfig) error
CapabilityAvail lists the capabilities based on the CapAvailConfig
func CapabilityDrop ¶
func CapabilityDrop(capFile string, c CapManageConfig) error
CapabilityDrop drops the specified capability set from the capability file
func CapabilityList ¶
func CapabilityList(capFile string, c CapListConfig) error
CapabilityList lists the capabilities based on the CapListConfig
func CleanCache ¶
CleanCache : clean a type of cache (cacheType string). will return a error if one occurs.
func CleanCacheName ¶
CleanCacheName : will clean a container with the same name as cacheName (in the cache directory). if libraryCache == true; only search thrught library cache. if ociCache == true; only search the oci-tmp cache. if both are false; search all cache, and if both are true; again, search all cache.
func CleanSingularityCache ¶
CleanSingularityCache : the main function that drives all these other functions, if allClean == true; clean all cache. if typeNameClean contains somthing; only clean that type. if cacheName contains somthing; clean only cache with that name.
func ListSingularityCache ¶
ListSingularityCache : list local singularity cache, typeNameList : is a string of what cache to list (seprate each type with a comma; like this: library,oci,blob) allList : force list all cache.
func OciPauseResume ¶
OciPauseResume pauses/resumes processes in a container
Types ¶
type CapAvailConfig ¶
CapAvailConfig instructs CapabilityAvail on what capability to list/describe
type CapListConfig ¶
CapListConfig instructs CapabilityList on what to list
type CapManageConfig ¶
CapManageConfig specifies what capability set to edit in the capability file
Source Files ¶
- cache_clean_linux.go
- cache_list_linux.go
- capability_avail_linux.go
- capability_list_linux.go
- capability_manage_linux.go
- oci_attach_linux.go
- oci_create_linux.go
- oci_delete_linux.go
- oci_exec_linux.go
- oci_kill_linux.go
- oci_linux.go
- oci_mount_linux.go
- oci_pause_linux.go
- oci_run_linux.go
- oci_start_linux.go
- oci_state_linux.go
- oci_update_linux.go