github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/cmd/podman/main_local_unsupported.go (about)

     1  // +build !remoteclient,!linux
     2  
     3  package main
     4  
     5  // The ONLY purpose of this file is to allow the subpackage to compile. Don’t expect anything
     6  // to work.
     7  
     8  import (
     9  	"syscall"
    10  
    11  	"github.com/spf13/cobra"
    12  )
    13  
    14  const remote = false
    15  
    16  func setSyslog() error {
    17  	return nil
    18  }
    19  
    20  func profileOn(cmd *cobra.Command) error {
    21  	return nil
    22  }
    23  
    24  func profileOff(cmd *cobra.Command) error {
    25  	return nil
    26  }
    27  
    28  func setupRootless(cmd *cobra.Command, args []string) error {
    29  	return nil
    30  }
    31  
    32  func setRLimits() error {
    33  	return nil
    34  }
    35  
    36  func setUMask() {
    37  	// Be sure we can create directories with 0755 mode.
    38  	syscall.Umask(0022)
    39  }
    40  
    41  // checkInput can be used to verify any of the globalopt values
    42  func checkInput() error {
    43  	return nil
    44  }