Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSetLabel (0.47 sec)

  1. operator/pkg/util/label_test.go

    // limitations under the License.
    
    package util
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/meta"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    )
    
    func TestSetLabel(t *testing.T) {
    	tests := []struct {
    		desc      string
    		wantLabel string
    		wantValue string
    		wantErr   error
    	}{
    		{
    			desc:      "AddMapLabelMapValue",
    			wantLabel: "foo",
    			wantValue: "bar",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top