github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/edp/model.go (about)

     1  package edp
     2  
     3  type (
     4  	DataTenantPayload struct {
     5  		Name        string `json:"name"`
     6  		Environment string `json:"environment"`
     7  		Secret      string `json:"secret"`
     8  	}
     9  
    10  	MetadataTenantPayload struct {
    11  		Key   string `json:"key"`
    12  		Value string `json:"value"`
    13  	}
    14  
    15  	MetadataItem struct {
    16  		DataTenant DataTenantItem `json:"dataTenant"`
    17  		Key        string         `json:"key"`
    18  		Value      string         `json:"value"`
    19  	}
    20  
    21  	DataTenantItem struct {
    22  		Namespace   NamespaceItem `json:"namespace"`
    23  		Name        string        `json:"name"`
    24  		Environment string        `json:"environment"`
    25  	}
    26  
    27  	NamespaceItem struct {
    28  		Name string `json:"name"`
    29  	}
    30  )