Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for GoRuntime (0.24 sec)

  1. pkg/kubelet/kubelet_node_status_test.go

    		},
    		{
    			desc:            "volumes inuse on node and volumeManager",
    			existingVolumes: []v1.UniqueVolumeName{"vol1"},
    			existingNode: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: testKubeletHostname, Labels: map[string]string{v1.LabelOSStable: goruntime.GOOS, v1.LabelArchStable: goruntime.GOARCH}},
    				Status: v1.NodeStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  2. pkg/kubelet/sysctl/safe_sysctls.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 sysctl
    
    import (
    	goruntime "runtime"
    
    	"k8s.io/apimachinery/pkg/util/version"
    	"k8s.io/klog/v2"
    	utilkernel "k8s.io/kubernetes/pkg/util/kernel"
    )
    
    type sysctl struct {
    	// the name of sysctl
    	name string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 19:24:34 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. pkg/kubelet/lifecycle/predicate_test.go

    	}{
    		{
    			name:            "OS label match",
    			pod:             &v1.Pod{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{v1.LabelOSStable: goruntime.GOOS}}},
    			node:            &v1.Node{Spec: v1.NodeSpec{}, ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{v1.LabelOSStable: goruntime.GOOS}}},
    			expectRejection: false,
    		},
    		{
    			name:            "dummyOS label, but the underlying OS matches",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. pkg/volume/flexvolume/flexvolume_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package flexvolume
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"path/filepath"
    	goruntime "runtime"
    	"testing"
    	"text/template"
    
    	"k8s.io/api/core/v1"
    	utiltesting "k8s.io/client-go/util/testing"
    	utilfs "k8s.io/kubernetes/pkg/util/filesystem"
    	"k8s.io/kubernetes/pkg/volume"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  5. pkg/kubelet/kubeletconfig/configfiles/configfiles_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package configfiles
    
    import (
    	"errors"
    	"fmt"
    	"path/filepath"
    	goruntime "runtime"
    	"testing"
    
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/runtime"
    	kubeletconfigv1beta1 "k8s.io/kubelet/config/v1beta1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/naming/from_stack.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package naming
    
    import (
    	"fmt"
    	"regexp"
    	goruntime "runtime"
    	"runtime/debug"
    	"strconv"
    	"strings"
    )
    
    // GetNameFromCallsite walks back through the call stack until we find a caller from outside of the ignoredPackages
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 12 01:31:42 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  7. pkg/volume/util/hostutil/hostutil_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package hostutil
    
    import (
    	"errors"
    	"fmt"
    	"net"
    	"os"
    	"path/filepath"
    	goruntime "runtime"
    	"strings"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"k8s.io/mount-utils"
    	"k8s.io/utils/exec"
    )
    
    // fakeMounter implements mount.Interface for tests.
    type fakeMounter struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 16:02:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. pkg/volume/flexvolume/common_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package flexvolume
    
    import (
    	"encoding/json"
    	goruntime "runtime"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/kubernetes/pkg/volume"
    	volumetesting "k8s.io/kubernetes/pkg/volume/testing"
    	"k8s.io/kubernetes/test/utils/harness"
    	"k8s.io/utils/exec"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. pkg/volume/flexvolume/probe_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package flexvolume
    
    import (
    	"fmt"
    	"path/filepath"
    	goruntime "runtime"
    	"strings"
    	"testing"
    
    	"github.com/fsnotify/fsnotify"
    	"github.com/stretchr/testify/assert"
    	utilfs "k8s.io/kubernetes/pkg/util/filesystem"
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/utils/exec"
    )
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 28 11:14:00 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_node_status.go

    			Name: string(kl.nodeName),
    			Labels: map[string]string{
    				v1.LabelHostname:      kl.hostname,
    				v1.LabelOSStable:      goruntime.GOOS,
    				v1.LabelArchStable:    goruntime.GOARCH,
    				kubeletapis.LabelOS:   goruntime.GOOS,
    				kubeletapis.LabelArch: goruntime.GOARCH,
    			},
    		},
    		Spec: v1.NodeSpec{
    			Unschedulable: !kl.registerSchedulable,
    		},
    	}
    	osLabels, err := getOSSpecificLabels()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top