Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewSimpleFakeResourceFinder (0.17 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags_fake.go

    limitations under the License.
    */
    
    package genericclioptions
    
    import (
    	"k8s.io/cli-runtime/pkg/resource"
    )
    
    // NewSimpleFakeResourceFinder builds a super simple ResourceFinder that just iterates over the objects you provided
    func NewSimpleFakeResourceFinder(infos ...*resource.Info) ResourceFinder {
    	return &fakeResourceFinder{
    		Infos: infos,
    	}
    }
    
    type fakeResourceFinder struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 13 10:28:09 UTC 2021
    - 1.3K bytes
    - Viewed (0)
Back to top