Documentation ¶
Index ¶
- func Archive(profilePath, namespace string, profile string) error
- func CheckProfile(tmpWithSuffix string) (inspec.CheckResult, error)
- func ListProfiles(profile_path string) ([]string, error)
- func Namespaces(profilePath string) ([]string, error)
- func TempFileWithSuffix(suffix string) (string, error)
- func TempUpload(body io.ReadCloser, suffix string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckProfile ¶
func CheckProfile(tmpWithSuffix string) (inspec.CheckResult, error)
func ListProfiles ¶
func Namespaces ¶
return the list of all namespaces
func TempFileWithSuffix ¶
TempFileWithSuffix provides you with a unique file name with suffix, the file needs to be created afterwards
func TempUpload ¶
func TempUpload(body io.ReadCloser, suffix string) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.