...

Source file src/sigs.k8s.io/gateway-api/pkg/client/informers/externalversions/apis/v1alpha2/interface.go

Documentation: sigs.k8s.io/gateway-api/pkg/client/informers/externalversions/apis/v1alpha2

     1  /*
     2  Copyright The Kubernetes Authors.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  // Code generated by informer-gen. DO NOT EDIT.
    18  
    19  package v1alpha2
    20  
    21  import (
    22  	internalinterfaces "sigs.k8s.io/gateway-api/pkg/client/informers/externalversions/internalinterfaces"
    23  )
    24  
    25  // Interface provides access to all the informers in this group version.
    26  type Interface interface {
    27  	// BackendTLSPolicies returns a BackendTLSPolicyInformer.
    28  	BackendTLSPolicies() BackendTLSPolicyInformer
    29  	// GRPCRoutes returns a GRPCRouteInformer.
    30  	GRPCRoutes() GRPCRouteInformer
    31  	// Gateways returns a GatewayInformer.
    32  	Gateways() GatewayInformer
    33  	// GatewayClasses returns a GatewayClassInformer.
    34  	GatewayClasses() GatewayClassInformer
    35  	// HTTPRoutes returns a HTTPRouteInformer.
    36  	HTTPRoutes() HTTPRouteInformer
    37  	// ReferenceGrants returns a ReferenceGrantInformer.
    38  	ReferenceGrants() ReferenceGrantInformer
    39  	// TCPRoutes returns a TCPRouteInformer.
    40  	TCPRoutes() TCPRouteInformer
    41  	// TLSRoutes returns a TLSRouteInformer.
    42  	TLSRoutes() TLSRouteInformer
    43  	// UDPRoutes returns a UDPRouteInformer.
    44  	UDPRoutes() UDPRouteInformer
    45  }
    46  
    47  type version struct {
    48  	factory          internalinterfaces.SharedInformerFactory
    49  	namespace        string
    50  	tweakListOptions internalinterfaces.TweakListOptionsFunc
    51  }
    52  
    53  // New returns a new Interface.
    54  func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
    55  	return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
    56  }
    57  
    58  // BackendTLSPolicies returns a BackendTLSPolicyInformer.
    59  func (v *version) BackendTLSPolicies() BackendTLSPolicyInformer {
    60  	return &backendTLSPolicyInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    61  }
    62  
    63  // GRPCRoutes returns a GRPCRouteInformer.
    64  func (v *version) GRPCRoutes() GRPCRouteInformer {
    65  	return &gRPCRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    66  }
    67  
    68  // Gateways returns a GatewayInformer.
    69  func (v *version) Gateways() GatewayInformer {
    70  	return &gatewayInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    71  }
    72  
    73  // GatewayClasses returns a GatewayClassInformer.
    74  func (v *version) GatewayClasses() GatewayClassInformer {
    75  	return &gatewayClassInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
    76  }
    77  
    78  // HTTPRoutes returns a HTTPRouteInformer.
    79  func (v *version) HTTPRoutes() HTTPRouteInformer {
    80  	return &hTTPRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    81  }
    82  
    83  // ReferenceGrants returns a ReferenceGrantInformer.
    84  func (v *version) ReferenceGrants() ReferenceGrantInformer {
    85  	return &referenceGrantInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    86  }
    87  
    88  // TCPRoutes returns a TCPRouteInformer.
    89  func (v *version) TCPRoutes() TCPRouteInformer {
    90  	return &tCPRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    91  }
    92  
    93  // TLSRoutes returns a TLSRouteInformer.
    94  func (v *version) TLSRoutes() TLSRouteInformer {
    95  	return &tLSRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    96  }
    97  
    98  // UDPRoutes returns a UDPRouteInformer.
    99  func (v *version) UDPRoutes() UDPRouteInformer {
   100  	return &uDPRouteInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
   101  }
   102  

View as plain text