Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AddGroup (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/root_test.go

    	// Register three groups
    	handler.AddGroup(metav1.APIGroup{Name: "x"})
    	handler.AddGroup(metav1.APIGroup{Name: "y"})
    	handler.AddGroup(metav1.APIGroup{Name: "z"})
    	// Register three additional groups that come earlier alphabetically
    	handler.AddGroup(metav1.APIGroup{Name: "a"})
    	handler.AddGroup(metav1.APIGroup{Name: "b"})
    	handler.AddGroup(metav1.APIGroup{Name: "c"})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 08 22:33:50 UTC 2018
    - 6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/root.go

    )
    
    // GroupManager is an interface that allows dynamic mutation of the existing webservice to handle
    // API groups being added or removed.
    type GroupManager interface {
    	AddGroup(apiGroup metav1.APIGroup)
    	RemoveGroup(groupName string)
    	ServeHTTP(resp http.ResponseWriter, req *http.Request)
    	WebService() *restful.WebService
    }
    
    // rootAPIsHandler creates a webservice serving api group discovery.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 22:44:49 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. src/packaging/common/scripts/preinst

        install|upgrade)
    
            # Create fess group if not existing
            if ! getent group "$FESS_GROUP" > /dev/null 2>&1 ; then
                echo -n "Creating $FESS_GROUP group..."
                addgroup --quiet --system "$FESS_GROUP"
                echo " OK"
            fi
    
            # Create fess user if not existing
            if ! id $FESS_USER > /dev/null 2>&1 ; then
                echo -n "Creating $FESS_USER user..."
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Dec 01 09:48:15 UTC 2016
    - 2.3K bytes
    - Viewed (0)
  4. tools/packaging/postinst.sh

    if ! getent passwd istio-proxy >/dev/null; then
        if command -v useradd >/dev/null; then
            groupadd --system istio-proxy
            useradd --system --gid istio-proxy --home-dir /var/lib/istio istio-proxy
        else
            addgroup --system istio-proxy
            adduser --system --group --home /var/lib/istio istio-proxy
        fi
    fi
    
    if [ ! -e /etc/istio ]; then
       # Backward compat.
       ln -s /var/lib/istio /etc/istio
    fi
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 10 18:31:12 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    			Name:             apiGroupInfo.PrioritizedVersions[0].Group,
    			Versions:         apiVersionsForDiscovery,
    			PreferredVersion: preferredVersionForDiscovery,
    		}
    
    		s.DiscoveryGroupManager.AddGroup(apiGroup)
    		s.Handler.GoRestfulContainer.Add(discovery.NewAPIGroupHandler(s.Serializer, apiGroup).WebService())
    	}
    	return nil
    }
    
    // InstallAPIGroup exposes the given api group in the API.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top