automation-tests/cmd/podman/main_local_unsupported.go

45 lines
702 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// +build !remoteclient,!linux
package main
// The ONLY purpose of this file is to allow the subpackage to compile. Dont expect anything
// to work.
import (
"syscall"
"github.com/spf13/cobra"
)
const remote = false
func setSyslog() error {
return nil
}
func profileOn(cmd *cobra.Command) error {
return nil
}
func profileOff(cmd *cobra.Command) error {
return nil
}
func setupRootless(cmd *cobra.Command, args []string) error {
return nil
}
func setRLimits() error {
return nil
}
func setUMask() {
// Be sure we can create directories with 0755 mode.
syscall.Umask(0022)
}
// checkInput can be used to verify any of the globalopt values
func checkInput() error {
return nil
}