Documentation ¶
Index ¶
Constants ¶
View Source
const (
// OwnerLabelKey is the name of the label that defines the owner of an Endpoint.
OwnerLabelKey = "owner"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { // The hostname of the DNS record DNSName string // The target the DNS record points to Target string // RecordType type of record, e.g. CNAME, A, TXT etc RecordType string // Labels stores labels defined for the Endpoint Labels map[string]string }
Endpoint is a high-level way of a connection between a service and an IP
func NewEndpoint ¶ added in v0.2.0
NewEndpoint initialization method to be used to create an endpoint
func (*Endpoint) MergeLabels ¶ added in v0.3.0
MergeLabels adds keys to labels if not defined for the endpoint
Click to show internal directories.
Click to hide internal directories.