Documentation ¶
Index ¶
Constants ¶
View Source
const ( // StatusReady represents status is ready StatusReady = "Ready" // StatusSynced represents status is synced, this mean the controller has reconciled but not ready StatusSynced = "Synced" )
View Source
const TypeContour = "contour"
TypeContour is a type of route implementation using [contour ingress](https://github.com/projectcontour/contour)
View Source
const TypeNginx = "nginx"
TypeNginx is a type of route implementation using [Nginx-Ingress](https://github.com/kubernetes/ingress-nginx)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contour ¶
Contour is Contour ingress implementation
func (*Contour) CheckStatus ¶
func (n *Contour) CheckStatus(routeTrait *standardv1alpha1.Route) (string, []runtimev1alpha1.Condition)
CheckStatus will check status of the ingress
type Nginx ¶
Nginx is nginx ingress implementation
func (*Nginx) CheckStatus ¶
func (n *Nginx) CheckStatus(routeTrait *standardv1alpha1.Route) (string, []runtimev1alpha1.Condition)
CheckStatus will check status of the ingress
type RouteIngress ¶
type RouteIngress interface { Construct(routeTrait *standardv1alpha1.Route) []*v1beta1.Ingress CheckStatus(routeTrait *standardv1alpha1.Route) (string, []runtimev1alpha1.Condition) }
RouteIngress is an interface of route ingress implementation
func GetRouteIngress ¶
func GetRouteIngress(provider string, client client.Client) (RouteIngress, error)
GetRouteIngress will get real implementation from type, we could support more in the future.
Click to show internal directories.
Click to hide internal directories.