Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct {
ObjectMeta common.ObjectMeta `json:"objectMeta"`
TypeMeta common.TypeMeta `json:"typeMeta"`
// Hostname, either as a domain name or IP address.
Host string `json:"host"`
// Name of the node the endpoint is located
NodeName *string `json:"nodeName"`
// Status of the endpoint
Ready bool `json:"ready"`
// Array of endpoint ports
Ports []v1.EndpointPort `json:"ports"`
}
func GetServiceEndpointsFromCache ¶
func GetServiceEndpointsFromCache(cache *client.CacheFactory, namespace, name string) ([]Endpoint, error)
GetEndpoints gets endpoints associated to resource with given name.
Click to show internal directories.
Click to hide internal directories.