feat: adjust sample to mvp #1

Merged
t.behrendt merged 14 commits from feat-adjust-sample-to-mvp into main 2026-05-17 14:39:47 +02:00
34 changed files with 273 additions and 267 deletions
Showing only changes of commit 9b0d6a3279 - Show all commits
+5 -1
View File
@@ -19,7 +19,7 @@ Currently only the "Forward Single" ProxyProvider is supported and only a reduce
Example [`proxyProvider.yaml`](`artifacts/examples/proxyProvider.yaml`): Example [`proxyProvider.yaml`](`artifacts/examples/proxyProvider.yaml`):
```yaml ```yaml
apiVersion: proxyprovider.t000-n.de/v1 apiVersion: proxyprovider.t000-n.de/v1alpha1
kind: ProxyProvider kind: ProxyProvider
metadata: metadata:
name: proxy-provider-example name: proxy-provider-example
@@ -35,3 +35,7 @@ spec:
``` ```
The ProxyProvider will be created in Authentik, but will not be assigned to an outpost or an application (Resources are TBD). The ProxyProvider will be created in Authentik, but will not be assigned to an outpost or an application (Resources are TBD).
## Versioning
As soon as the operator covers an entire use case, the version will be raised to v1 and follow default versioning rules. Before that, the version will be v1alpha1.
+1 -1
View File
@@ -7,7 +7,7 @@ metadata:
spec: spec:
group: proxyprovider.t000-n.de group: proxyprovider.t000-n.de
versions: versions:
- name: v1 - name: v1alpha1
served: true served: true
storage: true storage: true
subresources: subresources:
+1 -1
View File
@@ -1,5 +1,5 @@
# Example ProxyProvider CRD # Example ProxyProvider CRD
apiVersion: proxyprovider.t000-n.de/v1 apiVersion: proxyprovider.t000-n.de/v1alpha1
kind: ProxyProvider kind: ProxyProvider
metadata: metadata:
name: proxy-provider-example name: proxy-provider-example
+11 -11
View File
@@ -39,11 +39,11 @@ import (
"k8s.io/client-go/util/workqueue" "k8s.io/client-go/util/workqueue"
"k8s.io/klog/v2" "k8s.io/klog/v2"
v1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1" v1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1"
clientset "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned" clientset "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned"
operatorscheme "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/scheme" operatorscheme "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/scheme"
informers "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/informers/externalversions/proxyprovider/v1" informers "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/informers/externalversions/proxyprovider/v1alpha1"
listers "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/listers/proxyprovider/v1" listers "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/listers/proxyprovider/v1alpha1"
authentikapi "goauthentik.io/api/v3" authentikapi "goauthentik.io/api/v3"
) )
@@ -196,12 +196,12 @@ func (c *Controller) syncHandler(ctx context.Context, objectRef cache.ObjectName
return c.reconcileUpdate(ctx, pp) return c.reconcileUpdate(ctx, pp)
} }
func (c *Controller) ensureFinalizers(ctx context.Context, pp *v1.ProxyProvider) error { func (c *Controller) ensureFinalizers(ctx context.Context, pp *v1alpha1.ProxyProvider) error {
pp.ObjectMeta.Finalizers = append(pp.ObjectMeta.Finalizers, DeleteAuthentikProxyProviderFinalizer) pp.ObjectMeta.Finalizers = append(pp.ObjectMeta.Finalizers, DeleteAuthentikProxyProviderFinalizer)
return c.updateProxyProvider(ctx, pp) return c.updateProxyProvider(ctx, pp)
} }
func (c *Controller) reconcileDelete(ctx context.Context, pp *v1.ProxyProvider) error { func (c *Controller) reconcileDelete(ctx context.Context, pp *v1alpha1.ProxyProvider) error {
pk, err := strconv.ParseInt(pp.Status.PK, 10, 32) pk, err := strconv.ParseInt(pp.Status.PK, 10, 32)
if err != nil { if err != nil {
return fmt.Errorf("error parsing PK: %v", err) return fmt.Errorf("error parsing PK: %v", err)
@@ -219,7 +219,7 @@ func (c *Controller) reconcileDelete(ctx context.Context, pp *v1.ProxyProvider)
return c.updateProxyProvider(ctx, pp) return c.updateProxyProvider(ctx, pp)
} }
func (c *Controller) reconcileUpdate(ctx context.Context, pp *v1.ProxyProvider) error { func (c *Controller) reconcileUpdate(ctx context.Context, pp *v1alpha1.ProxyProvider) error {
// We retrieve the existing PP from the API by slug. // We retrieve the existing PP from the API by slug.
pk, err := strconv.ParseInt(pp.Status.PK, 10, 32) pk, err := strconv.ParseInt(pp.Status.PK, 10, 32)
if err != nil { if err != nil {
@@ -252,7 +252,7 @@ func (c *Controller) reconcileUpdate(ctx context.Context, pp *v1.ProxyProvider)
return c.updateProxyProviderStatus(ctx, pp) return c.updateProxyProviderStatus(ctx, pp)
} }
func (c *Controller) reconcileCreate(ctx context.Context, pp *v1.ProxyProvider) error { func (c *Controller) reconcileCreate(ctx context.Context, pp *v1alpha1.ProxyProvider) error {
proxyProviderRequest := &authentikapi.ProxyProviderRequest{ proxyProviderRequest := &authentikapi.ProxyProviderRequest{
Name: pp.Spec.Name, Name: pp.Spec.Name,
AuthorizationFlow: pp.Spec.AuthorizationFlow, AuthorizationFlow: pp.Spec.AuthorizationFlow,
@@ -278,16 +278,16 @@ func (c *Controller) enqueueProxyProvider(obj interface{}) {
c.workqueue.Add(objectRef) c.workqueue.Add(objectRef)
} }
func (c *Controller) updateProxyProviderStatus(ctx context.Context, pp *v1.ProxyProvider) error { func (c *Controller) updateProxyProviderStatus(ctx context.Context, pp *v1alpha1.ProxyProvider) error {
ppCopy := pp.DeepCopy() ppCopy := pp.DeepCopy()
_, err := c.proxyProviderClientset.ProxyproviderV1().ProxyProviders(ppCopy.Namespace).UpdateStatus(ctx, ppCopy, metav1.UpdateOptions{FieldManager: FieldManager}) _, err := c.proxyProviderClientset.ProxyproviderV1alpha1().ProxyProviders(ppCopy.Namespace).UpdateStatus(ctx, ppCopy, metav1.UpdateOptions{FieldManager: FieldManager})
return err return err
} }
// Update metadata, spec, etc. of the ProxyProvider object. // Update metadata, spec, etc. of the ProxyProvider object.
func (c *Controller) updateProxyProvider(ctx context.Context, pp *v1.ProxyProvider) error { func (c *Controller) updateProxyProvider(ctx context.Context, pp *v1alpha1.ProxyProvider) error {
ppCopy := pp.DeepCopy() ppCopy := pp.DeepCopy()
_, err := c.proxyProviderClientset.ProxyproviderV1().ProxyProviders(ppCopy.Namespace).Update(ctx, ppCopy, metav1.UpdateOptions{FieldManager: FieldManager}) _, err := c.proxyProviderClientset.ProxyproviderV1alpha1().ProxyProviders(ppCopy.Namespace).Update(ctx, ppCopy, metav1.UpdateOptions{FieldManager: FieldManager})
if err != nil { if err != nil {
return fmt.Errorf("error updating ProxyProvider metadata: %v", err) return fmt.Errorf("error updating ProxyProvider metadata: %v", err)
} }
@@ -1,6 +1,6 @@
API rule violation: names_match,gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1,ProxyProviderSpec,AuthorizationFlow API rule violation: names_match,gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1,ProxyProviderSpec,AuthorizationFlow
API rule violation: names_match,gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1,ProxyProviderSpec,ExternalHost API rule violation: names_match,gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1,ProxyProviderSpec,ExternalHost
API rule violation: names_match,gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1,ProxyProviderSpec,InvalidationFlow API rule violation: names_match,gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1,ProxyProviderSpec,InvalidationFlow
API rule violation: names_match,k8s.io/apimachinery/pkg/api/resource,Quantity,Format API rule violation: names_match,k8s.io/apimachinery/pkg/api/resource,Quantity,Format
API rule violation: names_match,k8s.io/apimachinery/pkg/api/resource,Quantity,d API rule violation: names_match,k8s.io/apimachinery/pkg/api/resource,Quantity,d
API rule violation: names_match,k8s.io/apimachinery/pkg/api/resource,Quantity,i API rule violation: names_match,k8s.io/apimachinery/pkg/api/resource,Quantity,i
+1 -1
View File
@@ -76,7 +76,7 @@ func main() {
proxyProviderInformerFactory := informers.NewSharedInformerFactory(proxyProviderClient, time.Second*30) proxyProviderInformerFactory := informers.NewSharedInformerFactory(proxyProviderClient, time.Second*30)
controller := NewController(ctx, kubeClient, proxyProviderClient, authentikClient, controller := NewController(ctx, kubeClient, proxyProviderClient, authentikClient,
proxyProviderInformerFactory.Proxyprovider().V1().ProxyProviders(), proxyProviderInformerFactory.Proxyprovider().V1alpha1().ProxyProviders(),
) )
// notice that there is no need to run Start methods in a separate goroutine. (i.e. go kubeInformerFactory.Start(ctx.done()) // notice that there is no need to run Start methods in a separate goroutine. (i.e. go kubeInformerFactory.Start(ctx.done())
@@ -19,4 +19,4 @@ limitations under the License.
// +groupName=proxyprovider.t000-n.de // +groupName=proxyprovider.t000-n.de
// Package v1 is the v1 version of the API. // Package v1 is the v1 version of the API.
package v1 package v1alpha1
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
package v1 package v1alpha1
import ( import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -19,7 +19,7 @@ limitations under the License.
// Code generated by deepcopy-gen. DO NOT EDIT. // Code generated by deepcopy-gen. DO NOT EDIT.
package v1 package v1alpha1
import ( import (
runtime "k8s.io/apimachinery/pkg/runtime" runtime "k8s.io/apimachinery/pkg/runtime"
@@ -19,10 +19,10 @@ limitations under the License.
// Code generated by register-gen. DO NOT EDIT. // Code generated by register-gen. DO NOT EDIT.
package v1 package v1alpha1
import ( import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime" runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema" schema "k8s.io/apimachinery/pkg/runtime/schema"
) )
@@ -31,12 +31,12 @@ import (
const GroupName = "proxyprovider.t000-n.de" const GroupName = "proxyprovider.t000-n.de"
// GroupVersion specifies the group and the version used to register the objects. // GroupVersion specifies the group and the version used to register the objects.
var GroupVersion = metav1.GroupVersion{Group: GroupName, Version: "v1"} var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}
// SchemeGroupVersion is group version used to register these objects // SchemeGroupVersion is group version used to register these objects
// //
// Deprecated: use GroupVersion instead. // Deprecated: use GroupVersion instead.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
// Resource takes an unqualified resource and returns a Group qualified GroupResource // Resource takes an unqualified resource and returns a Group qualified GroupResource
func Resource(resource string) schema.GroupResource { func Resource(resource string) schema.GroupResource {
@@ -66,6 +66,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ProxyProviderList{}, &ProxyProviderList{},
) )
// AddToGroupVersion allows the serialization of client types like ListOptions. // AddToGroupVersion allows the serialization of client types like ListOptions.
metav1.AddToGroupVersion(scheme, SchemeGroupVersion) v1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil return nil
} }
@@ -16,21 +16,21 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT. // Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1 package v1alpha1
import ( import (
apismetav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types" types "k8s.io/apimachinery/pkg/types"
metav1 "k8s.io/client-go/applyconfigurations/meta/v1" v1 "k8s.io/client-go/applyconfigurations/meta/v1"
) )
// ProxyProviderApplyConfiguration represents a declarative configuration of the ProxyProvider type for use // ProxyProviderApplyConfiguration represents a declarative configuration of the ProxyProvider type for use
// with apply. // with apply.
type ProxyProviderApplyConfiguration struct { type ProxyProviderApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:""` v1.TypeMetaApplyConfiguration `json:""`
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *ProxyProviderSpecApplyConfiguration `json:"spec,omitempty"` Spec *ProxyProviderSpecApplyConfiguration `json:"spec,omitempty"`
Status *ProxyProviderStatusApplyConfiguration `json:"status,omitempty"` Status *ProxyProviderStatusApplyConfiguration `json:"status,omitempty"`
} }
// ProxyProvider constructs a declarative configuration of the ProxyProvider type for use with // ProxyProvider constructs a declarative configuration of the ProxyProvider type for use with
@@ -40,7 +40,7 @@ func ProxyProvider(name, namespace string) *ProxyProviderApplyConfiguration {
b.WithName(name) b.WithName(name)
b.WithNamespace(namespace) b.WithNamespace(namespace)
b.WithKind("ProxyProvider") b.WithKind("ProxyProvider")
b.WithAPIVersion("proxyprovider.t000-n.de/v1") b.WithAPIVersion("proxyprovider.t000-n.de/v1alpha1")
return b return b
} }
@@ -119,7 +119,7 @@ func (b *ProxyProviderApplyConfiguration) WithGeneration(value int64) *ProxyProv
// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value // WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations. // and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the CreationTimestamp field is set to the value of the last call. // If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (b *ProxyProviderApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ProxyProviderApplyConfiguration { func (b *ProxyProviderApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProxyProviderApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists() b.ensureObjectMetaApplyConfigurationExists()
b.ObjectMetaApplyConfiguration.CreationTimestamp = &value b.ObjectMetaApplyConfiguration.CreationTimestamp = &value
return b return b
@@ -128,7 +128,7 @@ func (b *ProxyProviderApplyConfiguration) WithCreationTimestamp(value apismetav1
// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value // WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations. // and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the DeletionTimestamp field is set to the value of the last call. // If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (b *ProxyProviderApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ProxyProviderApplyConfiguration { func (b *ProxyProviderApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProxyProviderApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists() b.ensureObjectMetaApplyConfigurationExists()
b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value
return b return b
@@ -176,7 +176,7 @@ func (b *ProxyProviderApplyConfiguration) WithAnnotations(entries map[string]str
// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration // WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations. // and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the OwnerReferences field. // If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (b *ProxyProviderApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ProxyProviderApplyConfiguration { func (b *ProxyProviderApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ProxyProviderApplyConfiguration {
b.ensureObjectMetaApplyConfigurationExists() b.ensureObjectMetaApplyConfigurationExists()
for i := range values { for i := range values {
if values[i] == nil { if values[i] == nil {
@@ -200,7 +200,7 @@ func (b *ProxyProviderApplyConfiguration) WithFinalizers(values ...string) *Prox
func (b *ProxyProviderApplyConfiguration) ensureObjectMetaApplyConfigurationExists() { func (b *ProxyProviderApplyConfiguration) ensureObjectMetaApplyConfigurationExists() {
if b.ObjectMetaApplyConfiguration == nil { if b.ObjectMetaApplyConfiguration == nil {
b.ObjectMetaApplyConfiguration = &metav1.ObjectMetaApplyConfiguration{} b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{}
} }
} }
@@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT. // Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1 package v1alpha1
// ProxyProviderSpecApplyConfiguration represents a declarative configuration of the ProxyProviderSpec type for use // ProxyProviderSpecApplyConfiguration represents a declarative configuration of the ProxyProviderSpec type for use
// with apply. // with apply.
@@ -16,7 +16,7 @@ limitations under the License.
// Code generated by applyconfiguration-gen. DO NOT EDIT. // Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1 package v1alpha1
// ProxyProviderStatusApplyConfiguration represents a declarative configuration of the ProxyProviderStatus type for use // ProxyProviderStatusApplyConfiguration represents a declarative configuration of the ProxyProviderStatus type for use
// with apply. // with apply.
+9 -9
View File
@@ -19,9 +19,9 @@ limitations under the License.
package applyconfiguration package applyconfiguration
import ( import (
v1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1" v1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1"
internal "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/applyconfiguration/internal" internal "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/applyconfiguration/internal"
proxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/applyconfiguration/proxyprovider/v1" proxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/applyconfiguration/proxyprovider/v1alpha1"
runtime "k8s.io/apimachinery/pkg/runtime" runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema" schema "k8s.io/apimachinery/pkg/runtime/schema"
managedfields "k8s.io/apimachinery/pkg/util/managedfields" managedfields "k8s.io/apimachinery/pkg/util/managedfields"
@@ -31,13 +31,13 @@ import (
// apply configuration type exists for the given GroupVersionKind. // apply configuration type exists for the given GroupVersionKind.
func ForKind(kind schema.GroupVersionKind) interface{} { func ForKind(kind schema.GroupVersionKind) interface{} {
switch kind { switch kind {
// Group=proxyprovider.t000-n.de, Version=v1 // Group=proxyprovider.t000-n.de, Version=v1alpha1
case v1.SchemeGroupVersion.WithKind("ProxyProvider"): case v1alpha1.SchemeGroupVersion.WithKind("ProxyProvider"):
return &proxyproviderv1.ProxyProviderApplyConfiguration{} return &proxyproviderv1alpha1.ProxyProviderApplyConfiguration{}
case v1.SchemeGroupVersion.WithKind("ProxyProviderSpec"): case v1alpha1.SchemeGroupVersion.WithKind("ProxyProviderSpec"):
return &proxyproviderv1.ProxyProviderSpecApplyConfiguration{} return &proxyproviderv1alpha1.ProxyProviderSpecApplyConfiguration{}
case v1.SchemeGroupVersion.WithKind("ProxyProviderStatus"): case v1alpha1.SchemeGroupVersion.WithKind("ProxyProviderStatus"):
return &proxyproviderv1.ProxyProviderStatusApplyConfiguration{} return &proxyproviderv1alpha1.ProxyProviderStatusApplyConfiguration{}
} }
return nil return nil
@@ -22,7 +22,7 @@ import (
fmt "fmt" fmt "fmt"
http "net/http" http "net/http"
proxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/typed/proxyprovider/v1" proxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/typed/proxyprovider/v1alpha1"
discovery "k8s.io/client-go/discovery" discovery "k8s.io/client-go/discovery"
rest "k8s.io/client-go/rest" rest "k8s.io/client-go/rest"
flowcontrol "k8s.io/client-go/util/flowcontrol" flowcontrol "k8s.io/client-go/util/flowcontrol"
@@ -30,18 +30,18 @@ import (
type Interface interface { type Interface interface {
Discovery() discovery.DiscoveryInterface Discovery() discovery.DiscoveryInterface
ProxyproviderV1() proxyproviderv1.ProxyproviderV1Interface ProxyproviderV1alpha1() proxyproviderv1alpha1.ProxyproviderV1alpha1Interface
} }
// Clientset contains the clients for groups. // Clientset contains the clients for groups.
type Clientset struct { type Clientset struct {
*discovery.DiscoveryClient *discovery.DiscoveryClient
proxyproviderV1 *proxyproviderv1.ProxyproviderV1Client proxyproviderV1alpha1 *proxyproviderv1alpha1.ProxyproviderV1alpha1Client
} }
// ProxyproviderV1 retrieves the ProxyproviderV1Client // ProxyproviderV1alpha1 retrieves the ProxyproviderV1alpha1Client
func (c *Clientset) ProxyproviderV1() proxyproviderv1.ProxyproviderV1Interface { func (c *Clientset) ProxyproviderV1alpha1() proxyproviderv1alpha1.ProxyproviderV1alpha1Interface {
return c.proxyproviderV1 return c.proxyproviderV1alpha1
} }
// Discovery retrieves the DiscoveryClient // Discovery retrieves the DiscoveryClient
@@ -88,7 +88,7 @@ func NewForConfigAndClient(c *rest.Config, httpClient *http.Client) (*Clientset,
var cs Clientset var cs Clientset
var err error var err error
cs.proxyproviderV1, err = proxyproviderv1.NewForConfigAndClient(&configShallowCopy, httpClient) cs.proxyproviderV1alpha1, err = proxyproviderv1alpha1.NewForConfigAndClient(&configShallowCopy, httpClient)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@@ -113,7 +113,7 @@ func NewForConfigOrDie(c *rest.Config) *Clientset {
// New creates a new Clientset for the given RESTClient. // New creates a new Clientset for the given RESTClient.
func New(c rest.Interface) *Clientset { func New(c rest.Interface) *Clientset {
var cs Clientset var cs Clientset
cs.proxyproviderV1 = proxyproviderv1.New(c) cs.proxyproviderV1alpha1 = proxyproviderv1alpha1.New(c)
cs.DiscoveryClient = discovery.NewDiscoveryClient(c) cs.DiscoveryClient = discovery.NewDiscoveryClient(c)
return &cs return &cs
@@ -21,8 +21,8 @@ package fake
import ( import (
applyconfiguration "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/applyconfiguration" applyconfiguration "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/applyconfiguration"
clientset "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned" clientset "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned"
proxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/typed/proxyprovider/v1" proxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/typed/proxyprovider/v1alpha1"
fakeproxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/typed/proxyprovider/v1/fake" fakeproxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/typed/proxyprovider/v1alpha1/fake"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/watch" "k8s.io/apimachinery/pkg/watch"
@@ -136,7 +136,7 @@ var (
_ testing.FakeClient = &Clientset{} _ testing.FakeClient = &Clientset{}
) )
// ProxyproviderV1 retrieves the ProxyproviderV1Client // ProxyproviderV1alpha1 retrieves the ProxyproviderV1alpha1Client
func (c *Clientset) ProxyproviderV1() proxyproviderv1.ProxyproviderV1Interface { func (c *Clientset) ProxyproviderV1alpha1() proxyproviderv1alpha1.ProxyproviderV1alpha1Interface {
return &fakeproxyproviderv1.FakeProxyproviderV1{Fake: &c.Fake} return &fakeproxyproviderv1alpha1.FakeProxyproviderV1alpha1{Fake: &c.Fake}
} }
@@ -19,7 +19,7 @@ limitations under the License.
package fake package fake
import ( import (
proxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1" proxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime" runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema" schema "k8s.io/apimachinery/pkg/runtime/schema"
@@ -31,7 +31,7 @@ var scheme = runtime.NewScheme()
var codecs = serializer.NewCodecFactory(scheme) var codecs = serializer.NewCodecFactory(scheme)
var localSchemeBuilder = runtime.SchemeBuilder{ var localSchemeBuilder = runtime.SchemeBuilder{
proxyproviderv1.AddToScheme, proxyproviderv1alpha1.AddToScheme,
} }
// AddToScheme adds all types of this clientset into the given scheme. This allows composition // AddToScheme adds all types of this clientset into the given scheme. This allows composition
@@ -19,7 +19,7 @@ limitations under the License.
package scheme package scheme
import ( import (
proxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1" proxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime" runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema" schema "k8s.io/apimachinery/pkg/runtime/schema"
@@ -31,7 +31,7 @@ var Scheme = runtime.NewScheme()
var Codecs = serializer.NewCodecFactory(Scheme) var Codecs = serializer.NewCodecFactory(Scheme)
var ParameterCodec = runtime.NewParameterCodec(Scheme) var ParameterCodec = runtime.NewParameterCodec(Scheme)
var localSchemeBuilder = runtime.SchemeBuilder{ var localSchemeBuilder = runtime.SchemeBuilder{
proxyproviderv1.AddToScheme, proxyproviderv1alpha1.AddToScheme,
} }
// AddToScheme adds all types of this clientset into the given scheme. This allows composition // AddToScheme adds all types of this clientset into the given scheme. This allows composition
@@ -1,51 +0,0 @@
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by client-gen. DO NOT EDIT.
package fake
import (
v1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1"
proxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/applyconfiguration/proxyprovider/v1"
typedproxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/typed/proxyprovider/v1"
gentype "k8s.io/client-go/gentype"
)
// fakeProxyProviders implements ProxyProviderInterface
type fakeProxyProviders struct {
*gentype.FakeClientWithListAndApply[*v1.ProxyProvider, *v1.ProxyProviderList, *proxyproviderv1.ProxyProviderApplyConfiguration]
Fake *FakeProxyproviderV1
}
func newFakeProxyProviders(fake *FakeProxyproviderV1, namespace string) typedproxyproviderv1.ProxyProviderInterface {
return &fakeProxyProviders{
gentype.NewFakeClientWithListAndApply[*v1.ProxyProvider, *v1.ProxyProviderList, *proxyproviderv1.ProxyProviderApplyConfiguration](
fake.Fake,
namespace,
v1.SchemeGroupVersion.WithResource("proxyproviders"),
v1.SchemeGroupVersion.WithKind("ProxyProvider"),
func() *v1.ProxyProvider { return &v1.ProxyProvider{} },
func() *v1.ProxyProviderList { return &v1.ProxyProviderList{} },
func(dst, src *v1.ProxyProviderList) { dst.ListMeta = src.ListMeta },
func(list *v1.ProxyProviderList) []*v1.ProxyProvider { return gentype.ToPointerSlice(list.Items) },
func(list *v1.ProxyProviderList, items []*v1.ProxyProvider) {
list.Items = gentype.FromPointerSlice(items)
},
),
fake,
}
}
@@ -1,74 +0,0 @@
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by client-gen. DO NOT EDIT.
package v1
import (
context "context"
proxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1"
applyconfigurationproxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/applyconfiguration/proxyprovider/v1"
scheme "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/scheme"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
gentype "k8s.io/client-go/gentype"
)
// ProxyProvidersGetter has a method to return a ProxyProviderInterface.
// A group's client should implement this interface.
type ProxyProvidersGetter interface {
ProxyProviders(namespace string) ProxyProviderInterface
}
// ProxyProviderInterface has methods to work with ProxyProvider resources.
type ProxyProviderInterface interface {
Create(ctx context.Context, proxyProvider *proxyproviderv1.ProxyProvider, opts metav1.CreateOptions) (*proxyproviderv1.ProxyProvider, error)
Update(ctx context.Context, proxyProvider *proxyproviderv1.ProxyProvider, opts metav1.UpdateOptions) (*proxyproviderv1.ProxyProvider, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, proxyProvider *proxyproviderv1.ProxyProvider, opts metav1.UpdateOptions) (*proxyproviderv1.ProxyProvider, error)
Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
Get(ctx context.Context, name string, opts metav1.GetOptions) (*proxyproviderv1.ProxyProvider, error)
List(ctx context.Context, opts metav1.ListOptions) (*proxyproviderv1.ProxyProviderList, error)
Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *proxyproviderv1.ProxyProvider, err error)
Apply(ctx context.Context, proxyProvider *applyconfigurationproxyproviderv1.ProxyProviderApplyConfiguration, opts metav1.ApplyOptions) (result *proxyproviderv1.ProxyProvider, err error)
// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
ApplyStatus(ctx context.Context, proxyProvider *applyconfigurationproxyproviderv1.ProxyProviderApplyConfiguration, opts metav1.ApplyOptions) (result *proxyproviderv1.ProxyProvider, err error)
ProxyProviderExpansion
}
// proxyProviders implements ProxyProviderInterface
type proxyProviders struct {
*gentype.ClientWithListAndApply[*proxyproviderv1.ProxyProvider, *proxyproviderv1.ProxyProviderList, *applyconfigurationproxyproviderv1.ProxyProviderApplyConfiguration]
}
// newProxyProviders returns a ProxyProviders
func newProxyProviders(c *ProxyproviderV1Client, namespace string) *proxyProviders {
return &proxyProviders{
gentype.NewClientWithListAndApply[*proxyproviderv1.ProxyProvider, *proxyproviderv1.ProxyProviderList, *applyconfigurationproxyproviderv1.ProxyProviderApplyConfiguration](
"proxyproviders",
c.RESTClient(),
scheme.ParameterCodec,
namespace,
func() *proxyproviderv1.ProxyProvider { return &proxyproviderv1.ProxyProvider{} },
func() *proxyproviderv1.ProxyProviderList { return &proxyproviderv1.ProxyProviderList{} },
),
}
}
@@ -17,4 +17,4 @@ limitations under the License.
// Code generated by client-gen. DO NOT EDIT. // Code generated by client-gen. DO NOT EDIT.
// This package has the automatically generated typed clients. // This package has the automatically generated typed clients.
package v1 package v1alpha1
@@ -0,0 +1,53 @@
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by client-gen. DO NOT EDIT.
package fake
import (
v1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1"
proxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/applyconfiguration/proxyprovider/v1alpha1"
typedproxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/typed/proxyprovider/v1alpha1"
gentype "k8s.io/client-go/gentype"
)
// fakeProxyProviders implements ProxyProviderInterface
type fakeProxyProviders struct {
*gentype.FakeClientWithListAndApply[*v1alpha1.ProxyProvider, *v1alpha1.ProxyProviderList, *proxyproviderv1alpha1.ProxyProviderApplyConfiguration]
Fake *FakeProxyproviderV1alpha1
}
func newFakeProxyProviders(fake *FakeProxyproviderV1alpha1, namespace string) typedproxyproviderv1alpha1.ProxyProviderInterface {
return &fakeProxyProviders{
gentype.NewFakeClientWithListAndApply[*v1alpha1.ProxyProvider, *v1alpha1.ProxyProviderList, *proxyproviderv1alpha1.ProxyProviderApplyConfiguration](
fake.Fake,
namespace,
v1alpha1.SchemeGroupVersion.WithResource("proxyproviders"),
v1alpha1.SchemeGroupVersion.WithKind("ProxyProvider"),
func() *v1alpha1.ProxyProvider { return &v1alpha1.ProxyProvider{} },
func() *v1alpha1.ProxyProviderList { return &v1alpha1.ProxyProviderList{} },
func(dst, src *v1alpha1.ProxyProviderList) { dst.ListMeta = src.ListMeta },
func(list *v1alpha1.ProxyProviderList) []*v1alpha1.ProxyProvider {
return gentype.ToPointerSlice(list.Items)
},
func(list *v1alpha1.ProxyProviderList, items []*v1alpha1.ProxyProvider) {
list.Items = gentype.FromPointerSlice(items)
},
),
fake,
}
}
@@ -19,22 +19,22 @@ limitations under the License.
package fake package fake
import ( import (
v1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/typed/proxyprovider/v1" v1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/typed/proxyprovider/v1alpha1"
rest "k8s.io/client-go/rest" rest "k8s.io/client-go/rest"
testing "k8s.io/client-go/testing" testing "k8s.io/client-go/testing"
) )
type FakeProxyproviderV1 struct { type FakeProxyproviderV1alpha1 struct {
*testing.Fake *testing.Fake
} }
func (c *FakeProxyproviderV1) ProxyProviders(namespace string) v1.ProxyProviderInterface { func (c *FakeProxyproviderV1alpha1) ProxyProviders(namespace string) v1alpha1.ProxyProviderInterface {
return newFakeProxyProviders(c, namespace) return newFakeProxyProviders(c, namespace)
} }
// RESTClient returns a RESTClient that is used to communicate // RESTClient returns a RESTClient that is used to communicate
// with API server by this client implementation. // with API server by this client implementation.
func (c *FakeProxyproviderV1) RESTClient() rest.Interface { func (c *FakeProxyproviderV1alpha1) RESTClient() rest.Interface {
var ret *rest.RESTClient var ret *rest.RESTClient
return ret return ret
} }
@@ -16,6 +16,6 @@ limitations under the License.
// Code generated by client-gen. DO NOT EDIT. // Code generated by client-gen. DO NOT EDIT.
package v1 package v1alpha1
type ProxyProviderExpansion interface{} type ProxyProviderExpansion interface{}
@@ -0,0 +1,74 @@
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by client-gen. DO NOT EDIT.
package v1alpha1
import (
context "context"
proxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1"
applyconfigurationproxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/applyconfiguration/proxyprovider/v1alpha1"
scheme "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/scheme"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
gentype "k8s.io/client-go/gentype"
)
// ProxyProvidersGetter has a method to return a ProxyProviderInterface.
// A group's client should implement this interface.
type ProxyProvidersGetter interface {
ProxyProviders(namespace string) ProxyProviderInterface
}
// ProxyProviderInterface has methods to work with ProxyProvider resources.
type ProxyProviderInterface interface {
Create(ctx context.Context, proxyProvider *proxyproviderv1alpha1.ProxyProvider, opts v1.CreateOptions) (*proxyproviderv1alpha1.ProxyProvider, error)
Update(ctx context.Context, proxyProvider *proxyproviderv1alpha1.ProxyProvider, opts v1.UpdateOptions) (*proxyproviderv1alpha1.ProxyProvider, error)
// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
UpdateStatus(ctx context.Context, proxyProvider *proxyproviderv1alpha1.ProxyProvider, opts v1.UpdateOptions) (*proxyproviderv1alpha1.ProxyProvider, error)
Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
Get(ctx context.Context, name string, opts v1.GetOptions) (*proxyproviderv1alpha1.ProxyProvider, error)
List(ctx context.Context, opts v1.ListOptions) (*proxyproviderv1alpha1.ProxyProviderList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *proxyproviderv1alpha1.ProxyProvider, err error)
Apply(ctx context.Context, proxyProvider *applyconfigurationproxyproviderv1alpha1.ProxyProviderApplyConfiguration, opts v1.ApplyOptions) (result *proxyproviderv1alpha1.ProxyProvider, err error)
// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
ApplyStatus(ctx context.Context, proxyProvider *applyconfigurationproxyproviderv1alpha1.ProxyProviderApplyConfiguration, opts v1.ApplyOptions) (result *proxyproviderv1alpha1.ProxyProvider, err error)
ProxyProviderExpansion
}
// proxyProviders implements ProxyProviderInterface
type proxyProviders struct {
*gentype.ClientWithListAndApply[*proxyproviderv1alpha1.ProxyProvider, *proxyproviderv1alpha1.ProxyProviderList, *applyconfigurationproxyproviderv1alpha1.ProxyProviderApplyConfiguration]
}
// newProxyProviders returns a ProxyProviders
func newProxyProviders(c *ProxyproviderV1alpha1Client, namespace string) *proxyProviders {
return &proxyProviders{
gentype.NewClientWithListAndApply[*proxyproviderv1alpha1.ProxyProvider, *proxyproviderv1alpha1.ProxyProviderList, *applyconfigurationproxyproviderv1alpha1.ProxyProviderApplyConfiguration](
"proxyproviders",
c.RESTClient(),
scheme.ParameterCodec,
namespace,
func() *proxyproviderv1alpha1.ProxyProvider { return &proxyproviderv1alpha1.ProxyProvider{} },
func() *proxyproviderv1alpha1.ProxyProviderList { return &proxyproviderv1alpha1.ProxyProviderList{} },
),
}
}
@@ -16,34 +16,34 @@ limitations under the License.
// Code generated by client-gen. DO NOT EDIT. // Code generated by client-gen. DO NOT EDIT.
package v1 package v1alpha1
import ( import (
http "net/http" http "net/http"
proxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1" proxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1"
scheme "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/scheme" scheme "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned/scheme"
rest "k8s.io/client-go/rest" rest "k8s.io/client-go/rest"
) )
type ProxyproviderV1Interface interface { type ProxyproviderV1alpha1Interface interface {
RESTClient() rest.Interface RESTClient() rest.Interface
ProxyProvidersGetter ProxyProvidersGetter
} }
// ProxyproviderV1Client is used to interact with features provided by the proxyprovider.t000-n.de group. // ProxyproviderV1alpha1Client is used to interact with features provided by the proxyprovider.t000-n.de group.
type ProxyproviderV1Client struct { type ProxyproviderV1alpha1Client struct {
restClient rest.Interface restClient rest.Interface
} }
func (c *ProxyproviderV1Client) ProxyProviders(namespace string) ProxyProviderInterface { func (c *ProxyproviderV1alpha1Client) ProxyProviders(namespace string) ProxyProviderInterface {
return newProxyProviders(c, namespace) return newProxyProviders(c, namespace)
} }
// NewForConfig creates a new ProxyproviderV1Client for the given config. // NewForConfig creates a new ProxyproviderV1alpha1Client for the given config.
// NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), // NewForConfig is equivalent to NewForConfigAndClient(c, httpClient),
// where httpClient was generated with rest.HTTPClientFor(c). // where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfig(c *rest.Config) (*ProxyproviderV1Client, error) { func NewForConfig(c *rest.Config) (*ProxyproviderV1alpha1Client, error) {
config := *c config := *c
setConfigDefaults(&config) setConfigDefaults(&config)
httpClient, err := rest.HTTPClientFor(&config) httpClient, err := rest.HTTPClientFor(&config)
@@ -53,21 +53,21 @@ func NewForConfig(c *rest.Config) (*ProxyproviderV1Client, error) {
return NewForConfigAndClient(&config, httpClient) return NewForConfigAndClient(&config, httpClient)
} }
// NewForConfigAndClient creates a new ProxyproviderV1Client for the given config and http client. // NewForConfigAndClient creates a new ProxyproviderV1alpha1Client for the given config and http client.
// Note the http client provided takes precedence over the configured transport values. // Note the http client provided takes precedence over the configured transport values.
func NewForConfigAndClient(c *rest.Config, h *http.Client) (*ProxyproviderV1Client, error) { func NewForConfigAndClient(c *rest.Config, h *http.Client) (*ProxyproviderV1alpha1Client, error) {
config := *c config := *c
setConfigDefaults(&config) setConfigDefaults(&config)
client, err := rest.RESTClientForConfigAndClient(&config, h) client, err := rest.RESTClientForConfigAndClient(&config, h)
if err != nil { if err != nil {
return nil, err return nil, err
} }
return &ProxyproviderV1Client{client}, nil return &ProxyproviderV1alpha1Client{client}, nil
} }
// NewForConfigOrDie creates a new ProxyproviderV1Client for the given config and // NewForConfigOrDie creates a new ProxyproviderV1alpha1Client for the given config and
// panics if there is an error in the config. // panics if there is an error in the config.
func NewForConfigOrDie(c *rest.Config) *ProxyproviderV1Client { func NewForConfigOrDie(c *rest.Config) *ProxyproviderV1alpha1Client {
client, err := NewForConfig(c) client, err := NewForConfig(c)
if err != nil { if err != nil {
panic(err) panic(err)
@@ -75,13 +75,13 @@ func NewForConfigOrDie(c *rest.Config) *ProxyproviderV1Client {
return client return client
} }
// New creates a new ProxyproviderV1Client for the given RESTClient. // New creates a new ProxyproviderV1alpha1Client for the given RESTClient.
func New(c rest.Interface) *ProxyproviderV1Client { func New(c rest.Interface) *ProxyproviderV1alpha1Client {
return &ProxyproviderV1Client{c} return &ProxyproviderV1alpha1Client{c}
} }
func setConfigDefaults(config *rest.Config) { func setConfigDefaults(config *rest.Config) {
gv := proxyproviderv1.SchemeGroupVersion gv := proxyproviderv1alpha1.SchemeGroupVersion
config.GroupVersion = &gv config.GroupVersion = &gv
config.APIPath = "/apis" config.APIPath = "/apis"
config.NegotiatedSerializer = rest.CodecFactoryForGeneratedClient(scheme.Scheme, scheme.Codecs).WithoutConversion() config.NegotiatedSerializer = rest.CodecFactoryForGeneratedClient(scheme.Scheme, scheme.Codecs).WithoutConversion()
@@ -93,7 +93,7 @@ func setConfigDefaults(config *rest.Config) {
// RESTClient returns a RESTClient that is used to communicate // RESTClient returns a RESTClient that is used to communicate
// with API server by this client implementation. // with API server by this client implementation.
func (c *ProxyproviderV1Client) RESTClient() rest.Interface { func (c *ProxyproviderV1alpha1Client) RESTClient() rest.Interface {
if c == nil { if c == nil {
return nil return nil
} }
@@ -21,7 +21,7 @@ package externalversions
import ( import (
fmt "fmt" fmt "fmt"
v1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1" v1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1"
schema "k8s.io/apimachinery/pkg/runtime/schema" schema "k8s.io/apimachinery/pkg/runtime/schema"
cache "k8s.io/client-go/tools/cache" cache "k8s.io/client-go/tools/cache"
) )
@@ -52,9 +52,9 @@ func (f *genericInformer) Lister() cache.GenericLister {
// TODO extend this to unknown resources with a client pool // TODO extend this to unknown resources with a client pool
func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource) (GenericInformer, error) { func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource) (GenericInformer, error) {
switch resource { switch resource {
// Group=proxyprovider.t000-n.de, Version=v1 // Group=proxyprovider.t000-n.de, Version=v1alpha1
case v1.SchemeGroupVersion.WithResource("proxyproviders"): case v1alpha1.SchemeGroupVersion.WithResource("proxyproviders"):
return &genericInformer{resource: resource.GroupResource(), informer: f.Proxyprovider().V1().ProxyProviders().Informer()}, nil return &genericInformer{resource: resource.GroupResource(), informer: f.Proxyprovider().V1alpha1().ProxyProviders().Informer()}, nil
} }
@@ -20,13 +20,13 @@ package proxyprovider
import ( import (
internalinterfaces "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/informers/externalversions/internalinterfaces" internalinterfaces "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/informers/externalversions/internalinterfaces"
v1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/informers/externalversions/proxyprovider/v1" v1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/informers/externalversions/proxyprovider/v1alpha1"
) )
// Interface provides access to each of this group's versions. // Interface provides access to each of this group's versions.
type Interface interface { type Interface interface {
// V1 provides access to shared informers for resources in V1. // V1alpha1 provides access to shared informers for resources in V1alpha1.
V1() v1.Interface V1alpha1() v1alpha1.Interface
} }
type group struct { type group struct {
@@ -40,7 +40,7 @@ func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakList
return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
} }
// V1 returns a new v1.Interface. // V1alpha1 returns a new v1alpha1.Interface.
func (g *group) V1() v1.Interface { func (g *group) V1alpha1() v1alpha1.Interface {
return v1.New(g.factory, g.namespace, g.tweakListOptions) return v1alpha1.New(g.factory, g.namespace, g.tweakListOptions)
} }
@@ -16,7 +16,7 @@ limitations under the License.
// Code generated by informer-gen. DO NOT EDIT. // Code generated by informer-gen. DO NOT EDIT.
package v1 package v1alpha1
import ( import (
internalinterfaces "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/informers/externalversions/internalinterfaces" internalinterfaces "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/informers/externalversions/internalinterfaces"
@@ -16,17 +16,17 @@ limitations under the License.
// Code generated by informer-gen. DO NOT EDIT. // Code generated by informer-gen. DO NOT EDIT.
package v1 package v1alpha1
import ( import (
context "context" context "context"
time "time" time "time"
apisproxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1" apisproxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1"
versioned "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned" versioned "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/clientset/versioned"
internalinterfaces "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/informers/externalversions/internalinterfaces" internalinterfaces "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/informers/externalversions/internalinterfaces"
proxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/listers/proxyprovider/v1" proxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/generated/listers/proxyprovider/v1alpha1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime" runtime "k8s.io/apimachinery/pkg/runtime"
schema "k8s.io/apimachinery/pkg/runtime/schema" schema "k8s.io/apimachinery/pkg/runtime/schema"
watch "k8s.io/apimachinery/pkg/watch" watch "k8s.io/apimachinery/pkg/watch"
@@ -37,7 +37,7 @@ import (
// ProxyProviders. // ProxyProviders.
type ProxyProviderInformer interface { type ProxyProviderInformer interface {
Informer() cache.SharedIndexInformer Informer() cache.SharedIndexInformer
Lister() proxyproviderv1.ProxyProviderLister Lister() proxyproviderv1alpha1.ProxyProviderLister
} }
type proxyProviderInformer struct { type proxyProviderInformer struct {
@@ -64,37 +64,37 @@ func NewFilteredProxyProviderInformer(client versioned.Interface, namespace stri
// Always prefer using an informer factory to get a shared informer instead of getting an independent // Always prefer using an informer factory to get a shared informer instead of getting an independent
// one. This reduces memory footprint and number of connections to the server. // one. This reduces memory footprint and number of connections to the server.
func NewProxyProviderInformerWithOptions(client versioned.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer { func NewProxyProviderInformerWithOptions(client versioned.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer {
gvr := schema.GroupVersionResource{Group: "proxyprovider.t000-n.de", Version: "v1", Resource: "proxyproviders"} gvr := schema.GroupVersionResource{Group: "proxyprovider.t000-n.de", Version: "v1alpha1", Resource: "proxyproviders"}
identifier := options.InformerName.WithResource(gvr) identifier := options.InformerName.WithResource(gvr)
tweakListOptions := options.TweakListOptions tweakListOptions := options.TweakListOptions
return cache.NewSharedIndexInformerWithOptions( return cache.NewSharedIndexInformerWithOptions(
cache.ToListWatcherWithWatchListSemantics(&cache.ListWatch{ cache.ToListWatcherWithWatchListSemantics(&cache.ListWatch{
ListFunc: func(opts metav1.ListOptions) (runtime.Object, error) { ListFunc: func(opts v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil { if tweakListOptions != nil {
tweakListOptions(&opts) tweakListOptions(&opts)
} }
return client.ProxyproviderV1().ProxyProviders(namespace).List(context.Background(), opts) return client.ProxyproviderV1alpha1().ProxyProviders(namespace).List(context.Background(), opts)
}, },
WatchFunc: func(opts metav1.ListOptions) (watch.Interface, error) { WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil { if tweakListOptions != nil {
tweakListOptions(&opts) tweakListOptions(&opts)
} }
return client.ProxyproviderV1().ProxyProviders(namespace).Watch(context.Background(), opts) return client.ProxyproviderV1alpha1().ProxyProviders(namespace).Watch(context.Background(), opts)
}, },
ListWithContextFunc: func(ctx context.Context, opts metav1.ListOptions) (runtime.Object, error) { ListWithContextFunc: func(ctx context.Context, opts v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil { if tweakListOptions != nil {
tweakListOptions(&opts) tweakListOptions(&opts)
} }
return client.ProxyproviderV1().ProxyProviders(namespace).List(ctx, opts) return client.ProxyproviderV1alpha1().ProxyProviders(namespace).List(ctx, opts)
}, },
WatchFuncWithContext: func(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) { WatchFuncWithContext: func(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil { if tweakListOptions != nil {
tweakListOptions(&opts) tweakListOptions(&opts)
} }
return client.ProxyproviderV1().ProxyProviders(namespace).Watch(ctx, opts) return client.ProxyproviderV1alpha1().ProxyProviders(namespace).Watch(ctx, opts)
}, },
}, client), }, client),
&apisproxyproviderv1.ProxyProvider{}, &apisproxyproviderv1alpha1.ProxyProvider{},
cache.SharedIndexInformerOptions{ cache.SharedIndexInformerOptions{
ResyncPeriod: options.ResyncPeriod, ResyncPeriod: options.ResyncPeriod,
Indexers: options.Indexers, Indexers: options.Indexers,
@@ -108,9 +108,9 @@ func (f *proxyProviderInformer) defaultInformer(client versioned.Interface, resy
} }
func (f *proxyProviderInformer) Informer() cache.SharedIndexInformer { func (f *proxyProviderInformer) Informer() cache.SharedIndexInformer {
return f.factory.InformerFor(&apisproxyproviderv1.ProxyProvider{}, f.defaultInformer) return f.factory.InformerFor(&apisproxyproviderv1alpha1.ProxyProvider{}, f.defaultInformer)
} }
func (f *proxyProviderInformer) Lister() proxyproviderv1.ProxyProviderLister { func (f *proxyProviderInformer) Lister() proxyproviderv1alpha1.ProxyProviderLister {
return proxyproviderv1.NewProxyProviderLister(f.Informer().GetIndexer()) return proxyproviderv1alpha1.NewProxyProviderLister(f.Informer().GetIndexer())
} }
@@ -16,7 +16,7 @@ limitations under the License.
// Code generated by lister-gen. DO NOT EDIT. // Code generated by lister-gen. DO NOT EDIT.
package v1 package v1alpha1
// ProxyProviderListerExpansion allows custom methods to be added to // ProxyProviderListerExpansion allows custom methods to be added to
// ProxyProviderLister. // ProxyProviderLister.
@@ -16,10 +16,10 @@ limitations under the License.
// Code generated by lister-gen. DO NOT EDIT. // Code generated by lister-gen. DO NOT EDIT.
package v1 package v1alpha1
import ( import (
proxyproviderv1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1" proxyproviderv1alpha1 "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1"
labels "k8s.io/apimachinery/pkg/labels" labels "k8s.io/apimachinery/pkg/labels"
listers "k8s.io/client-go/listers" listers "k8s.io/client-go/listers"
cache "k8s.io/client-go/tools/cache" cache "k8s.io/client-go/tools/cache"
@@ -30,7 +30,7 @@ import (
type ProxyProviderLister interface { type ProxyProviderLister interface {
// List lists all ProxyProviders in the indexer. // List lists all ProxyProviders in the indexer.
// Objects returned here must be treated as read-only. // Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*proxyproviderv1.ProxyProvider, err error) List(selector labels.Selector) (ret []*proxyproviderv1alpha1.ProxyProvider, err error)
// ProxyProviders returns an object that can list and get ProxyProviders. // ProxyProviders returns an object that can list and get ProxyProviders.
ProxyProviders(namespace string) ProxyProviderNamespaceLister ProxyProviders(namespace string) ProxyProviderNamespaceLister
ProxyProviderListerExpansion ProxyProviderListerExpansion
@@ -38,17 +38,17 @@ type ProxyProviderLister interface {
// proxyProviderLister implements the ProxyProviderLister interface. // proxyProviderLister implements the ProxyProviderLister interface.
type proxyProviderLister struct { type proxyProviderLister struct {
listers.ResourceIndexer[*proxyproviderv1.ProxyProvider] listers.ResourceIndexer[*proxyproviderv1alpha1.ProxyProvider]
} }
// NewProxyProviderLister returns a new ProxyProviderLister. // NewProxyProviderLister returns a new ProxyProviderLister.
func NewProxyProviderLister(indexer cache.Indexer) ProxyProviderLister { func NewProxyProviderLister(indexer cache.Indexer) ProxyProviderLister {
return &proxyProviderLister{listers.New[*proxyproviderv1.ProxyProvider](indexer, proxyproviderv1.Resource("proxyprovider"))} return &proxyProviderLister{listers.New[*proxyproviderv1alpha1.ProxyProvider](indexer, proxyproviderv1alpha1.Resource("proxyprovider"))}
} }
// ProxyProviders returns an object that can list and get ProxyProviders. // ProxyProviders returns an object that can list and get ProxyProviders.
func (s *proxyProviderLister) ProxyProviders(namespace string) ProxyProviderNamespaceLister { func (s *proxyProviderLister) ProxyProviders(namespace string) ProxyProviderNamespaceLister {
return proxyProviderNamespaceLister{listers.NewNamespaced[*proxyproviderv1.ProxyProvider](s.ResourceIndexer, namespace)} return proxyProviderNamespaceLister{listers.NewNamespaced[*proxyproviderv1alpha1.ProxyProvider](s.ResourceIndexer, namespace)}
} }
// ProxyProviderNamespaceLister helps list and get ProxyProviders. // ProxyProviderNamespaceLister helps list and get ProxyProviders.
@@ -56,15 +56,15 @@ func (s *proxyProviderLister) ProxyProviders(namespace string) ProxyProviderName
type ProxyProviderNamespaceLister interface { type ProxyProviderNamespaceLister interface {
// List lists all ProxyProviders in the indexer for a given namespace. // List lists all ProxyProviders in the indexer for a given namespace.
// Objects returned here must be treated as read-only. // Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*proxyproviderv1.ProxyProvider, err error) List(selector labels.Selector) (ret []*proxyproviderv1alpha1.ProxyProvider, err error)
// Get retrieves the ProxyProvider from the indexer for a given namespace and name. // Get retrieves the ProxyProvider from the indexer for a given namespace and name.
// Objects returned here must be treated as read-only. // Objects returned here must be treated as read-only.
Get(name string) (*proxyproviderv1.ProxyProvider, error) Get(name string) (*proxyproviderv1alpha1.ProxyProvider, error)
ProxyProviderNamespaceListerExpansion ProxyProviderNamespaceListerExpansion
} }
// proxyProviderNamespaceLister implements the ProxyProviderNamespaceLister // proxyProviderNamespaceLister implements the ProxyProviderNamespaceLister
// interface. // interface.
type proxyProviderNamespaceLister struct { type proxyProviderNamespaceLister struct {
listers.ResourceIndexer[*proxyproviderv1.ProxyProvider] listers.ResourceIndexer[*proxyproviderv1alpha1.ProxyProvider]
} }
+13 -13
View File
@@ -32,10 +32,10 @@ import (
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
return map[string]common.OpenAPIDefinition{ return map[string]common.OpenAPIDefinition{
"gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1.ProxyProvider": schema_pkg_apis_proxyprovider_v1_ProxyProvider(ref), "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1.ProxyProvider": schema_pkg_apis_proxyprovider_v1alpha1_ProxyProvider(ref),
"gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1.ProxyProviderList": schema_pkg_apis_proxyprovider_v1_ProxyProviderList(ref), "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1.ProxyProviderList": schema_pkg_apis_proxyprovider_v1alpha1_ProxyProviderList(ref),
"gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1.ProxyProviderSpec": schema_pkg_apis_proxyprovider_v1_ProxyProviderSpec(ref), "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1.ProxyProviderSpec": schema_pkg_apis_proxyprovider_v1alpha1_ProxyProviderSpec(ref),
"gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1.ProxyProviderStatus": schema_pkg_apis_proxyprovider_v1_ProxyProviderStatus(ref), "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1.ProxyProviderStatus": schema_pkg_apis_proxyprovider_v1alpha1_ProxyProviderStatus(ref),
resource.Quantity{}.OpenAPIModelName(): schema_apimachinery_pkg_api_resource_Quantity(ref), resource.Quantity{}.OpenAPIModelName(): schema_apimachinery_pkg_api_resource_Quantity(ref),
v1.APIGroup{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIGroup(ref), v1.APIGroup{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIGroup(ref),
v1.APIGroupList{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIGroupList(ref), v1.APIGroupList{}.OpenAPIModelName(): schema_pkg_apis_meta_v1_APIGroupList(ref),
@@ -94,7 +94,7 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
} }
} }
func schema_pkg_apis_proxyprovider_v1_ProxyProvider(ref common.ReferenceCallback) common.OpenAPIDefinition { func schema_pkg_apis_proxyprovider_v1alpha1_ProxyProvider(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{ return common.OpenAPIDefinition{
Schema: spec.Schema{ Schema: spec.Schema{
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
@@ -123,13 +123,13 @@ func schema_pkg_apis_proxyprovider_v1_ProxyProvider(ref common.ReferenceCallback
"spec": { "spec": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Default: map[string]interface{}{}, Default: map[string]interface{}{},
Ref: ref("gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1.ProxyProviderSpec"), Ref: ref("gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1.ProxyProviderSpec"),
}, },
}, },
"status": { "status": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Default: map[string]interface{}{}, Default: map[string]interface{}{},
Ref: ref("gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1.ProxyProviderStatus"), Ref: ref("gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1.ProxyProviderStatus"),
}, },
}, },
}, },
@@ -137,11 +137,11 @@ func schema_pkg_apis_proxyprovider_v1_ProxyProvider(ref common.ReferenceCallback
}, },
}, },
Dependencies: []string{ Dependencies: []string{
"gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1.ProxyProviderSpec", "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1.ProxyProviderStatus", v1.ObjectMeta{}.OpenAPIModelName()}, "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1.ProxyProviderSpec", "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1.ProxyProviderStatus", v1.ObjectMeta{}.OpenAPIModelName()},
} }
} }
func schema_pkg_apis_proxyprovider_v1_ProxyProviderList(ref common.ReferenceCallback) common.OpenAPIDefinition { func schema_pkg_apis_proxyprovider_v1alpha1_ProxyProviderList(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{ return common.OpenAPIDefinition{
Schema: spec.Schema{ Schema: spec.Schema{
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
@@ -173,7 +173,7 @@ func schema_pkg_apis_proxyprovider_v1_ProxyProviderList(ref common.ReferenceCall
Items: &spec.SchemaOrArray{ Items: &spec.SchemaOrArray{
Schema: &spec.Schema{ Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Ref: ref("gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1.ProxyProvider"), Ref: ref("gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1.ProxyProvider"),
}, },
}, },
}, },
@@ -184,11 +184,11 @@ func schema_pkg_apis_proxyprovider_v1_ProxyProviderList(ref common.ReferenceCall
}, },
}, },
Dependencies: []string{ Dependencies: []string{
"gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1.ProxyProvider", v1.ListMeta{}.OpenAPIModelName()}, "gitea.t000-n.de/t.behrendt/authentik-kubernetes-operator/pkg/apis/proxyprovider/v1alpha1.ProxyProvider", v1.ListMeta{}.OpenAPIModelName()},
} }
} }
func schema_pkg_apis_proxyprovider_v1_ProxyProviderSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { func schema_pkg_apis_proxyprovider_v1alpha1_ProxyProviderSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{ return common.OpenAPIDefinition{
Schema: spec.Schema{ Schema: spec.Schema{
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
@@ -229,7 +229,7 @@ func schema_pkg_apis_proxyprovider_v1_ProxyProviderSpec(ref common.ReferenceCall
} }
} }
func schema_pkg_apis_proxyprovider_v1_ProxyProviderStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { func schema_pkg_apis_proxyprovider_v1alpha1_ProxyProviderStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{ return common.OpenAPIDefinition{
Schema: spec.Schema{ Schema: spec.Schema{
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{