Documentation
¶
Index ¶
- type AuthConfigWrapper
- type DirectResponseWrapper
- type GatewayParametersWrapper
- type GatewayWrapper
- type GlooGatewayWrapper
- type HTTPListenerOptionWrapper
- type HTTPRouteWrapper
- type Instance
- func (i *Instance) AddAuthConfig(d *AuthConfigWrapper)
- func (i *Instance) AddDirectResponse(d *DirectResponseWrapper)
- func (i *Instance) AddGateway(route *GatewayWrapper)
- func (i *Instance) AddGatewayParameters(w *GatewayParametersWrapper)
- func (i *Instance) AddGlooGateway(g *GlooGatewayWrapper)
- func (i *Instance) AddHTTPListenerOption(h *HTTPListenerOptionWrapper)
- func (i *Instance) AddHTTPRoute(route *HTTPRouteWrapper)
- func (i *Instance) AddListenerOption(l *ListenerOptionWrapper)
- func (i *Instance) AddListenerSet(l *ListenerSetWrapper)
- func (i *Instance) AddRouteOption(r *RouteOptionWrapper)
- func (i *Instance) AddRouteTable(r *RouteTableWrapper)
- func (i *Instance) AddSettings(d *SettingsWrapper)
- func (i *Instance) AddUpstream(u *UpstreamWrapper)
- func (i *Instance) AddVirtualHostOption(v *VirtualHostOptionWrapper)
- func (i *Instance) AddVirtualService(v *VirtualServiceWrapper)
- func (i *Instance) AddYamlObject(y *YAMLWrapper)
- func (i *Instance) AuthConfigs() map[types.NamespacedName]*AuthConfigWrapper
- func (i *Instance) DelegatedRouteTables(namespace string, delegateAction *api.DelegateAction) ([]*RouteTableWrapper, error)
- func (i *Instance) DirectResponses() map[types.NamespacedName]*DirectResponseWrapper
- func (i *Instance) GatewayParameters() map[types.NamespacedName]*GatewayParametersWrapper
- func (i *Instance) Gateways() map[types.NamespacedName]*GatewayWrapper
- func (i *Instance) GetUpstream(namespacedName types.NamespacedName) *UpstreamWrapper
- func (i *Instance) GlooGatewayVirtualServices(gateway *GlooGatewayWrapper) ([]*VirtualServiceWrapper, error)
- func (i *Instance) GlooGateways() map[types.NamespacedName]*GlooGatewayWrapper
- func (i *Instance) HTTPListenerOptions() map[types.NamespacedName]*HTTPListenerOptionWrapper
- func (i *Instance) HTTPRoutes() map[types.NamespacedName]*HTTPRouteWrapper
- func (i *Instance) ListenerOptions() map[types.NamespacedName]*ListenerOptionWrapper
- func (i *Instance) ListenerSets() map[types.NamespacedName]*ListenerSetWrapper
- func (i *Instance) ParseErrors() []error
- func (i *Instance) RouteOptions() map[types.NamespacedName]*RouteOptionWrapper
- func (i *Instance) RouteTables() map[types.NamespacedName]*RouteTableWrapper
- func (i *Instance) Settings() map[types.NamespacedName]*SettingsWrapper
- func (i *Instance) Upstreams() map[types.NamespacedName]*UpstreamWrapper
- func (i *Instance) VirtualHostOptions() map[types.NamespacedName]*VirtualHostOptionWrapper
- func (i *Instance) VirtualServices() map[types.NamespacedName]*VirtualServiceWrapper
- func (i *Instance) VirtualServicesByNameNamespace(name, namespace string) []*VirtualServiceWrapper
- func (i *Instance) YAMLObjects() []*YAMLWrapper
- type ListenerOptionWrapper
- type ListenerSetWrapper
- type RouteOptionWrapper
- type RouteTableWrapper
- type SettingsWrapper
- type UpstreamWrapper
- type VirtualHostOptionWrapper
- type VirtualServiceWrapper
- type Wrapper
- type YAMLWrapper
- func (w *YAMLWrapper) FileOrigin() string
- func (w *YAMLWrapper) GetLabels() map[string]string
- func (w *YAMLWrapper) GetName() string
- func (w *YAMLWrapper) GetNamespace() string
- func (w *YAMLWrapper) HasFileOrigin(fileOrigin string) *YAMLWrapper
- func (w *YAMLWrapper) Index() types.NamespacedName
- func (w *YAMLWrapper) ObjectKind() schema.ObjectKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfigWrapper ¶
type AuthConfigWrapper struct {
*v1.AuthConfig
// contains filtered or unexported fields
}
func NewAuthConfigWrapper ¶
func NewAuthConfigWrapper(authConfig *v1.AuthConfig, fileOrigin string) *AuthConfigWrapper
func (*AuthConfigWrapper) FileOrigin ¶
func (w *AuthConfigWrapper) FileOrigin() string
func (*AuthConfigWrapper) HasFileOrigin ¶
func (w *AuthConfigWrapper) HasFileOrigin(fileOrigin string) *AuthConfigWrapper
func (*AuthConfigWrapper) Index ¶
func (w *AuthConfigWrapper) Index() types.NamespacedName
type DirectResponseWrapper ¶
type DirectResponseWrapper struct {
*v1alpha1.DirectResponse
// contains filtered or unexported fields
}
func NewDirectResponseWrapper ¶
func NewDirectResponseWrapper(resp *v1alpha1.DirectResponse, fileOrigin string) *DirectResponseWrapper
func (*DirectResponseWrapper) FileOrigin ¶
func (w *DirectResponseWrapper) FileOrigin() string
func (*DirectResponseWrapper) HasFileOrigin ¶
func (w *DirectResponseWrapper) HasFileOrigin(fileOrigin string) *DirectResponseWrapper
func (*DirectResponseWrapper) Index ¶
func (w *DirectResponseWrapper) Index() types.NamespacedName
type GatewayParametersWrapper ¶
type GatewayParametersWrapper struct {
*v1alpha1.GatewayParameters
// contains filtered or unexported fields
}
func NewGatewayParametersWrapper ¶
func NewGatewayParametersWrapper(params *v1alpha1.GatewayParameters, fileOrigin string) *GatewayParametersWrapper
func (*GatewayParametersWrapper) FileOrigin ¶
func (w *GatewayParametersWrapper) FileOrigin() string
func (*GatewayParametersWrapper) HasFileOrigin ¶
func (w *GatewayParametersWrapper) HasFileOrigin(fileOrigin string) *GatewayParametersWrapper
func (*GatewayParametersWrapper) Index ¶
func (w *GatewayParametersWrapper) Index() types.NamespacedName
type GatewayWrapper ¶
func NewGatewayWrapper ¶
func NewGatewayWrapper(gw *gwv1.Gateway, fileOrigin string) *GatewayWrapper
func (*GatewayWrapper) FileOrigin ¶
func (w *GatewayWrapper) FileOrigin() string
func (*GatewayWrapper) HasFileOrigin ¶
func (w *GatewayWrapper) HasFileOrigin(fileOrigin string) *GatewayWrapper
func (*GatewayWrapper) Index ¶
func (w *GatewayWrapper) Index() types.NamespacedName
type GlooGatewayWrapper ¶
type GlooGatewayWrapper struct {
*gatewaykube.Gateway
// contains filtered or unexported fields
}
func NewGlooGatewayWrapper ¶
func NewGlooGatewayWrapper(gateway *gatewaykube.Gateway, fileOrigin string) *GlooGatewayWrapper
func (*GlooGatewayWrapper) FileOrigin ¶
func (w *GlooGatewayWrapper) FileOrigin() string
func (*GlooGatewayWrapper) HasFileOrigin ¶
func (w *GlooGatewayWrapper) HasFileOrigin(fileOrigin string) *GlooGatewayWrapper
func (*GlooGatewayWrapper) Index ¶
func (w *GlooGatewayWrapper) Index() types.NamespacedName
type HTTPListenerOptionWrapper ¶
type HTTPListenerOptionWrapper struct {
*gatewaykube.HttpListenerOption
// contains filtered or unexported fields
}
func NewHTTPListenerOptionWrapper ¶
func NewHTTPListenerOptionWrapper(opt *gatewaykube.HttpListenerOption, fileOrigin string) *HTTPListenerOptionWrapper
func (*HTTPListenerOptionWrapper) FileOrigin ¶
func (w *HTTPListenerOptionWrapper) FileOrigin() string
func (*HTTPListenerOptionWrapper) HasFileOrigin ¶
func (w *HTTPListenerOptionWrapper) HasFileOrigin(fileOrigin string) *HTTPListenerOptionWrapper
func (*HTTPListenerOptionWrapper) Index ¶
func (w *HTTPListenerOptionWrapper) Index() types.NamespacedName
type HTTPRouteWrapper ¶
func NewHTTPRouteWrapper ¶
func NewHTTPRouteWrapper(httpRoute *gwv1.HTTPRoute, fileOrigin string) *HTTPRouteWrapper
func (*HTTPRouteWrapper) FileOrigin ¶
func (w *HTTPRouteWrapper) FileOrigin() string
func (*HTTPRouteWrapper) HasFileOrigin ¶
func (w *HTTPRouteWrapper) HasFileOrigin(fileOrigin string) *HTTPRouteWrapper
func (*HTTPRouteWrapper) Index ¶
func (w *HTTPRouteWrapper) Index() types.NamespacedName
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func FromGlooSnapshot ¶
func FromYamlFiles ¶
func (*Instance) AddAuthConfig ¶
func (i *Instance) AddAuthConfig(d *AuthConfigWrapper)
func (*Instance) AddDirectResponse ¶
func (i *Instance) AddDirectResponse(d *DirectResponseWrapper)
func (*Instance) AddGateway ¶
func (i *Instance) AddGateway(route *GatewayWrapper)
func (*Instance) AddGatewayParameters ¶
func (i *Instance) AddGatewayParameters(w *GatewayParametersWrapper)
func (*Instance) AddGlooGateway ¶
func (i *Instance) AddGlooGateway(g *GlooGatewayWrapper)
func (*Instance) AddHTTPListenerOption ¶
func (i *Instance) AddHTTPListenerOption(h *HTTPListenerOptionWrapper)
func (*Instance) AddHTTPRoute ¶
func (i *Instance) AddHTTPRoute(route *HTTPRouteWrapper)
func (*Instance) AddListenerOption ¶
func (i *Instance) AddListenerOption(l *ListenerOptionWrapper)
func (*Instance) AddListenerSet ¶
func (i *Instance) AddListenerSet(l *ListenerSetWrapper)
func (*Instance) AddRouteOption ¶
func (i *Instance) AddRouteOption(r *RouteOptionWrapper)
func (*Instance) AddRouteTable ¶
func (i *Instance) AddRouteTable(r *RouteTableWrapper)
func (*Instance) AddSettings ¶
func (i *Instance) AddSettings(d *SettingsWrapper)
func (*Instance) AddUpstream ¶
func (i *Instance) AddUpstream(u *UpstreamWrapper)
func (*Instance) AddVirtualHostOption ¶
func (i *Instance) AddVirtualHostOption(v *VirtualHostOptionWrapper)
func (*Instance) AddVirtualService ¶
func (i *Instance) AddVirtualService(v *VirtualServiceWrapper)
func (*Instance) AddYamlObject ¶
func (i *Instance) AddYamlObject(y *YAMLWrapper)
func (*Instance) AuthConfigs ¶
func (i *Instance) AuthConfigs() map[types.NamespacedName]*AuthConfigWrapper
func (*Instance) DelegatedRouteTables ¶
func (i *Instance) DelegatedRouteTables(namespace string, delegateAction *api.DelegateAction) ([]*RouteTableWrapper, error)
DelegatedRouteTables finds all RouteTables that match the virtual service delegate selector
func (*Instance) DirectResponses ¶
func (i *Instance) DirectResponses() map[types.NamespacedName]*DirectResponseWrapper
func (*Instance) GatewayParameters ¶
func (i *Instance) GatewayParameters() map[types.NamespacedName]*GatewayParametersWrapper
func (*Instance) Gateways ¶
func (i *Instance) Gateways() map[types.NamespacedName]*GatewayWrapper
func (*Instance) GetUpstream ¶
func (i *Instance) GetUpstream(namespacedName types.NamespacedName) *UpstreamWrapper
func (*Instance) GlooGatewayVirtualServices ¶
func (i *Instance) GlooGatewayVirtualServices(gateway *GlooGatewayWrapper) ([]*VirtualServiceWrapper, error)
GlooGatewayVirtualServices finds all VirtualServiceWrapper that match the gateways selectors
func (*Instance) GlooGateways ¶
func (i *Instance) GlooGateways() map[types.NamespacedName]*GlooGatewayWrapper
func (*Instance) HTTPListenerOptions ¶
func (i *Instance) HTTPListenerOptions() map[types.NamespacedName]*HTTPListenerOptionWrapper
func (*Instance) HTTPRoutes ¶
func (i *Instance) HTTPRoutes() map[types.NamespacedName]*HTTPRouteWrapper
func (*Instance) ListenerOptions ¶
func (i *Instance) ListenerOptions() map[types.NamespacedName]*ListenerOptionWrapper
func (*Instance) ListenerSets ¶
func (i *Instance) ListenerSets() map[types.NamespacedName]*ListenerSetWrapper
func (*Instance) ParseErrors ¶
func (*Instance) RouteOptions ¶
func (i *Instance) RouteOptions() map[types.NamespacedName]*RouteOptionWrapper
func (*Instance) RouteTables ¶
func (i *Instance) RouteTables() map[types.NamespacedName]*RouteTableWrapper
func (*Instance) Settings ¶
func (i *Instance) Settings() map[types.NamespacedName]*SettingsWrapper
func (*Instance) Upstreams ¶
func (i *Instance) Upstreams() map[types.NamespacedName]*UpstreamWrapper
func (*Instance) VirtualHostOptions ¶
func (i *Instance) VirtualHostOptions() map[types.NamespacedName]*VirtualHostOptionWrapper
func (*Instance) VirtualServices ¶
func (i *Instance) VirtualServices() map[types.NamespacedName]*VirtualServiceWrapper
func (*Instance) VirtualServicesByNameNamespace ¶
func (i *Instance) VirtualServicesByNameNamespace(name, namespace string) []*VirtualServiceWrapper
func (*Instance) YAMLObjects ¶
func (i *Instance) YAMLObjects() []*YAMLWrapper
type ListenerOptionWrapper ¶
type ListenerOptionWrapper struct {
*gatewaykube.ListenerOption
// contains filtered or unexported fields
}
func NewListenerOptionWrapper ¶
func NewListenerOptionWrapper(opt *gatewaykube.ListenerOption, fileOrigin string) *ListenerOptionWrapper
func (*ListenerOptionWrapper) FileOrigin ¶
func (w *ListenerOptionWrapper) FileOrigin() string
func (*ListenerOptionWrapper) HasFileOrigin ¶
func (w *ListenerOptionWrapper) HasFileOrigin(fileOrigin string) *ListenerOptionWrapper
func (*ListenerOptionWrapper) Index ¶
func (w *ListenerOptionWrapper) Index() types.NamespacedName
type ListenerSetWrapper ¶
type ListenerSetWrapper struct {
*apixv1a1.XListenerSet
// contains filtered or unexported fields
}
func NewListenerSetWrapper ¶
func NewListenerSetWrapper(listenerSet *apixv1a1.XListenerSet, fileOrigin string) *ListenerSetWrapper
func (*ListenerSetWrapper) FileOrigin ¶
func (w *ListenerSetWrapper) FileOrigin() string
func (*ListenerSetWrapper) HasFileOrigin ¶
func (w *ListenerSetWrapper) HasFileOrigin(fileOrigin string) *ListenerSetWrapper
func (*ListenerSetWrapper) Index ¶
func (w *ListenerSetWrapper) Index() types.NamespacedName
type RouteOptionWrapper ¶
type RouteOptionWrapper struct {
*gatewaykube.RouteOption
// contains filtered or unexported fields
}
func NewRouteOptionWrapper ¶
func NewRouteOptionWrapper(opt *gatewaykube.RouteOption, fileOrigin string) *RouteOptionWrapper
func (*RouteOptionWrapper) FileOrigin ¶
func (w *RouteOptionWrapper) FileOrigin() string
func (*RouteOptionWrapper) HasFileOrigin ¶
func (w *RouteOptionWrapper) HasFileOrigin(fileOrigin string) *RouteOptionWrapper
func (*RouteOptionWrapper) Index ¶
func (w *RouteOptionWrapper) Index() types.NamespacedName
type RouteTableWrapper ¶
type RouteTableWrapper struct {
*gatewaykube.RouteTable
// contains filtered or unexported fields
}
func (*RouteTableWrapper) FileOrigin ¶
func (w *RouteTableWrapper) FileOrigin() string
func (*RouteTableWrapper) HasFileOrigin ¶
func (w *RouteTableWrapper) HasFileOrigin(fileOrigin string) *RouteTableWrapper
func (*RouteTableWrapper) Index ¶
func (w *RouteTableWrapper) Index() types.NamespacedName
type SettingsWrapper ¶
func NewSettingsWrapper ¶
func NewSettingsWrapper(settings *glookube.Settings, fileOrigin string) *SettingsWrapper
func (*SettingsWrapper) FileOrigin ¶
func (w *SettingsWrapper) FileOrigin() string
func (*SettingsWrapper) HasFileOrigin ¶
func (w *SettingsWrapper) HasFileOrigin(fileOrigin string) *SettingsWrapper
func (*SettingsWrapper) Index ¶
func (w *SettingsWrapper) Index() types.NamespacedName
type UpstreamWrapper ¶
func NewUpstreamWrapper ¶
func NewUpstreamWrapper(upstream *glookube.Upstream, fileOrigin string) *UpstreamWrapper
func (*UpstreamWrapper) FileOrigin ¶
func (w *UpstreamWrapper) FileOrigin() string
func (*UpstreamWrapper) HasFileOrigin ¶
func (w *UpstreamWrapper) HasFileOrigin(fileOrigin string) *UpstreamWrapper
func (*UpstreamWrapper) Index ¶
func (w *UpstreamWrapper) Index() types.NamespacedName
type VirtualHostOptionWrapper ¶
type VirtualHostOptionWrapper struct {
*gatewaykube.VirtualHostOption
// contains filtered or unexported fields
}
func NewVirtualHostOptionWrapper ¶
func NewVirtualHostOptionWrapper(opt *gatewaykube.VirtualHostOption, fileOrigin string) *VirtualHostOptionWrapper
func (*VirtualHostOptionWrapper) FileOrigin ¶
func (w *VirtualHostOptionWrapper) FileOrigin() string
func (*VirtualHostOptionWrapper) HasFileOrigin ¶
func (w *VirtualHostOptionWrapper) HasFileOrigin(fileOrigin string) *VirtualHostOptionWrapper
func (*VirtualHostOptionWrapper) Index ¶
func (w *VirtualHostOptionWrapper) Index() types.NamespacedName
type VirtualServiceWrapper ¶
type VirtualServiceWrapper struct {
*gatewaykube.VirtualService
// contains filtered or unexported fields
}
func NewVirtualServiceWrapper ¶
func NewVirtualServiceWrapper(virtualService *gatewaykube.VirtualService, fileOrigin string) *VirtualServiceWrapper
func (*VirtualServiceWrapper) FileOrigin ¶
func (w *VirtualServiceWrapper) FileOrigin() string
func (*VirtualServiceWrapper) HasFileOrigin ¶
func (w *VirtualServiceWrapper) HasFileOrigin(fileOrigin string) *VirtualServiceWrapper
func (*VirtualServiceWrapper) Index ¶
func (w *VirtualServiceWrapper) Index() types.NamespacedName
type Wrapper ¶
type Wrapper interface {
GetName() string
GetNamespace() string
Index() types.NamespacedName
GetLabels() map[string]string
GetObjectKind() schema.ObjectKind
FileOrigin() string
}
type YAMLWrapper ¶
func NewYAMLWrapper ¶
func NewYAMLWrapper(obj runtime.Object, fileOrigin string) *YAMLWrapper
func (*YAMLWrapper) FileOrigin ¶
func (w *YAMLWrapper) FileOrigin() string
func (*YAMLWrapper) GetLabels ¶
func (w *YAMLWrapper) GetLabels() map[string]string
func (*YAMLWrapper) GetName ¶
func (w *YAMLWrapper) GetName() string
func (*YAMLWrapper) GetNamespace ¶
func (w *YAMLWrapper) GetNamespace() string
func (*YAMLWrapper) HasFileOrigin ¶
func (w *YAMLWrapper) HasFileOrigin(fileOrigin string) *YAMLWrapper
func (*YAMLWrapper) Index ¶
func (w *YAMLWrapper) Index() types.NamespacedName
func (*YAMLWrapper) ObjectKind ¶
func (w *YAMLWrapper) ObjectKind() schema.ObjectKind
Click to show internal directories.
Click to hide internal directories.