func (t *TestFixture) CreateRC(rc *v1.ReplicationController) (*v1.ReplicationController, error) {
	rc, err := t.Client.CoreV1().ReplicationControllers(t.Namespace).Create(context.TODO(), rc, metav1.CreateOptions{})
	if err == nil {
		t.rcs[rc.Name] = true
	}
	return rc, err
}
// CreateRC creates a replication controller and records it for cleanup.
CreateRC creates a replication controller and records it for cleanup.
// CreateRC creates a replication controller and records it for cleanup .
func (t *TestFixture) CreateRC(rc *v1.ReplicationController) (*v1.ReplicationController, error) {
	rc, err := t.Client.CoreV1().ReplicationControllers(t.Namespace).Create(context.TODO(), rc, metav1.CreateOptions{})
	if err == nil {
		t.rcs[rc.Name] = true
	}
	return rc, err
}
func ( t * TestFixture ) CreateRC ( rc * v1 . ReplicationController ) ( * v1 . ReplicationController , error ) { rc , err := t . Client . CoreV1 ( ) . ReplicationControllers ( t . Namespace ) . Create ( context . TODO ( ) , rc , metav1 . CreateOptions { } ) if err == nil { t . rcs [ rc . Name ] = true } return rc , err }
CreateRC creates a replication controller and records it for cleanup.
CreateRC creates a replication controller and records it for cleanup .