package
Version:
v0.0.0-...-cb67029
Opens a new window with list of versions in this module.
Published: Jan 20, 2020
License: AGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Pod represents the basic information about a k8s Pod.
GetPodList maps a k8s PodList to an array of Pods.
Selector specifies a list of key,value pairs.
type Service struct {
Name string `json:"name"`
ClusterIP string `json:"clusterIp"`
Ports []v1.ServicePort `json:"ports"`
PodList []Pod `json:"podList"`
Balancer string `json:"balancer"`
}
Service represents the list of properties of services both from spec and last seen status.
Locate locates a service based on input selectors which
are a list of key,value pairs that needs to match.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.