Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ingress ¶
type Ingress struct { common.ObjectMeta `json:"objectMeta"` common.TypeMeta `json:"typeMeta"` // External endpoints of this ingress. Endpoints []common.Endpoint `json:"endpoints"` }
Ingress - a single ingress returned to the frontend.
func NewIngress ¶
func NewIngress(ingress *extensions.Ingress) *Ingress
NewIngress - creates a new instance of Ingress struct based on K8s Ingress.
type IngressCell ¶
type IngressCell extensions.Ingress
func (IngressCell) GetProperty ¶
func (self IngressCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type IngressDetail ¶
type IngressDetail struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` // TODO(bryk): replace this with UI specific fields. // Spec is the desired state of the Ingress. Spec extensions.IngressSpec `json:"spec"` // Status is the current state of the Ingress. Status extensions.IngressStatus `json:"status"` }
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 returns detailed information about a ingress
type IngressList ¶
type IngressList struct { common.ListMeta `json:"listMeta"` // Unordered list of Ingresss. Items []Ingress `json:"items"` }
IngressList - response structure for a queried ingress list.
func GetIngressList ¶
func GetIngressList(client client.Interface, namespace *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*IngressList, error)
GetIngressList - return all ingresses in the given namespace.
func NewIngressList ¶
func NewIngressList(ingresses []extensions.Ingress, dsQuery *dataselect.DataSelectQuery) *IngressList
NewIngressList - creates a new instance of IngressList struct based on K8s Ingress array.
Click to show internal directories.
Click to hide internal directories.