Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterIngressByService ¶
func FilterIngressByService(ingresses []networkingv1.Ingress, serviceName string) []networkingv1.Ingress
Types ¶
type Ingress ¶
type Ingress struct { api.ObjectMeta `json:"objectMeta"` api.TypeMeta `json:"typeMeta"` // External endpoints of this ingress. Endpoints []common.Endpoint `json:"endpoints"` Hosts []string `json:"hosts"` }
Ingress - a single ingress returned to the frontend.
type IngressCell ¶
func (IngressCell) GetProperty ¶
func (self IngressCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type IngressDetail ¶
type IngressDetail struct { // Extends list item structure. Ingress `json:",inline"` // Spec is the desired state of the Ingress. Spec v1.IngressSpec `json:"spec"` // Status is the current state of the Ingress. Status v1.IngressStatus `json:"status"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
IngressDetail API resource provides mechanisms to inject containers with configuration data while keeping containers agnostic of Kubernetes
func GetIngressDetail ¶
func GetIngressDetail(client client.Interface, namespace, name string) (*IngressDetail, error)
GetIngressDetail returns detailed information about an ingress
type IngressList ¶
type IngressList struct { api.ListMeta `json:"listMeta"` // Unordered list of Ingresss. Items []Ingress `json:"items"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
IngressList - response structure for a queried ingress list.
func GetIngressList ¶
func GetIngressList(client client.Interface, namespace *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*IngressList, error)
GetIngressList returns all ingresses in the given namespace.
func ToIngressList ¶
func ToIngressList(ingresses []v1.Ingress, nonCriticalErrors []error, dsQuery *dataselect.DataSelectQuery) *IngressList
Click to show internal directories.
Click to hide internal directories.