- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewHelper (0.08 sec)
-
staging/src/k8s.io/cli-runtime/pkg/resource/helper.go
FieldManager string // FieldValidation is the directive used to indicate how the server should perform // field validation (Ignore, Warn, or Strict) FieldValidation string } // NewHelper creates a Helper from a ResourceMapping func NewHelper(client RESTClient, mapping *meta.RESTMapping) *Helper { return &Helper{ Resource: mapping.Resource.Resource, RESTClient: client,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 26 03:45:13 UTC 2022 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go
// Visit implements Visitor func (i *Info) Visit(fn VisitorFunc) error { return fn(i, nil) } // Get retrieves the object from the Namespace and Name fields func (i *Info) Get() (err error) { obj, err := NewHelper(i.Client, i.Mapping).WithSubresource(i.Subresource).Get(i.Namespace, i.Name) if err != nil { if errors.IsNotFound(err) && len(i.Namespace) > 0 && i.Namespace != metav1.NamespaceDefault && i.Namespace != metav1.NamespaceAll {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 10:17:56 UTC 2023 - 21.3K bytes - Viewed (0)