Documentation ¶
Index ¶
- Constants
- type KubernetesLabels
- type KubernetesResource
- func (r *KubernetesResource) GetGatewayNodeInstance(s *topology.Subnet, externalPort int32) (*topology.NodeInstance, error)
- func (r *KubernetesResource) GetPodNodeInstance(s *topology.Subnet) (*topology.NodeInstance, error)
- func (r *KubernetesResource) ParseLabelsGateway(labels map[string]string)
- func (r *KubernetesResource) ParseLabelsPod(labels map[string]string)
- func (r *KubernetesResource) ParseServiceAnnotations(annotations map[string]string)
- type NetStatus
Constants ¶
View Source
const ( KubernetesResourceTypeService int = iota KubernetesResourceTypeStatefulSet KubernetesResourceTypeDeployment KubernetesResourceTypeDaemonSet )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesLabels ¶ added in v0.8.0
type KubernetesResource ¶
type KubernetesResource struct { KubernetesResourceType int Namespace string Name string Connected bool NetStatus NetStatus Labels KubernetesLabels ServiceAnnotations map[string]string }
func (*KubernetesResource) GetGatewayNodeInstance ¶
func (r *KubernetesResource) GetGatewayNodeInstance(s *topology.Subnet, externalPort int32) (*topology.NodeInstance, error)
func (*KubernetesResource) GetPodNodeInstance ¶
func (r *KubernetesResource) GetPodNodeInstance(s *topology.Subnet) (*topology.NodeInstance, error)
func (*KubernetesResource) ParseLabelsGateway ¶ added in v0.8.0
func (r *KubernetesResource) ParseLabelsGateway(labels map[string]string)
func (*KubernetesResource) ParseLabelsPod ¶ added in v0.8.0
func (r *KubernetesResource) ParseLabelsPod(labels map[string]string)
func (*KubernetesResource) ParseServiceAnnotations ¶ added in v0.8.0
func (r *KubernetesResource) ParseServiceAnnotations(annotations map[string]string)
Click to show internal directories.
Click to hide internal directories.