Documentation ¶
Index ¶
- Constants
- 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) ParseAnnotations(annotations map[string]string)
- func (r *KubernetesResource) ParseLabels(labels map[string]string)
Constants ¶
View Source
const ( KubernetesResourceTypeService int = iota KubernetesResourceTypeStatefulSet KubernetesResourceTypeDeployment KubernetesResourceTypeDaemonSet )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesResource ¶
type KubernetesResource struct { KubernetesResourceType int Namespace string Name string Connected bool MMeshType string AccountID string TenantID string NetID string SubnetID string // Labels map[string]string Annotations 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) ParseAnnotations ¶
func (r *KubernetesResource) ParseAnnotations(annotations map[string]string)
func (*KubernetesResource) ParseLabels ¶
func (r *KubernetesResource) ParseLabels(labels map[string]string)
Click to show internal directories.
Click to hide internal directories.