1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 13:18:20 +00:00

go generate changes

This commit is contained in:
Murali Paluru
2019-10-30 12:07:16 -07:00
committed by Alena Prokharchyk
parent 24795c9577
commit fe8093bf8b
6 changed files with 145 additions and 12 deletions

View File

@@ -4,9 +4,11 @@ const (
ServiceReferenceType = "serviceReference"
ServiceReferenceFieldName = "name"
ServiceReferenceFieldNamespace = "namespace"
ServiceReferenceFieldPort = "port"
)
type ServiceReference struct {
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
Port *int64 `json:"port,omitempty" yaml:"port,omitempty"`
}