ingress

package
v1.0.3-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteQuery

func DeleteQuery() interface{}

func ListSelectQuery

func ListSelectQuery(namespaceID string) interface{}

func OneSelectQuery

func OneSelectQuery(namespaceID, name string) interface{}

Types

type IngressList

type IngressList []IngressResource

IngressList -- ingresses list

swagger:model

type IngressResource

type IngressResource struct {
	model.Ingress
	ID          string `json:"_id" bson:"_id,omitempty"`
	Deleted     bool   `json:"deleted"`
	NamespaceID string `json:"namespaceid"`
}

IngressResource -- model for ingress for resource-service db

swagger:model

func IngressFromKube

func IngressFromKube(nsID, owner string, ingress model.Ingress) IngressResource

func (IngressResource) AllSelectOwnerQuery

func (ingr IngressResource) AllSelectOwnerQuery() interface{}

func (IngressResource) AllSelectQuery

func (ingr IngressResource) AllSelectQuery() interface{}

func (IngressResource) Copy

func (ingr IngressResource) Copy() IngressResource

func (IngressResource) OneSelectDeletedQuery

func (ingr IngressResource) OneSelectDeletedQuery() interface{}

func (IngressResource) OneSelectQuery

func (ingr IngressResource) OneSelectQuery() interface{}

func (IngressResource) Paths

func (ingr IngressResource) Paths() []model.Path

func (IngressResource) UpdateQuery

func (ingr IngressResource) UpdateQuery() interface{}

type IngressesResponse added in v1.0.3

type IngressesResponse struct {
	Ingresses IngressList `json:"ingresses"`
}
IngressesResponse -- ingresses response

swagger:model

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL