Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 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. cmd/kubeadm/app/preflight/checks.go

    	"k8s.io/apimachinery/pkg/util/validation"
    	versionutil "k8s.io/apimachinery/pkg/util/version"
    	kubeadmversion "k8s.io/component-base/version"
    	"k8s.io/klog/v2"
    	system "k8s.io/system-validators/validators"
    	utilsexec "k8s.io/utils/exec"
    	netutils "k8s.io/utils/net"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	"k8s.io/kubernetes/cmd/kubeadm/app/images"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/upgrade/apply.go

    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/version"
    	clientset "k8s.io/client-go/kubernetes"
    	"k8s.io/klog/v2"
    	utilsexec "k8s.io/utils/exec"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    	"k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/validation"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. 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)
Back to top