- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for Preflight (0.11 sec)
-
cmd/kubeadm/app/util/error_test.go
limitations under the License. */ package util import ( "testing" "github.com/pkg/errors" ) type pferror struct{} func (p *pferror) Preflight() bool { return true } func (p *pferror) Error() string { return "" } func TestCheckErr(t *testing.T) { var codeReturned int errHandle := func(err string, code int) { codeReturned = code }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 04 08:41:27 UTC 2021 - 2.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/common_test.go
"testing" "github.com/spf13/pflag" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" kubeadmapiv1 "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta3" "k8s.io/kubernetes/cmd/kubeadm/app/preflight" "k8s.io/kubernetes/cmd/kubeadm/app/util/output" testutil "k8s.io/kubernetes/cmd/kubeadm/test" ) const testConfigToken = `apiVersion: v1 clusters: - cluster: certificate-authority-data:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.5K bytes - Viewed (0) -
releasenotes/notes/50452.yaml
apiVersion: release-notes/v2 kind: bug-fix area: traffic-management releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 02:47:57 UTC 2024 - 185 bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_unix.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package preflight import ( "os" "github.com/pkg/errors" ) // Check validates if an user has elevated (root) privileges. func (ipuc IsPrivilegedUserCheck) Check() (warnings, errorList []error) { if os.Getuid() != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 921 bytes - Viewed (0) -
cmd/kubeadm/app/cmd/reset_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 13:42:50 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_windows.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package preflight import ( "github.com/pkg/errors" "golang.org/x/sys/windows" ) // Check validates if a user has elevated (administrator) privileges. func (ipuc IsPrivilegedUserCheck) Check() (warnings, errorList []error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 17:23:02 UTC 2024 - 1.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go
limitations under the License. */ package phases import ( "os" "path/filepath" "testing" kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants" "k8s.io/kubernetes/cmd/kubeadm/app/preflight" ) func assertExists(t *testing.T, path string) { if _, err := os.Stat(path); os.IsNotExist(err) { t.Errorf("file/directory does not exist; error: %s", err) t.Errorf("file/directory does not exist: %s", path)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/preflight/checks.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package preflight import ( "fmt" "math/rand" "net" "net/url" "time" ) const connectionTimeout = 1 * time.Second // EtcdConnection holds the Etcd server list type EtcdConnection struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 20 10:50:48 UTC 2018 - 1.8K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/utils.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package preflight import ( "regexp" "strings" "github.com/pkg/errors" "k8s.io/apimachinery/pkg/util/version" utilsexec "k8s.io/utils/exec" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 07 07:51:36 UTC 2022 - 1.4K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_other.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 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.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 23 07:37:42 UTC 2024 - 1.5K bytes - Viewed (0)