Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewLazyRESTMapperLoader (0.32 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/lazy.go

    	loaded bool
    	err    error
    	mapper RESTMapper
    }
    
    // NewLazyRESTMapperLoader handles unrecoverable errors when creating a RESTMapper / ObjectTyper by
    // returning those initialization errors when the interface methods are invoked. This defers the
    // initialization and any server calls until a client actually needs to perform the action.
    func NewLazyRESTMapperLoader(fn func() (RESTMapper, error)) RESTMapper {
    	obj := &lazyObject{loader: fn}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 3.1K bytes
    - Viewed (0)
Back to top