From c912cd66fa5ed105b4be5503ee146aa115b78627 Mon Sep 17 00:00:00 2001 From: RouxAntoine Date: Sun, 22 Oct 2023 13:59:33 +0200 Subject: [PATCH] feature: regenerate crds with new pulumi sdk version --- Makefile | 5 +- crds/kubernetes/traefik/v1alpha1/init.go | 2 - .../traefik/v1alpha1/pulumiTypes.go | 557 ------------------ .../traefik/v1alpha1/serversTransport.go | 154 ----- go.sum | 31 +- 5 files changed, 7 insertions(+), 742 deletions(-) delete mode 100644 crds/kubernetes/traefik/v1alpha1/serversTransport.go diff --git a/Makefile b/Makefile index 56232f0..2fa76fe 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ .PHONY: crds -crds: +clean: + rm -r crds/ + +crds: clean crd2pulumi --go ~/Documents/virtualization/kubeadm/cert-manager/cert-manager/1-crds.yaml crd2pulumi --go ~/Documents/virtualization/kubeadm/external-dns/2-crds.yaml helm -n kube-ingress show crds traefik/traefik | yq 'del(. | select(.spec.group == "traefik.containo.us"))' | crd2pulumi --go - diff --git a/crds/kubernetes/traefik/v1alpha1/init.go b/crds/kubernetes/traefik/v1alpha1/init.go index 6f4a0e8..e408076 100644 --- a/crds/kubernetes/traefik/v1alpha1/init.go +++ b/crds/kubernetes/traefik/v1alpha1/init.go @@ -31,8 +31,6 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Middleware{} case "kubernetes:traefik.io/v1alpha1:MiddlewareTCP": r = &MiddlewareTCP{} - case "kubernetes:traefik.io/v1alpha1:ServersTransport": - r = &ServersTransport{} case "kubernetes:traefik.io/v1alpha1:ServersTransportTCP": r = &ServersTransportTCP{} case "kubernetes:traefik.io/v1alpha1:TLSOption": diff --git a/crds/kubernetes/traefik/v1alpha1/pulumiTypes.go b/crds/kubernetes/traefik/v1alpha1/pulumiTypes.go index 22f11ca..7142579 100644 --- a/crds/kubernetes/traefik/v1alpha1/pulumiTypes.go +++ b/crds/kubernetes/traefik/v1alpha1/pulumiTypes.go @@ -13161,555 +13161,6 @@ func (o MiddlewareTCPSpecIpWhiteListPtrOutput) SourceRange() pulumi.StringArrayO }).(pulumi.StringArrayOutput) } -// ServersTransport is the CRD implementation of a ServersTransport. If no serversTransport is specified, the default@internal will be used. The default@internal serversTransport is created from the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#serverstransport_1 -type ServersTransportType struct { - ApiVersion *string `pulumi:"apiVersion"` - Kind *string `pulumi:"kind"` - Metadata v1.ObjectMeta `pulumi:"metadata"` - // ServersTransportSpec defines the desired state of a ServersTransport. - Spec ServersTransportSpec `pulumi:"spec"` -} - -type ServersTransportMetadata struct { -} - -// ServersTransportSpec defines the desired state of a ServersTransport. -type ServersTransportSpec struct { - // CertificatesSecrets defines a list of secret storing client certificates for mTLS. - CertificatesSecrets []string `pulumi:"certificatesSecrets"` - // DisableHTTP2 disables HTTP/2 for connections with backend servers. - DisableHTTP2 *bool `pulumi:"disableHTTP2"` - // ForwardingTimeouts defines the timeouts for requests forwarded to the backend servers. - ForwardingTimeouts *ServersTransportSpecForwardingTimeouts `pulumi:"forwardingTimeouts"` - // InsecureSkipVerify disables SSL certificate verification. - InsecureSkipVerify *bool `pulumi:"insecureSkipVerify"` - // MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. - MaxIdleConnsPerHost *int `pulumi:"maxIdleConnsPerHost"` - // PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. - PeerCertURI *string `pulumi:"peerCertURI"` - // RootCAsSecrets defines a list of CA secret used to validate self-signed certificate. - RootCAsSecrets []string `pulumi:"rootCAsSecrets"` - // ServerName defines the server name used to contact the server. - ServerName *string `pulumi:"serverName"` -} - -// ServersTransportSpecInput is an input type that accepts ServersTransportSpecArgs and ServersTransportSpecOutput values. -// You can construct a concrete instance of `ServersTransportSpecInput` via: -// -// ServersTransportSpecArgs{...} -type ServersTransportSpecInput interface { - pulumi.Input - - ToServersTransportSpecOutput() ServersTransportSpecOutput - ToServersTransportSpecOutputWithContext(context.Context) ServersTransportSpecOutput -} - -// ServersTransportSpec defines the desired state of a ServersTransport. -type ServersTransportSpecArgs struct { - // CertificatesSecrets defines a list of secret storing client certificates for mTLS. - CertificatesSecrets pulumi.StringArrayInput `pulumi:"certificatesSecrets"` - // DisableHTTP2 disables HTTP/2 for connections with backend servers. - DisableHTTP2 pulumi.BoolPtrInput `pulumi:"disableHTTP2"` - // ForwardingTimeouts defines the timeouts for requests forwarded to the backend servers. - ForwardingTimeouts ServersTransportSpecForwardingTimeoutsPtrInput `pulumi:"forwardingTimeouts"` - // InsecureSkipVerify disables SSL certificate verification. - InsecureSkipVerify pulumi.BoolPtrInput `pulumi:"insecureSkipVerify"` - // MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. - MaxIdleConnsPerHost pulumi.IntPtrInput `pulumi:"maxIdleConnsPerHost"` - // PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. - PeerCertURI pulumi.StringPtrInput `pulumi:"peerCertURI"` - // RootCAsSecrets defines a list of CA secret used to validate self-signed certificate. - RootCAsSecrets pulumi.StringArrayInput `pulumi:"rootCAsSecrets"` - // ServerName defines the server name used to contact the server. - ServerName pulumi.StringPtrInput `pulumi:"serverName"` -} - -func (ServersTransportSpecArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServersTransportSpec)(nil)).Elem() -} - -func (i ServersTransportSpecArgs) ToServersTransportSpecOutput() ServersTransportSpecOutput { - return i.ToServersTransportSpecOutputWithContext(context.Background()) -} - -func (i ServersTransportSpecArgs) ToServersTransportSpecOutputWithContext(ctx context.Context) ServersTransportSpecOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServersTransportSpecOutput) -} - -func (i ServersTransportSpecArgs) ToOutput(ctx context.Context) pulumix.Output[ServersTransportSpec] { - return pulumix.Output[ServersTransportSpec]{ - OutputState: i.ToServersTransportSpecOutputWithContext(ctx).OutputState, - } -} - -func (i ServersTransportSpecArgs) ToServersTransportSpecPtrOutput() ServersTransportSpecPtrOutput { - return i.ToServersTransportSpecPtrOutputWithContext(context.Background()) -} - -func (i ServersTransportSpecArgs) ToServersTransportSpecPtrOutputWithContext(ctx context.Context) ServersTransportSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServersTransportSpecOutput).ToServersTransportSpecPtrOutputWithContext(ctx) -} - -// ServersTransportSpecPtrInput is an input type that accepts ServersTransportSpecArgs, ServersTransportSpecPtr and ServersTransportSpecPtrOutput values. -// You can construct a concrete instance of `ServersTransportSpecPtrInput` via: -// -// ServersTransportSpecArgs{...} -// -// or: -// -// nil -type ServersTransportSpecPtrInput interface { - pulumi.Input - - ToServersTransportSpecPtrOutput() ServersTransportSpecPtrOutput - ToServersTransportSpecPtrOutputWithContext(context.Context) ServersTransportSpecPtrOutput -} - -type serversTransportSpecPtrType ServersTransportSpecArgs - -func ServersTransportSpecPtr(v *ServersTransportSpecArgs) ServersTransportSpecPtrInput { - return (*serversTransportSpecPtrType)(v) -} - -func (*serversTransportSpecPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ServersTransportSpec)(nil)).Elem() -} - -func (i *serversTransportSpecPtrType) ToServersTransportSpecPtrOutput() ServersTransportSpecPtrOutput { - return i.ToServersTransportSpecPtrOutputWithContext(context.Background()) -} - -func (i *serversTransportSpecPtrType) ToServersTransportSpecPtrOutputWithContext(ctx context.Context) ServersTransportSpecPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServersTransportSpecPtrOutput) -} - -func (i *serversTransportSpecPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServersTransportSpec] { - return pulumix.Output[*ServersTransportSpec]{ - OutputState: i.ToServersTransportSpecPtrOutputWithContext(ctx).OutputState, - } -} - -// ServersTransportSpec defines the desired state of a ServersTransport. -type ServersTransportSpecOutput struct{ *pulumi.OutputState } - -func (ServersTransportSpecOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServersTransportSpec)(nil)).Elem() -} - -func (o ServersTransportSpecOutput) ToServersTransportSpecOutput() ServersTransportSpecOutput { - return o -} - -func (o ServersTransportSpecOutput) ToServersTransportSpecOutputWithContext(ctx context.Context) ServersTransportSpecOutput { - return o -} - -func (o ServersTransportSpecOutput) ToServersTransportSpecPtrOutput() ServersTransportSpecPtrOutput { - return o.ToServersTransportSpecPtrOutputWithContext(context.Background()) -} - -func (o ServersTransportSpecOutput) ToServersTransportSpecPtrOutputWithContext(ctx context.Context) ServersTransportSpecPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ServersTransportSpec) *ServersTransportSpec { - return &v - }).(ServersTransportSpecPtrOutput) -} - -func (o ServersTransportSpecOutput) ToOutput(ctx context.Context) pulumix.Output[ServersTransportSpec] { - return pulumix.Output[ServersTransportSpec]{ - OutputState: o.OutputState, - } -} - -// CertificatesSecrets defines a list of secret storing client certificates for mTLS. -func (o ServersTransportSpecOutput) CertificatesSecrets() pulumi.StringArrayOutput { - return o.ApplyT(func(v ServersTransportSpec) []string { return v.CertificatesSecrets }).(pulumi.StringArrayOutput) -} - -// DisableHTTP2 disables HTTP/2 for connections with backend servers. -func (o ServersTransportSpecOutput) DisableHTTP2() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServersTransportSpec) *bool { return v.DisableHTTP2 }).(pulumi.BoolPtrOutput) -} - -// ForwardingTimeouts defines the timeouts for requests forwarded to the backend servers. -func (o ServersTransportSpecOutput) ForwardingTimeouts() ServersTransportSpecForwardingTimeoutsPtrOutput { - return o.ApplyT(func(v ServersTransportSpec) *ServersTransportSpecForwardingTimeouts { return v.ForwardingTimeouts }).(ServersTransportSpecForwardingTimeoutsPtrOutput) -} - -// InsecureSkipVerify disables SSL certificate verification. -func (o ServersTransportSpecOutput) InsecureSkipVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ServersTransportSpec) *bool { return v.InsecureSkipVerify }).(pulumi.BoolPtrOutput) -} - -// MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. -func (o ServersTransportSpecOutput) MaxIdleConnsPerHost() pulumi.IntPtrOutput { - return o.ApplyT(func(v ServersTransportSpec) *int { return v.MaxIdleConnsPerHost }).(pulumi.IntPtrOutput) -} - -// PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. -func (o ServersTransportSpecOutput) PeerCertURI() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServersTransportSpec) *string { return v.PeerCertURI }).(pulumi.StringPtrOutput) -} - -// RootCAsSecrets defines a list of CA secret used to validate self-signed certificate. -func (o ServersTransportSpecOutput) RootCAsSecrets() pulumi.StringArrayOutput { - return o.ApplyT(func(v ServersTransportSpec) []string { return v.RootCAsSecrets }).(pulumi.StringArrayOutput) -} - -// ServerName defines the server name used to contact the server. -func (o ServersTransportSpecOutput) ServerName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ServersTransportSpec) *string { return v.ServerName }).(pulumi.StringPtrOutput) -} - -type ServersTransportSpecPtrOutput struct{ *pulumi.OutputState } - -func (ServersTransportSpecPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServersTransportSpec)(nil)).Elem() -} - -func (o ServersTransportSpecPtrOutput) ToServersTransportSpecPtrOutput() ServersTransportSpecPtrOutput { - return o -} - -func (o ServersTransportSpecPtrOutput) ToServersTransportSpecPtrOutputWithContext(ctx context.Context) ServersTransportSpecPtrOutput { - return o -} - -func (o ServersTransportSpecPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServersTransportSpec] { - return pulumix.Output[*ServersTransportSpec]{ - OutputState: o.OutputState, - } -} - -func (o ServersTransportSpecPtrOutput) Elem() ServersTransportSpecOutput { - return o.ApplyT(func(v *ServersTransportSpec) ServersTransportSpec { - if v != nil { - return *v - } - var ret ServersTransportSpec - return ret - }).(ServersTransportSpecOutput) -} - -// CertificatesSecrets defines a list of secret storing client certificates for mTLS. -func (o ServersTransportSpecPtrOutput) CertificatesSecrets() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ServersTransportSpec) []string { - if v == nil { - return nil - } - return v.CertificatesSecrets - }).(pulumi.StringArrayOutput) -} - -// DisableHTTP2 disables HTTP/2 for connections with backend servers. -func (o ServersTransportSpecPtrOutput) DisableHTTP2() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ServersTransportSpec) *bool { - if v == nil { - return nil - } - return v.DisableHTTP2 - }).(pulumi.BoolPtrOutput) -} - -// ForwardingTimeouts defines the timeouts for requests forwarded to the backend servers. -func (o ServersTransportSpecPtrOutput) ForwardingTimeouts() ServersTransportSpecForwardingTimeoutsPtrOutput { - return o.ApplyT(func(v *ServersTransportSpec) *ServersTransportSpecForwardingTimeouts { - if v == nil { - return nil - } - return v.ForwardingTimeouts - }).(ServersTransportSpecForwardingTimeoutsPtrOutput) -} - -// InsecureSkipVerify disables SSL certificate verification. -func (o ServersTransportSpecPtrOutput) InsecureSkipVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ServersTransportSpec) *bool { - if v == nil { - return nil - } - return v.InsecureSkipVerify - }).(pulumi.BoolPtrOutput) -} - -// MaxIdleConnsPerHost controls the maximum idle (keep-alive) to keep per-host. -func (o ServersTransportSpecPtrOutput) MaxIdleConnsPerHost() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ServersTransportSpec) *int { - if v == nil { - return nil - } - return v.MaxIdleConnsPerHost - }).(pulumi.IntPtrOutput) -} - -// PeerCertURI defines the peer cert URI used to match against SAN URI during the peer certificate verification. -func (o ServersTransportSpecPtrOutput) PeerCertURI() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServersTransportSpec) *string { - if v == nil { - return nil - } - return v.PeerCertURI - }).(pulumi.StringPtrOutput) -} - -// RootCAsSecrets defines a list of CA secret used to validate self-signed certificate. -func (o ServersTransportSpecPtrOutput) RootCAsSecrets() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ServersTransportSpec) []string { - if v == nil { - return nil - } - return v.RootCAsSecrets - }).(pulumi.StringArrayOutput) -} - -// ServerName defines the server name used to contact the server. -func (o ServersTransportSpecPtrOutput) ServerName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServersTransportSpec) *string { - if v == nil { - return nil - } - return v.ServerName - }).(pulumi.StringPtrOutput) -} - -// ForwardingTimeouts defines the timeouts for requests forwarded to the backend servers. -type ServersTransportSpecForwardingTimeouts struct { - // DialTimeout is the amount of time to wait until a connection to a backend server can be established. - DialTimeout interface{} `pulumi:"dialTimeout"` - // IdleConnTimeout is the maximum period for which an idle HTTP keep-alive connection will remain open before closing itself. - IdleConnTimeout interface{} `pulumi:"idleConnTimeout"` - // PingTimeout is the timeout after which the HTTP/2 connection will be closed if a response to ping is not received. - PingTimeout interface{} `pulumi:"pingTimeout"` - // ReadIdleTimeout is the timeout after which a health check using ping frame will be carried out if no frame is received on the HTTP/2 connection. - ReadIdleTimeout interface{} `pulumi:"readIdleTimeout"` - // ResponseHeaderTimeout is the amount of time to wait for a server's response headers after fully writing the request (including its body, if any). - ResponseHeaderTimeout interface{} `pulumi:"responseHeaderTimeout"` -} - -// ServersTransportSpecForwardingTimeoutsInput is an input type that accepts ServersTransportSpecForwardingTimeoutsArgs and ServersTransportSpecForwardingTimeoutsOutput values. -// You can construct a concrete instance of `ServersTransportSpecForwardingTimeoutsInput` via: -// -// ServersTransportSpecForwardingTimeoutsArgs{...} -type ServersTransportSpecForwardingTimeoutsInput interface { - pulumi.Input - - ToServersTransportSpecForwardingTimeoutsOutput() ServersTransportSpecForwardingTimeoutsOutput - ToServersTransportSpecForwardingTimeoutsOutputWithContext(context.Context) ServersTransportSpecForwardingTimeoutsOutput -} - -// ForwardingTimeouts defines the timeouts for requests forwarded to the backend servers. -type ServersTransportSpecForwardingTimeoutsArgs struct { - // DialTimeout is the amount of time to wait until a connection to a backend server can be established. - DialTimeout pulumi.Input `pulumi:"dialTimeout"` - // IdleConnTimeout is the maximum period for which an idle HTTP keep-alive connection will remain open before closing itself. - IdleConnTimeout pulumi.Input `pulumi:"idleConnTimeout"` - // PingTimeout is the timeout after which the HTTP/2 connection will be closed if a response to ping is not received. - PingTimeout pulumi.Input `pulumi:"pingTimeout"` - // ReadIdleTimeout is the timeout after which a health check using ping frame will be carried out if no frame is received on the HTTP/2 connection. - ReadIdleTimeout pulumi.Input `pulumi:"readIdleTimeout"` - // ResponseHeaderTimeout is the amount of time to wait for a server's response headers after fully writing the request (including its body, if any). - ResponseHeaderTimeout pulumi.Input `pulumi:"responseHeaderTimeout"` -} - -func (ServersTransportSpecForwardingTimeoutsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ServersTransportSpecForwardingTimeouts)(nil)).Elem() -} - -func (i ServersTransportSpecForwardingTimeoutsArgs) ToServersTransportSpecForwardingTimeoutsOutput() ServersTransportSpecForwardingTimeoutsOutput { - return i.ToServersTransportSpecForwardingTimeoutsOutputWithContext(context.Background()) -} - -func (i ServersTransportSpecForwardingTimeoutsArgs) ToServersTransportSpecForwardingTimeoutsOutputWithContext(ctx context.Context) ServersTransportSpecForwardingTimeoutsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServersTransportSpecForwardingTimeoutsOutput) -} - -func (i ServersTransportSpecForwardingTimeoutsArgs) ToOutput(ctx context.Context) pulumix.Output[ServersTransportSpecForwardingTimeouts] { - return pulumix.Output[ServersTransportSpecForwardingTimeouts]{ - OutputState: i.ToServersTransportSpecForwardingTimeoutsOutputWithContext(ctx).OutputState, - } -} - -func (i ServersTransportSpecForwardingTimeoutsArgs) ToServersTransportSpecForwardingTimeoutsPtrOutput() ServersTransportSpecForwardingTimeoutsPtrOutput { - return i.ToServersTransportSpecForwardingTimeoutsPtrOutputWithContext(context.Background()) -} - -func (i ServersTransportSpecForwardingTimeoutsArgs) ToServersTransportSpecForwardingTimeoutsPtrOutputWithContext(ctx context.Context) ServersTransportSpecForwardingTimeoutsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServersTransportSpecForwardingTimeoutsOutput).ToServersTransportSpecForwardingTimeoutsPtrOutputWithContext(ctx) -} - -// ServersTransportSpecForwardingTimeoutsPtrInput is an input type that accepts ServersTransportSpecForwardingTimeoutsArgs, ServersTransportSpecForwardingTimeoutsPtr and ServersTransportSpecForwardingTimeoutsPtrOutput values. -// You can construct a concrete instance of `ServersTransportSpecForwardingTimeoutsPtrInput` via: -// -// ServersTransportSpecForwardingTimeoutsArgs{...} -// -// or: -// -// nil -type ServersTransportSpecForwardingTimeoutsPtrInput interface { - pulumi.Input - - ToServersTransportSpecForwardingTimeoutsPtrOutput() ServersTransportSpecForwardingTimeoutsPtrOutput - ToServersTransportSpecForwardingTimeoutsPtrOutputWithContext(context.Context) ServersTransportSpecForwardingTimeoutsPtrOutput -} - -type serversTransportSpecForwardingTimeoutsPtrType ServersTransportSpecForwardingTimeoutsArgs - -func ServersTransportSpecForwardingTimeoutsPtr(v *ServersTransportSpecForwardingTimeoutsArgs) ServersTransportSpecForwardingTimeoutsPtrInput { - return (*serversTransportSpecForwardingTimeoutsPtrType)(v) -} - -func (*serversTransportSpecForwardingTimeoutsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ServersTransportSpecForwardingTimeouts)(nil)).Elem() -} - -func (i *serversTransportSpecForwardingTimeoutsPtrType) ToServersTransportSpecForwardingTimeoutsPtrOutput() ServersTransportSpecForwardingTimeoutsPtrOutput { - return i.ToServersTransportSpecForwardingTimeoutsPtrOutputWithContext(context.Background()) -} - -func (i *serversTransportSpecForwardingTimeoutsPtrType) ToServersTransportSpecForwardingTimeoutsPtrOutputWithContext(ctx context.Context) ServersTransportSpecForwardingTimeoutsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServersTransportSpecForwardingTimeoutsPtrOutput) -} - -func (i *serversTransportSpecForwardingTimeoutsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ServersTransportSpecForwardingTimeouts] { - return pulumix.Output[*ServersTransportSpecForwardingTimeouts]{ - OutputState: i.ToServersTransportSpecForwardingTimeoutsPtrOutputWithContext(ctx).OutputState, - } -} - -// ForwardingTimeouts defines the timeouts for requests forwarded to the backend servers. -type ServersTransportSpecForwardingTimeoutsOutput struct{ *pulumi.OutputState } - -func (ServersTransportSpecForwardingTimeoutsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ServersTransportSpecForwardingTimeouts)(nil)).Elem() -} - -func (o ServersTransportSpecForwardingTimeoutsOutput) ToServersTransportSpecForwardingTimeoutsOutput() ServersTransportSpecForwardingTimeoutsOutput { - return o -} - -func (o ServersTransportSpecForwardingTimeoutsOutput) ToServersTransportSpecForwardingTimeoutsOutputWithContext(ctx context.Context) ServersTransportSpecForwardingTimeoutsOutput { - return o -} - -func (o ServersTransportSpecForwardingTimeoutsOutput) ToServersTransportSpecForwardingTimeoutsPtrOutput() ServersTransportSpecForwardingTimeoutsPtrOutput { - return o.ToServersTransportSpecForwardingTimeoutsPtrOutputWithContext(context.Background()) -} - -func (o ServersTransportSpecForwardingTimeoutsOutput) ToServersTransportSpecForwardingTimeoutsPtrOutputWithContext(ctx context.Context) ServersTransportSpecForwardingTimeoutsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ServersTransportSpecForwardingTimeouts) *ServersTransportSpecForwardingTimeouts { - return &v - }).(ServersTransportSpecForwardingTimeoutsPtrOutput) -} - -func (o ServersTransportSpecForwardingTimeoutsOutput) ToOutput(ctx context.Context) pulumix.Output[ServersTransportSpecForwardingTimeouts] { - return pulumix.Output[ServersTransportSpecForwardingTimeouts]{ - OutputState: o.OutputState, - } -} - -// DialTimeout is the amount of time to wait until a connection to a backend server can be established. -func (o ServersTransportSpecForwardingTimeoutsOutput) DialTimeout() pulumi.AnyOutput { - return o.ApplyT(func(v ServersTransportSpecForwardingTimeouts) interface{} { return v.DialTimeout }).(pulumi.AnyOutput) -} - -// IdleConnTimeout is the maximum period for which an idle HTTP keep-alive connection will remain open before closing itself. -func (o ServersTransportSpecForwardingTimeoutsOutput) IdleConnTimeout() pulumi.AnyOutput { - return o.ApplyT(func(v ServersTransportSpecForwardingTimeouts) interface{} { return v.IdleConnTimeout }).(pulumi.AnyOutput) -} - -// PingTimeout is the timeout after which the HTTP/2 connection will be closed if a response to ping is not received. -func (o ServersTransportSpecForwardingTimeoutsOutput) PingTimeout() pulumi.AnyOutput { - return o.ApplyT(func(v ServersTransportSpecForwardingTimeouts) interface{} { return v.PingTimeout }).(pulumi.AnyOutput) -} - -// ReadIdleTimeout is the timeout after which a health check using ping frame will be carried out if no frame is received on the HTTP/2 connection. -func (o ServersTransportSpecForwardingTimeoutsOutput) ReadIdleTimeout() pulumi.AnyOutput { - return o.ApplyT(func(v ServersTransportSpecForwardingTimeouts) interface{} { return v.ReadIdleTimeout }).(pulumi.AnyOutput) -} - -// ResponseHeaderTimeout is the amount of time to wait for a server's response headers after fully writing the request (including its body, if any). -func (o ServersTransportSpecForwardingTimeoutsOutput) ResponseHeaderTimeout() pulumi.AnyOutput { - return o.ApplyT(func(v ServersTransportSpecForwardingTimeouts) interface{} { return v.ResponseHeaderTimeout }).(pulumi.AnyOutput) -} - -type ServersTransportSpecForwardingTimeoutsPtrOutput struct{ *pulumi.OutputState } - -func (ServersTransportSpecForwardingTimeoutsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServersTransportSpecForwardingTimeouts)(nil)).Elem() -} - -func (o ServersTransportSpecForwardingTimeoutsPtrOutput) ToServersTransportSpecForwardingTimeoutsPtrOutput() ServersTransportSpecForwardingTimeoutsPtrOutput { - return o -} - -func (o ServersTransportSpecForwardingTimeoutsPtrOutput) ToServersTransportSpecForwardingTimeoutsPtrOutputWithContext(ctx context.Context) ServersTransportSpecForwardingTimeoutsPtrOutput { - return o -} - -func (o ServersTransportSpecForwardingTimeoutsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ServersTransportSpecForwardingTimeouts] { - return pulumix.Output[*ServersTransportSpecForwardingTimeouts]{ - OutputState: o.OutputState, - } -} - -func (o ServersTransportSpecForwardingTimeoutsPtrOutput) Elem() ServersTransportSpecForwardingTimeoutsOutput { - return o.ApplyT(func(v *ServersTransportSpecForwardingTimeouts) ServersTransportSpecForwardingTimeouts { - if v != nil { - return *v - } - var ret ServersTransportSpecForwardingTimeouts - return ret - }).(ServersTransportSpecForwardingTimeoutsOutput) -} - -// DialTimeout is the amount of time to wait until a connection to a backend server can be established. -func (o ServersTransportSpecForwardingTimeoutsPtrOutput) DialTimeout() pulumi.AnyOutput { - return o.ApplyT(func(v *ServersTransportSpecForwardingTimeouts) interface{} { - if v == nil { - return nil - } - return v.DialTimeout - }).(pulumi.AnyOutput) -} - -// IdleConnTimeout is the maximum period for which an idle HTTP keep-alive connection will remain open before closing itself. -func (o ServersTransportSpecForwardingTimeoutsPtrOutput) IdleConnTimeout() pulumi.AnyOutput { - return o.ApplyT(func(v *ServersTransportSpecForwardingTimeouts) interface{} { - if v == nil { - return nil - } - return v.IdleConnTimeout - }).(pulumi.AnyOutput) -} - -// PingTimeout is the timeout after which the HTTP/2 connection will be closed if a response to ping is not received. -func (o ServersTransportSpecForwardingTimeoutsPtrOutput) PingTimeout() pulumi.AnyOutput { - return o.ApplyT(func(v *ServersTransportSpecForwardingTimeouts) interface{} { - if v == nil { - return nil - } - return v.PingTimeout - }).(pulumi.AnyOutput) -} - -// ReadIdleTimeout is the timeout after which a health check using ping frame will be carried out if no frame is received on the HTTP/2 connection. -func (o ServersTransportSpecForwardingTimeoutsPtrOutput) ReadIdleTimeout() pulumi.AnyOutput { - return o.ApplyT(func(v *ServersTransportSpecForwardingTimeouts) interface{} { - if v == nil { - return nil - } - return v.ReadIdleTimeout - }).(pulumi.AnyOutput) -} - -// ResponseHeaderTimeout is the amount of time to wait for a server's response headers after fully writing the request (including its body, if any). -func (o ServersTransportSpecForwardingTimeoutsPtrOutput) ResponseHeaderTimeout() pulumi.AnyOutput { - return o.ApplyT(func(v *ServersTransportSpecForwardingTimeouts) interface{} { - if v == nil { - return nil - } - return v.ResponseHeaderTimeout - }).(pulumi.AnyOutput) -} - // ServersTransportTCP is the CRD implementation of a TCPServersTransport. If no tcpServersTransport is specified, a default one named default@internal will be used. The default@internal tcpServersTransport can be configured in the static configuration. More info: https://doc.traefik.io/traefik/v3.0/routing/services/#serverstransport_3 type ServersTransportTCPType struct { ApiVersion *string `pulumi:"apiVersion"` @@ -19158,10 +18609,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareTCPSpecInFlightConnPtrInput)(nil)).Elem(), MiddlewareTCPSpecInFlightConnArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareTCPSpecIpWhiteListInput)(nil)).Elem(), MiddlewareTCPSpecIpWhiteListArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MiddlewareTCPSpecIpWhiteListPtrInput)(nil)).Elem(), MiddlewareTCPSpecIpWhiteListArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ServersTransportSpecInput)(nil)).Elem(), ServersTransportSpecArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ServersTransportSpecPtrInput)(nil)).Elem(), ServersTransportSpecArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ServersTransportSpecForwardingTimeoutsInput)(nil)).Elem(), ServersTransportSpecForwardingTimeoutsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ServersTransportSpecForwardingTimeoutsPtrInput)(nil)).Elem(), ServersTransportSpecForwardingTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServersTransportTCPSpecInput)(nil)).Elem(), ServersTransportTCPSpecArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServersTransportTCPSpecPtrInput)(nil)).Elem(), ServersTransportTCPSpecArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ServersTransportTCPSpecTlsInput)(nil)).Elem(), ServersTransportTCPSpecTlsArgs{}) @@ -19340,10 +18787,6 @@ func init() { pulumi.RegisterOutputType(MiddlewareTCPSpecInFlightConnPtrOutput{}) pulumi.RegisterOutputType(MiddlewareTCPSpecIpWhiteListOutput{}) pulumi.RegisterOutputType(MiddlewareTCPSpecIpWhiteListPtrOutput{}) - pulumi.RegisterOutputType(ServersTransportSpecOutput{}) - pulumi.RegisterOutputType(ServersTransportSpecPtrOutput{}) - pulumi.RegisterOutputType(ServersTransportSpecForwardingTimeoutsOutput{}) - pulumi.RegisterOutputType(ServersTransportSpecForwardingTimeoutsPtrOutput{}) pulumi.RegisterOutputType(ServersTransportTCPSpecOutput{}) pulumi.RegisterOutputType(ServersTransportTCPSpecPtrOutput{}) pulumi.RegisterOutputType(ServersTransportTCPSpecTlsOutput{}) diff --git a/crds/kubernetes/traefik/v1alpha1/serversTransport.go b/crds/kubernetes/traefik/v1alpha1/serversTransport.go deleted file mode 100644 index 153e56d..0000000 --- a/crds/kubernetes/traefik/v1alpha1/serversTransport.go +++ /dev/null @@ -1,154 +0,0 @@ -// Code generated by crd2pulumi DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package v1alpha1 - -import ( - "context" - "reflect" - - "antoine-roux.tk/projects/go/pulumi-library/crds/kubernetes/internal" - v1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" -) - -// ServersTransport is the CRD implementation of a ServersTransport. If no serversTransport is specified, the default@internal will be used. The default@internal serversTransport is created from the static configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#serverstransport_1 -type ServersTransport struct { - pulumi.CustomResourceState - - ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"` - Kind pulumi.StringPtrOutput `pulumi:"kind"` - Metadata v1.ObjectMetaOutput `pulumi:"metadata"` - // ServersTransportSpec defines the desired state of a ServersTransport. - Spec ServersTransportSpecOutput `pulumi:"spec"` -} - -// NewServersTransport registers a new resource with the given unique name, arguments, and options. -func NewServersTransport(ctx *pulumi.Context, - name string, args *ServersTransportArgs, opts ...pulumi.ResourceOption) (*ServersTransport, error) { - if args == nil { - args = &ServersTransportArgs{} - } - - args.ApiVersion = pulumi.StringPtr("traefik.io/v1alpha1") - args.Kind = pulumi.StringPtr("ServersTransport") - opts = internal.PkgResourceDefaultOpts(opts) - var resource ServersTransport - err := ctx.RegisterResource("kubernetes:traefik.io/v1alpha1:ServersTransport", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetServersTransport gets an existing ServersTransport resource's state with the given name, ID, and optional -// state properties that are used to uniquely qualify the lookup (nil if not required). -func GetServersTransport(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *ServersTransportState, opts ...pulumi.ResourceOption) (*ServersTransport, error) { - var resource ServersTransport - err := ctx.ReadResource("kubernetes:traefik.io/v1alpha1:ServersTransport", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering ServersTransport resources. -type serversTransportState struct { -} - -type ServersTransportState struct { -} - -func (ServersTransportState) ElementType() reflect.Type { - return reflect.TypeOf((*serversTransportState)(nil)).Elem() -} - -type serversTransportArgs struct { - ApiVersion *string `pulumi:"apiVersion"` - Kind *string `pulumi:"kind"` - Metadata *v1.ObjectMeta `pulumi:"metadata"` - // ServersTransportSpec defines the desired state of a ServersTransport. - Spec *ServersTransportSpec `pulumi:"spec"` -} - -// The set of arguments for constructing a ServersTransport resource. -type ServersTransportArgs struct { - ApiVersion pulumi.StringPtrInput - Kind pulumi.StringPtrInput - Metadata v1.ObjectMetaPtrInput - // ServersTransportSpec defines the desired state of a ServersTransport. - Spec ServersTransportSpecPtrInput -} - -func (ServersTransportArgs) ElementType() reflect.Type { - return reflect.TypeOf((*serversTransportArgs)(nil)).Elem() -} - -type ServersTransportInput interface { - pulumi.Input - - ToServersTransportOutput() ServersTransportOutput - ToServersTransportOutputWithContext(ctx context.Context) ServersTransportOutput -} - -func (*ServersTransport) ElementType() reflect.Type { - return reflect.TypeOf((**ServersTransport)(nil)).Elem() -} - -func (i *ServersTransport) ToServersTransportOutput() ServersTransportOutput { - return i.ToServersTransportOutputWithContext(context.Background()) -} - -func (i *ServersTransport) ToServersTransportOutputWithContext(ctx context.Context) ServersTransportOutput { - return pulumi.ToOutputWithContext(ctx, i).(ServersTransportOutput) -} - -func (i *ServersTransport) ToOutput(ctx context.Context) pulumix.Output[*ServersTransport] { - return pulumix.Output[*ServersTransport]{ - OutputState: i.ToServersTransportOutputWithContext(ctx).OutputState, - } -} - -type ServersTransportOutput struct{ *pulumi.OutputState } - -func (ServersTransportOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ServersTransport)(nil)).Elem() -} - -func (o ServersTransportOutput) ToServersTransportOutput() ServersTransportOutput { - return o -} - -func (o ServersTransportOutput) ToServersTransportOutputWithContext(ctx context.Context) ServersTransportOutput { - return o -} - -func (o ServersTransportOutput) ToOutput(ctx context.Context) pulumix.Output[*ServersTransport] { - return pulumix.Output[*ServersTransport]{ - OutputState: o.OutputState, - } -} - -func (o ServersTransportOutput) ApiVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServersTransport) pulumi.StringPtrOutput { return v.ApiVersion }).(pulumi.StringPtrOutput) -} - -func (o ServersTransportOutput) Kind() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ServersTransport) pulumi.StringPtrOutput { return v.Kind }).(pulumi.StringPtrOutput) -} - -func (o ServersTransportOutput) Metadata() v1.ObjectMetaOutput { - return o.ApplyT(func(v *ServersTransport) v1.ObjectMetaOutput { return v.Metadata }).(v1.ObjectMetaOutput) -} - -// ServersTransportSpec defines the desired state of a ServersTransport. -func (o ServersTransportOutput) Spec() ServersTransportSpecOutput { - return o.ApplyT(func(v *ServersTransport) ServersTransportSpecOutput { return v.Spec }).(ServersTransportSpecOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ServersTransportInput)(nil)).Elem(), &ServersTransport{}) - pulumi.RegisterOutputType(ServersTransportOutput{}) -} diff --git a/go.sum b/go.sum index ee85157..9700811 100644 --- a/go.sum +++ b/go.sum @@ -8,8 +8,6 @@ github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= -github.com/agext/levenshtein v1.2.1 h1:QmvMAjj2aEICytGiWzmxoE0x2KZvE0fvmqMOfy2tjT8= -github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= @@ -79,14 +77,10 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/hcl/v2 v2.16.1 h1:BwuxEMD/tsYgbhIW7UuI3crjovf3MzuFWiVgiv57iHg= -github.com/hashicorp/hcl/v2 v2.16.1/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= -github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= @@ -98,9 +92,8 @@ github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQL github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -124,8 +117,6 @@ github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWV github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= -github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 h1:DpOJ2HYzCv8LZP15IdmG+YdwD2luVPHITV96TkirNBM= -github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= @@ -155,16 +146,12 @@ github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.1.1 h1:A1U9sPo6yxrsIhoHubx/kVCfEsVqyVZRkuLFaKRPHPU= github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.1.1/go.mod h1:x0wrexKg++oDtDjFA9Nab1Vio7v6YHOcJl4vIYROWy4= -github.com/pulumi/pulumi/sdk/v3 v3.80.0 h1:4UfNidAAl7X6/G6+USvh0eRiiURtsfsJY9GWK2REH5E= -github.com/pulumi/pulumi/sdk/v3 v3.80.0/go.mod h1:RMilNNVMlmK1h4Nl/qylb9vzbgh4F3mufZoUOnPy98o= github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -173,15 +160,11 @@ github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+e github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= -github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0= github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= -github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= @@ -194,8 +177,8 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= @@ -209,8 +192,6 @@ github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zclconf/go-cty v1.12.1 h1:PcupnljUm9EIvbgSHQnHhUr3fO6oFmkOrvs2BAFNXXY= -github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA= github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= @@ -225,8 +206,6 @@ golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a h1:diz9pEYuTIuLMJLs3rGDkeaTsNyRs6duYdFyPAxzE/U= -golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= @@ -254,8 +233,6 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -282,8 +259,6 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=