Skip to content

Commit

Permalink
Merge pull request #3456 from aruneshpa/patch-1
Browse files Browse the repository at this point in the history
 Define Labels type and JSON tags for ProviderSpecific fields
  • Loading branch information
k8s-ci-robot authored Jun 9, 2023
2 parents 8589ac7 + b2eebec commit ab11b2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/contributing/crd-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ Here is typical example of [CRD API type](https://github.com/kubernetes-sigs/ext
type TTL int64
type Targets []string
type ProviderSpecificProperty struct {
Name string
Value string
Name string `json:"name,omitempty"`
Value string `json:"value,omitempty"`
}
type ProviderSpecific []ProviderSpecificProperty
type Labels map[string]string

type Endpoint struct {
// The hostname of the DNS record
Expand Down

0 comments on commit ab11b2e

Please sign in to comment.