Documentation ¶
Index ¶
- Variables
- type CloneableIngress
- type Ingress
- type IngressClient
- type IngressList
- func (list IngressList) AsInterfaces() []interface{}
- func (list IngressList) AsResources() resources.ResourceList
- func (list IngressList) Clone() IngressList
- func (list IngressList) Each(f func(element *Ingress))
- func (list IngressList) EachResource(f func(element resources.Resource))
- func (list IngressList) Find(namespace, name string) (*Ingress, error)
- func (list IngressList) Names() []string
- func (list IngressList) NamespacesDotNames() []string
- func (list IngressList) Sort() IngressList
- type IngressReconciler
- type IngressWatcher
- type TransitionIngressFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var (
IngressGVK = schema.GroupVersionKind{
Version: "v1alpha1",
Group: "networking.internal.knative.dev",
Kind: "Ingress",
}
)
Functions ¶
This section is empty.
Types ¶
type CloneableIngress ¶
type CloneableIngress interface { resources.Resource Clone() *github_com_solo_io_gloo_projects_knative_api_external_knative.Ingress }
type Ingress ¶
type Ingress struct {
github_com_solo_io_gloo_projects_knative_api_external_knative.Ingress
}
func NewIngress ¶
func (*Ingress) GroupVersionKind ¶
func (r *Ingress) GroupVersionKind() schema.GroupVersionKind
type IngressClient ¶
type IngressClient interface { BaseClient() clients.ResourceClient Register() error Read(namespace, name string, opts clients.ReadOpts) (*Ingress, error) Write(resource *Ingress, opts clients.WriteOpts) (*Ingress, error) Delete(namespace, name string, opts clients.DeleteOpts) error List(namespace string, opts clients.ListOpts) (IngressList, error) IngressWatcher }
func NewIngressClient ¶
func NewIngressClient(rcFactory factory.ResourceClientFactory) (IngressClient, error)
func NewIngressClientWithBase ¶
func NewIngressClientWithBase(rc clients.ResourceClient) IngressClient
func NewIngressClientWithToken ¶
func NewIngressClientWithToken(rcFactory factory.ResourceClientFactory, token string) (IngressClient, error)
type IngressList ¶
type IngressList []*Ingress
func (IngressList) AsInterfaces ¶
func (list IngressList) AsInterfaces() []interface{}
func (IngressList) AsResources ¶
func (list IngressList) AsResources() resources.ResourceList
func (IngressList) Clone ¶
func (list IngressList) Clone() IngressList
func (IngressList) Each ¶
func (list IngressList) Each(f func(element *Ingress))
func (IngressList) EachResource ¶
func (list IngressList) EachResource(f func(element resources.Resource))
func (IngressList) Find ¶
func (list IngressList) Find(namespace, name string) (*Ingress, error)
namespace is optional, if left empty, names can collide if the list contains more than one with the same name
func (IngressList) Names ¶
func (list IngressList) Names() []string
func (IngressList) NamespacesDotNames ¶
func (list IngressList) NamespacesDotNames() []string
func (IngressList) Sort ¶
func (list IngressList) Sort() IngressList
type IngressReconciler ¶
type IngressReconciler interface {
Reconcile(namespace string, desiredResources IngressList, transition TransitionIngressFunc, opts clients.ListOpts) error
}
func NewIngressReconciler ¶
func NewIngressReconciler(client IngressClient) IngressReconciler
type IngressWatcher ¶
type TransitionIngressFunc ¶
Option to copy anything from the original to the desired before writing. Return value of false means don't update
Click to show internal directories.
Click to hide internal directories.