Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for utilerrors (0.3 sec)

  1. pkg/kubelet/runtime.go

    		}
    	}
    	if s.runtimeError != nil {
    		errs = append(errs, s.runtimeError)
    	}
    
    	return utilerrors.NewAggregate(errs)
    }
    
    func (s *runtimeState) networkErrors() error {
    	s.RLock()
    	defer s.RUnlock()
    	errs := []error{}
    	if s.networkError != nil {
    		errs = append(errs, s.networkError)
    	}
    	return utilerrors.NewAggregate(errs)
    }
    
    func (s *runtimeState) storageErrors() error {
    	s.RLock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    func (list ErrorList) Filter(fns ...utilerrors.Matcher) ErrorList {
    	err := utilerrors.FilterOut(list.ToAggregate(), fns...)
    	if err == nil {
    		return nil
    	}
    	// FilterOut takes an Aggregate and returns an Aggregate
    	return fromAggregate(err.(utilerrors.Aggregate))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authorization/union/union.go

    // aggregate decision and supports short-circuit allows and denies from
    // subauthorizers.
    package union
    
    import (
    	"context"
    	"strings"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apiserver/pkg/authentication/user"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    )
    
    // unionAuthzHandler authorizer against a chain of authorizer.Authorizer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 28 20:27:28 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/validation/validation_windows.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package validation
    
    import (
    	"fmt"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config"
    )
    
    // validateKubeletOSConfiguration validates os specific kubelet configuration and returns an error if it is invalid.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/errors.go

    limitations under the License.
    */
    
    package admission
    
    import (
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/api/meta"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    )
    
    func extractResourceName(a Attributes) (name string, resource schema.GroupResource, err error) {
    	resource = a.GetResource().GroupResource()
    
    	if len(a.GetName()) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 26 19:40:51 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go

    limitations under the License.
    */
    
    package phases
    
    import (
    	"os"
    	"strings"
    	"syscall"
    
    	"github.com/pkg/errors"
    	"golang.org/x/sys/unix"
    
    	"k8s.io/klog/v2"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    )
    
    var flagMap = map[string]int{
    	kubeadmapi.UnmountFlagMNTForce:       unix.MNT_FORCE,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 10:58:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/authentication/request/union/union.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package union
    
    import (
    	"net/http"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apiserver/pkg/authentication/authenticator"
    )
    
    // unionAuthRequestHandler authenticates requests using a chain of authenticator.Requests
    type unionAuthRequestHandler struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 22 17:16:59 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/resource/result.go

    import (
    	"fmt"
    	"reflect"
    
    	"k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/meta"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/watch"
    )
    
    // ErrMatchFunc can be used to filter errors that may not be true failures.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    	"time"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	netutils "k8s.io/utils/net"
    )
    
    func TestServerRunOptionsValidate(t *testing.T) {
    	testCases := []struct {
    		name        string
    		testOptions *ServerRunOptions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/meta/firsthit_restmapper.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package meta
    
    import (
    	"fmt"
    
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    )
    
    var (
    	_ ResettableRESTMapper = &FirstHitRESTMapper{}
    )
    
    // FirstHitRESTMapper is a wrapper for multiple RESTMappers which returns the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 2.8K bytes
    - Viewed (0)
Back to top