Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CfgMapKeyRef ¶ added in v1.3.0
type Connections ¶
type Resource ¶
type Resource struct { Resource struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` Labels map[string]string `json:"labels,omitempty"` ServiceAccountName string `json:"serviceaccountname,omitempty"` FilePath string `json:"filepath,omitempty"` Kind string `json:"kind,omitempty"` Image struct { ID string `json:"id,omitempty"` } `json:"image"` NetworkAddrs []string ConfigMapRefs []string `json:"-"` ConfigMapKeyRefs []CfgMapKeyRef `json:"-"` UsedPorts []SvcNetworkAttr } `json:"resource,omitempty"` }
type Service ¶
type Service struct { Resource struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` Selectors []string `json:"selectors,omitempty"` Type corev1.ServiceType `json:"type,omitempty"` FilePath string `json:"filepath,omitempty"` Kind string `json:"kind,omitempty"` Network []SvcNetworkAttr `json:"network,omitempty"` ExposeToCluster bool `json:"-"` ExposeExternally bool `json:"-"` } `json:"resource,omitempty"` }
type ServicesToExpose ¶ added in v1.8.0
A map from namespaces to a map of service names in each namespaces. For each service we also hold whether they should be exposed externally (true) or just globally inside the cluster (false)
type SvcNetworkAttr ¶
type SvcNetworkAttr struct { Port int `json:"port,omitempty"` TargetPort intstr.IntOrString `json:"target_port,omitempty"` Protocol corev1.Protocol `json:"protocol,omitempty"` }
Click to show internal directories.
Click to hide internal directories.