Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 177 for WithKind (0.68 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    	if err != nil {
    		return nil, nil, err
    	}
    	versionedPatchOptions, err := a.group.Creater.New(optionsExternalVersion.WithKind("PatchOptions"))
    	if err != nil {
    		return nil, nil, err
    	}
    	versionedUpdateOptions, err := a.group.Creater.New(optionsExternalVersion.WithKind("UpdateOptions"))
    	if err != nil {
    		return nil, nil, err
    	}
    
    	var versionedDeleteOptions runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. pkg/apis/apidiscovery/register.go

    // Kind takes an unqualified kind and returns a Group qualified GroupKind
    func Kind(kind string) schema.GroupKind {
    	return SchemeGroupVersion.WithKind(kind).GroupKind()
    }
    
    // Resource takes an unqualified resource and returns a Group qualified GroupResource
    func Resource(resource string) schema.GroupResource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 19 17:27:25 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. pkg/apis/storage/register.go

    // Kind takes an unqualified kind and returns a Group qualified GroupKind
    func Kind(kind string) schema.GroupKind {
    	return SchemeGroupVersion.WithKind(kind).GroupKind()
    }
    
    // Resource takes an unqualified resource and returns a Group qualified GroupResource
    func Resource(resource string) schema.GroupResource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmap.go

    	if err != nil {
    		return nil, err
    	}
    	b.WithName(configMap.Name)
    	b.WithNamespace(configMap.Namespace)
    
    	b.WithKind("ConfigMap")
    	b.WithAPIVersion("v1")
    	return b, nil
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/codec.go

    			if kind.Group != src.Group {
    				continue
    			}
    			if len(kind.Kind) > 0 && kind.Kind != src.Kind {
    				continue
    			}
    			return v.target.WithKind(src.Kind), true
    		}
    	}
    	if v.coerce && len(kinds) > 0 {
    		return v.target.WithKind(kinds[0].Kind), true
    	}
    	return schema.GroupVersionKind{}, false
    }
    
    // Identifier implements GroupVersioner interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:20:30 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/flowcontrol/v1beta2/register.go

    var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta2"}
    
    // Kind takes an unqualified kind and returns a Group qualified GroupKind
    func Kind(kind string) schema.GroupKind {
    	return SchemeGroupVersion.WithKind(kind).GroupKind()
    }
    
    // Resource takes an unqualified resource and returns a Group qualified GroupResource
    func Resource(resource string) schema.GroupResource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 07 13:42:13 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  7. pkg/apis/batch/register.go

    // Kind takes an unqualified kind and returns a Group qualified GroupKind
    func Kind(kind string) schema.GroupKind {
    	return SchemeGroupVersion.WithKind(kind).GroupKind()
    }
    
    // Resource takes an unqualified resource and returns a Group qualified GroupResource
    func Resource(resource string) schema.GroupResource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 20:39:47 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/printers/interface.go

    	PrintObj(runtime.Object, io.Writer) error
    }
    
    // PrintOptions struct defines a struct for various print options
    type PrintOptions struct {
    	NoHeaders     bool
    	WithNamespace bool
    	WithKind      bool
    	Wide          bool
    	ShowLabels    bool
    	Kind          schema.GroupKind
    	ColumnLabels  []string
    
    	SortBy string
    
    	// indicates if it is OK to ignore missing keys for rendering an output template.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 30 00:36:07 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinition.go

    // apply.
    func CustomResourceDefinition(name string) *CustomResourceDefinitionApplyConfiguration {
    	b := &CustomResourceDefinitionApplyConfiguration{}
    	b.WithName(name)
    	b.WithKind("CustomResourceDefinition")
    	b.WithAPIVersion("apiextensions.k8s.io/v1")
    	return b
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/scale.go

    // ScaleApplyConfiguration constructs an declarative configuration of the Scale type for use with
    // apply.
    func Scale() *ScaleApplyConfiguration {
    	b := &ScaleApplyConfiguration{}
    	b.WithKind("Scale")
    	b.WithAPIVersion("apps/v1beta2")
    	return b
    }
    
    // WithKind sets the Kind field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 9.8K bytes
    - Viewed (0)
Back to top