func NewKubeStateData() KubeStateData {
	kubeStateData := make(KubeStateData)
	for _, resource := range dbresources.GetDBResources() {
		kubeStateData[resource.Keyword] = make(KeyValuePairs)
	}
	return kubeStateData
}
NewKubeStateData is a constructor for KubeStateData.
package api
import (
	"fmt"
	"sort"
	"strings"
	"github.com/golang/protobuf/proto"
	"github.com/contiv/vpp/dbresources"
)
type KeyValuePairs map[string]proto.Message
type KubeStateData map[string]KeyValuePairs  
type DBResync struct {
	Local          bool  
	KubeState      KubeStateData
	ExternalConfig KeyValuePairs
}
func NewDBResync() *DBResync {
	return &DBResync{
		KubeState:      NewKubeStateData(),
		ExternalConfig: make(KeyValuePairs),
	}
}