Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 89 for utilerrors (0.66 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/api_enablement_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"strings"
    	"testing"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	cliflag "k8s.io/component-base/cli/flag"
    )
    
    type fakeGroupRegistry struct{}
    
    func (f fakeGroupRegistry) IsGroupRegistered(group string) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 09 07:30:43 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/token/union/union.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package union
    
    import (
    	"context"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apiserver/pkg/authentication/authenticator"
    )
    
    // unionAuthTokenHandler authenticates tokens using a chain of authenticator.Token objects
    type unionAuthTokenHandler 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)
  3. staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go

    limitations under the License.
    */
    
    package cel
    
    import (
    	"context"
    	"fmt"
    	"time"
    
    	celgo "github.com/google/cel-go/cel"
    
    	authorizationv1 "k8s.io/api/authorization/v1"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    )
    
    type CELMatcher struct {
    	CompilationResults []CompilationResult
    
    	// These are optional fields which can be populated if metrics reporting is desired
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/meta/multirestmapper.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package meta
    
    import (
    	"fmt"
    	"strings"
    
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    )
    
    var (
    	_ ResettableRESTMapper = MultiRESTMapper{}
    )
    
    // MultiRESTMapper is a wrapper for multiple RESTMappers.
    type MultiRESTMapper []RESTMapper
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/union_content.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package dynamiccertificates
    
    import (
    	"bytes"
    	"context"
    	"crypto/x509"
    	"strings"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    )
    
    type unionCAContent []CAContentProvider
    
    var _ CAContentProvider = &unionCAContent{}
    var _ ControllerRunner = &unionCAContent{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 07 14:37:01 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. pkg/util/iptables/iptables_linux.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package iptables
    
    import (
    	"fmt"
    	"net"
    	"os"
    	"time"
    
    	"golang.org/x/sys/unix"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/wait"
    )
    
    type locker struct {
    	lock16 *os.File
    	lock14 *net.UnixListener
    }
    
    func (l *locker) Close() error {
    	errList := []error{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  7. plugin/pkg/admission/eventratelimit/admission.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package eventratelimit
    
    import (
    	"context"
    	"io"
    
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apiserver/pkg/admission"
    	"k8s.io/client-go/util/flowcontrol"
    	api "k8s.io/kubernetes/pkg/apis/core"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 14 15:26:57 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  8. pkg/controller/serviceaccount/serviceaccounts_controller.go

    			// we can safely ignore terminating namespace errors
    			if !apierrors.HasStatusCause(err, v1.NamespaceTerminatingCause) {
    				createFailures = append(createFailures, err)
    			}
    		}
    	}
    
    	return utilerrors.Flatten(utilerrors.NewAggregate(createFailures))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. pkg/scheduler/apis/config/validation/validation.go

    			cc.PodMaxBackoffSeconds, "must be greater than or equal to PodInitialBackoffSeconds"))
    	}
    
    	errs = append(errs, validateExtenders(field.NewPath("extenders"), cc.Extenders)...)
    	return utilerrors.Flatten(utilerrors.NewAggregate(errs))
    }
    
    func validatePercentageOfNodesToScore(path *field.Path, percentageOfNodesToScore *int32) error {
    	if percentageOfNodesToScore != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. plugin/pkg/auth/authorizer/rbac/subject_locator.go

    limitations under the License.
    */
    
    // Package rbac implements the authorizer.Authorizer interface using roles base access control.
    package rbac
    
    import (
    	rbacv1 "k8s.io/api/rbac/v1"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apiserver/pkg/authentication/user"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	rbacregistryvalidation "k8s.io/kubernetes/pkg/registry/rbac/validation"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 22 12:17:05 UTC 2018
    - 4.7K bytes
    - Viewed (0)
Back to top