Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNewControllerRef (0.18 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/controller_ref_test.go

    limitations under the License.
    */
    
    package v1
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    type metaObj struct {
    	ObjectMeta
    	TypeMeta
    }
    
    func TestNewControllerRef(t *testing.T) {
    	gvk := schema.GroupVersionKind{
    		Group:   "group",
    		Version: "v1",
    		Kind:    "Kind",
    	}
    	obj1 := &metaObj{
    		ObjectMeta: ObjectMeta{
    			Name: "name",
    			UID:  "uid1",
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 05:14:33 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top