Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for utilsexec (0.35 sec)

  1. cmd/kubeadm/app/cmd/phases/init/preflight.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package phases
    
    import (
    	"fmt"
    
    	"github.com/pkg/errors"
    
    	utilsexec "k8s.io/utils/exec"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/join/preflight.go

    limitations under the License.
    */
    
    package phases
    
    import (
    	"bytes"
    	"fmt"
    	"text/template"
    
    	"github.com/lithammer/dedent"
    	"github.com/pkg/errors"
    
    	"k8s.io/klog/v2"
    	utilsexec "k8s.io/utils/exec"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/preflight/utils.go

    package preflight
    
    import (
    	"regexp"
    	"strings"
    
    	"github.com/pkg/errors"
    
    	"k8s.io/apimachinery/pkg/util/version"
    	utilsexec "k8s.io/utils/exec"
    )
    
    // GetKubeletVersion is helper function that returns version of kubelet available in $PATH
    func GetKubeletVersion(execer utilsexec.Interface) (*version.Version, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 07 07:51:36 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/preflight/checks_other.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package preflight
    
    import (
    	system "k8s.io/system-validators/validators"
    	utilsexec "k8s.io/utils/exec"
    )
    
    // addOSValidator adds a new OSValidator
    // No-op for Darwin (MacOS), Windows.
    func addOSValidator(validators []system.Validator, _ *system.StreamReporter) []system.Validator {
    	return validators
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 23 07:37:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package node
    
    import (
    	"fmt"
    
    	"github.com/pkg/errors"
    
    	utilsexec "k8s.io/utils/exec"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    	"k8s.io/kubernetes/cmd/kubeadm/app/preflight"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/preflight/utils_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package preflight
    
    import (
    	"testing"
    
    	"github.com/pkg/errors"
    
    	utilsexec "k8s.io/utils/exec"
    	fakeexec "k8s.io/utils/exec/testing"
    )
    
    func TestGetKubeletVersion(t *testing.T) {
    	cases := []struct {
    		output   string
    		expected string
    		err      error
    		valid    bool
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 23 11:33:44 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/preflight/checks_linux.go

    limitations under the License.
    */
    
    package preflight
    
    import (
    	"syscall"
    
    	"github.com/pkg/errors"
    
    	system "k8s.io/system-validators/validators"
    	utilsexec "k8s.io/utils/exec"
    )
    
    // Check number of memory required by kubeadm
    func (mc MemCheck) Check() (warnings, errorList []error) {
    	info := syscall.Sysinfo_t{}
    	err := syscall.Sysinfo(&info)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/volume_host.go

    		//nolint:logcheck
    		klog.ErrorS(nil, "DeleteServiceAccountToken unsupported in PersistentVolumeController")
    	}
    }
    
    func (adc *PersistentVolumeController) GetExec(pluginName string) utilexec.Interface {
    	return utilexec.New()
    }
    
    func (ctrl *PersistentVolumeController) GetNodeLabels() (map[string]string, error) {
    	return nil, fmt.Errorf("GetNodeLabels() unsupported in PersistentVolumeController")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_network_linux.go

    limitations under the License.
    */
    
    package kubelet
    
    import (
    	"time"
    
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/klog/v2"
    	utiliptables "k8s.io/kubernetes/pkg/util/iptables"
    	utilexec "k8s.io/utils/exec"
    )
    
    const (
    	// KubeIPTablesHintChain is the chain whose existence in either iptables-legacy
    	// or iptables-nft indicates which version of iptables the system is using
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 20:51:47 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top