Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,239 for appns (0.09 sec)

  1. pkg/controller/replication/conversion.go

    func (c conversionClient) Create(ctx context.Context, rs *apps.ReplicaSet, opts metav1.CreateOptions) (*apps.ReplicaSet, error) {
    	return convertCall(func(rc *v1.ReplicationController) (*v1.ReplicationController, error) {
    		return c.ReplicationControllerInterface.Create(ctx, rc, opts)
    	}, rs)
    }
    
    func (c conversionClient) Update(ctx context.Context, rs *apps.ReplicaSet, opts metav1.UpdateOptions) (*apps.ReplicaSet, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 18:43:33 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  2. pkg/controller/replicaset/replica_set_utils_test.go

    	rsStatusTests := []struct {
    		name                     string
    		replicaset               *apps.ReplicaSet
    		filteredPods             []*v1.Pod
    		expectedReplicaSetStatus apps.ReplicaSetStatus
    	}{
    		{
    			"1 fully labelled pod",
    			fullyLabelledRS,
    			[]*v1.Pod{
    				newPod("pod1", fullyLabelledRS, v1.PodRunning, nil, true),
    			},
    			apps.ReplicaSetStatus{
    				Replicas:             1,
    				FullyLabeledReplicas: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 19 20:18:23 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  3. pkg/controller/deployment/util/deployment_util.go

    func FindOldReplicaSets(deployment *apps.Deployment, rsList []*apps.ReplicaSet) ([]*apps.ReplicaSet, []*apps.ReplicaSet) {
    	var requiredRSs []*apps.ReplicaSet
    	var allRSs []*apps.ReplicaSet
    	newRS := FindNewReplicaSet(deployment, rsList)
    	for _, rs := range rsList {
    		// Filter out new replica set
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  4. pkg/registry/apps/deployment/strategy_test.go

    		}
    	}
    }
    
    func newDeployment(labels, annotations map[string]string) *apps.Deployment {
    	return &apps.Deployment{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        "test",
    			Labels:      labels,
    			Annotations: annotations,
    		},
    		Spec: apps.DeploymentSpec{
    			Replicas: 1,
    			Strategy: apps.DeploymentStrategy{
    				Type: apps.RecreateDeploymentStrategyType,
    			},
    			Template: api.PodTemplateSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:45 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_utils_test.go

    	retainPolicy := apps.StatefulSetPersistentVolumeClaimRetentionPolicy{
    		WhenScaled:  apps.RetainPersistentVolumeClaimRetentionPolicyType,
    		WhenDeleted: apps.RetainPersistentVolumeClaimRetentionPolicyType,
    	}
    	scaledownPolicy := apps.StatefulSetPersistentVolumeClaimRetentionPolicy{
    		WhenScaled:  apps.DeletePersistentVolumeClaimRetentionPolicyType,
    		WhenDeleted: apps.RetainPersistentVolumeClaimRetentionPolicyType,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  6. pkg/controller/history/controller_history.go

    */
    
    package history
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"fmt"
    	"hash/fnv"
    	"sort"
    	"strconv"
    
    	apps "k8s.io/api/apps/v1"
    	appsinformers "k8s.io/client-go/informers/apps/v1"
    	clientset "k8s.io/client-go/kubernetes"
    	appslisters "k8s.io/client-go/listers/apps/v1"
    	"k8s.io/kubernetes/pkg/controller"
    	hashutil "k8s.io/kubernetes/pkg/util/hash"
    
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  7. pkg/controller/deployment/rollback.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package deployment
    
    import (
    	"context"
    	"fmt"
    	"strconv"
    
    	apps "k8s.io/api/apps/v1"
    	v1 "k8s.io/api/core/v1"
    	extensions "k8s.io/api/extensions/v1beta1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/klog/v2"
    	deploymentutil "k8s.io/kubernetes/pkg/controller/deployment/util"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. pkg/registry/apps/statefulset/storage/storage.go

    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &apps.StatefulSet{} },
    		NewListFunc:               func() runtime.Object { return &apps.StatefulSetList{} },
    		DefaultQualifiedResource:  apps.Resource("statefulsets"),
    		SingularQualifiedResource: apps.Resource("statefulset"),
    
    		CreateStrategy:      statefulset.Strategy,
    		UpdateStrategy:      statefulset.Strategy,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. tests/integration/ambient/cnirepair/main_test.go

    	}
    
    	apps.All = echos
    	apps.Uncaptured = match.ServiceName(echo.NamespacedName{Name: Uncaptured, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Captured = match.ServiceName(echo.NamespacedName{Name: Captured, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Sidecar = match.ServiceName(echo.NamespacedName{Name: Sidecar, Namespace: apps.Namespace}).GetMatches(echos)
    
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. pkg/registry/apps/daemonset/storage/storage_test.go

    	return daemonSetStorage, statusStorage, server
    }
    
    func newValidDaemonSet() *apps.DaemonSet {
    	return &apps.DaemonSet{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    			Namespace: metav1.NamespaceDefault,
    			Labels:    map[string]string{"a": "b"},
    		},
    		Spec: apps.DaemonSetSpec{
    			UpdateStrategy: apps.DaemonSetUpdateStrategy{
    				Type: apps.OnDeleteDaemonSetStrategyType,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 12 20:55:35 UTC 2019
    - 5.3K bytes
    - Viewed (0)
Back to top