chore(deps): update module github.com/pulumi/pulumi/sdk/v3 to v3.132.0

This commit is contained in:
Renovate Bot 2024-09-29 13:51:10 +02:00 committed by RouxAntoine
parent d061ee3d47
commit ae29216252
Signed by: antoine
GPG Key ID: 098FB66FC0475E70
21 changed files with 16534 additions and 456 deletions

View File

@ -1,7 +1,7 @@
.PHONY: crds
clean:
rm -r crds/
rm -r crds/ || true
crds: clean
crd2pulumi --go ~/Documents/virtualization/kubeadm/cert-manager/cert-manager/1-crds.yaml

View File

@ -0,0 +1,44 @@
// Code generated by crd2pulumi DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package v1alpha2
import (
"fmt"
"antoine-roux.tk/projects/go/pulumi-library/crds/kubernetes/internal"
"github.com/blang/semver"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type module struct {
version semver.Version
}
func (m *module) Version() semver.Version {
return m.version
}
func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) {
switch typ {
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute":
r = &UDPRoute{}
default:
return nil, fmt.Errorf("unknown resource type: %s", typ)
}
err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn))
return
}
func init() {
version, err := internal.PkgVersion()
if err != nil {
version = semver.Version{Major: 1}
}
pulumi.RegisterResourceModule(
"crds",
"gateway.networking.k8s.io/v1alpha2",
&module{version},
)
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,165 @@
// Code generated by crd2pulumi DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package v1alpha2
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"
)
// UDPRoute provides a way to route UDP traffic. When combined with a Gateway listener, it can be used to forward traffic on the port specified by the listener to a set of backends specified by the UDPRoute.
type UDPRoute struct {
pulumi.CustomResourceState
ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
Kind pulumi.StringPtrOutput `pulumi:"kind"`
Metadata v1.ObjectMetaPtrOutput `pulumi:"metadata"`
// Spec defines the desired state of UDPRoute.
Spec UDPRouteSpecOutput `pulumi:"spec"`
// Status defines the current state of UDPRoute.
Status UDPRouteStatusPtrOutput `pulumi:"status"`
}
// NewUDPRoute registers a new resource with the given unique name, arguments, and options.
func NewUDPRoute(ctx *pulumi.Context,
name string, args *UDPRouteArgs, opts ...pulumi.ResourceOption) (*UDPRoute, error) {
if args == nil {
args = &UDPRouteArgs{}
}
args.ApiVersion = pulumi.StringPtr("gateway.networking.k8s.io/v1alpha2")
args.Kind = pulumi.StringPtr("UDPRoute")
opts = internal.PkgResourceDefaultOpts(opts)
var resource UDPRoute
err := ctx.RegisterResource("kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetUDPRoute gets an existing UDPRoute 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 GetUDPRoute(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *UDPRouteState, opts ...pulumi.ResourceOption) (*UDPRoute, error) {
var resource UDPRoute
err := ctx.ReadResource("kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering UDPRoute resources.
type udprouteState struct {
}
type UDPRouteState struct {
}
func (UDPRouteState) ElementType() reflect.Type {
return reflect.TypeOf((*udprouteState)(nil)).Elem()
}
type udprouteArgs struct {
ApiVersion *string `pulumi:"apiVersion"`
Kind *string `pulumi:"kind"`
Metadata *v1.ObjectMeta `pulumi:"metadata"`
// Spec defines the desired state of UDPRoute.
Spec *UDPRouteSpec `pulumi:"spec"`
// Status defines the current state of UDPRoute.
Status *UDPRouteStatus `pulumi:"status"`
}
// The set of arguments for constructing a UDPRoute resource.
type UDPRouteArgs struct {
ApiVersion pulumi.StringPtrInput
Kind pulumi.StringPtrInput
Metadata v1.ObjectMetaPtrInput
// Spec defines the desired state of UDPRoute.
Spec UDPRouteSpecPtrInput
// Status defines the current state of UDPRoute.
Status UDPRouteStatusPtrInput
}
func (UDPRouteArgs) ElementType() reflect.Type {
return reflect.TypeOf((*udprouteArgs)(nil)).Elem()
}
type UDPRouteInput interface {
pulumi.Input
ToUDPRouteOutput() UDPRouteOutput
ToUDPRouteOutputWithContext(ctx context.Context) UDPRouteOutput
}
func (*UDPRoute) ElementType() reflect.Type {
return reflect.TypeOf((**UDPRoute)(nil)).Elem()
}
func (i *UDPRoute) ToUDPRouteOutput() UDPRouteOutput {
return i.ToUDPRouteOutputWithContext(context.Background())
}
func (i *UDPRoute) ToUDPRouteOutputWithContext(ctx context.Context) UDPRouteOutput {
return pulumi.ToOutputWithContext(ctx, i).(UDPRouteOutput)
}
func (i *UDPRoute) ToOutput(ctx context.Context) pulumix.Output[*UDPRoute] {
return pulumix.Output[*UDPRoute]{
OutputState: i.ToUDPRouteOutputWithContext(ctx).OutputState,
}
}
type UDPRouteOutput struct{ *pulumi.OutputState }
func (UDPRouteOutput) ElementType() reflect.Type {
return reflect.TypeOf((**UDPRoute)(nil)).Elem()
}
func (o UDPRouteOutput) ToUDPRouteOutput() UDPRouteOutput {
return o
}
func (o UDPRouteOutput) ToUDPRouteOutputWithContext(ctx context.Context) UDPRouteOutput {
return o
}
func (o UDPRouteOutput) ToOutput(ctx context.Context) pulumix.Output[*UDPRoute] {
return pulumix.Output[*UDPRoute]{
OutputState: o.OutputState,
}
}
func (o UDPRouteOutput) ApiVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v *UDPRoute) pulumi.StringPtrOutput { return v.ApiVersion }).(pulumi.StringPtrOutput)
}
func (o UDPRouteOutput) Kind() pulumi.StringPtrOutput {
return o.ApplyT(func(v *UDPRoute) pulumi.StringPtrOutput { return v.Kind }).(pulumi.StringPtrOutput)
}
func (o UDPRouteOutput) Metadata() v1.ObjectMetaPtrOutput {
return o.ApplyT(func(v *UDPRoute) v1.ObjectMetaPtrOutput { return v.Metadata }).(v1.ObjectMetaPtrOutput)
}
// Spec defines the desired state of UDPRoute.
func (o UDPRouteOutput) Spec() UDPRouteSpecOutput {
return o.ApplyT(func(v *UDPRoute) UDPRouteSpecOutput { return v.Spec }).(UDPRouteSpecOutput)
}
// Status defines the current state of UDPRoute.
func (o UDPRouteOutput) Status() UDPRouteStatusPtrOutput {
return o.ApplyT(func(v *UDPRoute) UDPRouteStatusPtrOutput { return v.Status }).(UDPRouteStatusPtrOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*UDPRouteInput)(nil)).Elem(), &UDPRoute{})
pulumi.RegisterOutputType(UDPRouteOutput{})
}

View File

@ -0,0 +1,168 @@
// 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"
)
// AccessControlPolicy defines an access control policy.
type AccessControlPolicy struct {
pulumi.CustomResourceState
ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
Kind pulumi.StringPtrOutput `pulumi:"kind"`
Metadata v1.ObjectMetaPtrOutput `pulumi:"metadata"`
// AccessControlPolicySpec configures an access control policy.
Spec AccessControlPolicySpecPtrOutput `pulumi:"spec"`
// The current status of this access control policy.
Status AccessControlPolicyStatusPtrOutput `pulumi:"status"`
}
// NewAccessControlPolicy registers a new resource with the given unique name, arguments, and options.
func NewAccessControlPolicy(ctx *pulumi.Context,
name string, args *AccessControlPolicyArgs, opts ...pulumi.ResourceOption) (*AccessControlPolicy, error) {
if args == nil {
args = &AccessControlPolicyArgs{}
}
args.ApiVersion = pulumi.StringPtr("hub.traefik.io/v1alpha1")
args.Kind = pulumi.StringPtr("AccessControlPolicy")
if args.Spec != nil {
args.Spec = args.Spec.ToAccessControlPolicySpecPtrOutput().ApplyT(func(v *AccessControlPolicySpec) *AccessControlPolicySpec { return v.Defaults() }).(AccessControlPolicySpecPtrOutput)
}
opts = internal.PkgResourceDefaultOpts(opts)
var resource AccessControlPolicy
err := ctx.RegisterResource("kubernetes:hub.traefik.io/v1alpha1:AccessControlPolicy", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetAccessControlPolicy gets an existing AccessControlPolicy 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 GetAccessControlPolicy(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *AccessControlPolicyState, opts ...pulumi.ResourceOption) (*AccessControlPolicy, error) {
var resource AccessControlPolicy
err := ctx.ReadResource("kubernetes:hub.traefik.io/v1alpha1:AccessControlPolicy", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering AccessControlPolicy resources.
type accessControlPolicyState struct {
}
type AccessControlPolicyState struct {
}
func (AccessControlPolicyState) ElementType() reflect.Type {
return reflect.TypeOf((*accessControlPolicyState)(nil)).Elem()
}
type accessControlPolicyArgs struct {
ApiVersion *string `pulumi:"apiVersion"`
Kind *string `pulumi:"kind"`
Metadata *v1.ObjectMeta `pulumi:"metadata"`
// AccessControlPolicySpec configures an access control policy.
Spec *AccessControlPolicySpec `pulumi:"spec"`
// The current status of this access control policy.
Status *AccessControlPolicyStatus `pulumi:"status"`
}
// The set of arguments for constructing a AccessControlPolicy resource.
type AccessControlPolicyArgs struct {
ApiVersion pulumi.StringPtrInput
Kind pulumi.StringPtrInput
Metadata v1.ObjectMetaPtrInput
// AccessControlPolicySpec configures an access control policy.
Spec AccessControlPolicySpecPtrInput
// The current status of this access control policy.
Status AccessControlPolicyStatusPtrInput
}
func (AccessControlPolicyArgs) ElementType() reflect.Type {
return reflect.TypeOf((*accessControlPolicyArgs)(nil)).Elem()
}
type AccessControlPolicyInput interface {
pulumi.Input
ToAccessControlPolicyOutput() AccessControlPolicyOutput
ToAccessControlPolicyOutputWithContext(ctx context.Context) AccessControlPolicyOutput
}
func (*AccessControlPolicy) ElementType() reflect.Type {
return reflect.TypeOf((**AccessControlPolicy)(nil)).Elem()
}
func (i *AccessControlPolicy) ToAccessControlPolicyOutput() AccessControlPolicyOutput {
return i.ToAccessControlPolicyOutputWithContext(context.Background())
}
func (i *AccessControlPolicy) ToAccessControlPolicyOutputWithContext(ctx context.Context) AccessControlPolicyOutput {
return pulumi.ToOutputWithContext(ctx, i).(AccessControlPolicyOutput)
}
func (i *AccessControlPolicy) ToOutput(ctx context.Context) pulumix.Output[*AccessControlPolicy] {
return pulumix.Output[*AccessControlPolicy]{
OutputState: i.ToAccessControlPolicyOutputWithContext(ctx).OutputState,
}
}
type AccessControlPolicyOutput struct{ *pulumi.OutputState }
func (AccessControlPolicyOutput) ElementType() reflect.Type {
return reflect.TypeOf((**AccessControlPolicy)(nil)).Elem()
}
func (o AccessControlPolicyOutput) ToAccessControlPolicyOutput() AccessControlPolicyOutput {
return o
}
func (o AccessControlPolicyOutput) ToAccessControlPolicyOutputWithContext(ctx context.Context) AccessControlPolicyOutput {
return o
}
func (o AccessControlPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*AccessControlPolicy] {
return pulumix.Output[*AccessControlPolicy]{
OutputState: o.OutputState,
}
}
func (o AccessControlPolicyOutput) ApiVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AccessControlPolicy) pulumi.StringPtrOutput { return v.ApiVersion }).(pulumi.StringPtrOutput)
}
func (o AccessControlPolicyOutput) Kind() pulumi.StringPtrOutput {
return o.ApplyT(func(v *AccessControlPolicy) pulumi.StringPtrOutput { return v.Kind }).(pulumi.StringPtrOutput)
}
func (o AccessControlPolicyOutput) Metadata() v1.ObjectMetaPtrOutput {
return o.ApplyT(func(v *AccessControlPolicy) v1.ObjectMetaPtrOutput { return v.Metadata }).(v1.ObjectMetaPtrOutput)
}
// AccessControlPolicySpec configures an access control policy.
func (o AccessControlPolicyOutput) Spec() AccessControlPolicySpecPtrOutput {
return o.ApplyT(func(v *AccessControlPolicy) AccessControlPolicySpecPtrOutput { return v.Spec }).(AccessControlPolicySpecPtrOutput)
}
// The current status of this access control policy.
func (o AccessControlPolicyOutput) Status() AccessControlPolicyStatusPtrOutput {
return o.ApplyT(func(v *AccessControlPolicy) AccessControlPolicyStatusPtrOutput { return v.Status }).(AccessControlPolicyStatusPtrOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*AccessControlPolicyInput)(nil)).Elem(), &AccessControlPolicy{})
pulumi.RegisterOutputType(AccessControlPolicyOutput{})
}

View File

@ -0,0 +1,167 @@
// 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"
)
// API defines an HTTP interface that is exposed to external clients. It specifies the supported versions
// and provides instructions for accessing its documentation. Once instantiated, an API object is associated
// with an Ingress, IngressRoute, or HTTPRoute resource, enabling the exposure of the described API to the outside world.
type API struct {
pulumi.CustomResourceState
ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
Kind pulumi.StringPtrOutput `pulumi:"kind"`
Metadata v1.ObjectMetaPtrOutput `pulumi:"metadata"`
// APISpec describes the API.
Spec APISpecPtrOutput `pulumi:"spec"`
// The current status of this API.
Status APIStatusPtrOutput `pulumi:"status"`
}
// NewAPI registers a new resource with the given unique name, arguments, and options.
func NewAPI(ctx *pulumi.Context,
name string, args *APIArgs, opts ...pulumi.ResourceOption) (*API, error) {
if args == nil {
args = &APIArgs{}
}
args.ApiVersion = pulumi.StringPtr("hub.traefik.io/v1alpha1")
args.Kind = pulumi.StringPtr("API")
opts = internal.PkgResourceDefaultOpts(opts)
var resource API
err := ctx.RegisterResource("kubernetes:hub.traefik.io/v1alpha1:API", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetAPI gets an existing API 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 GetAPI(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *APIState, opts ...pulumi.ResourceOption) (*API, error) {
var resource API
err := ctx.ReadResource("kubernetes:hub.traefik.io/v1alpha1:API", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering API resources.
type apiState struct {
}
type APIState struct {
}
func (APIState) ElementType() reflect.Type {
return reflect.TypeOf((*apiState)(nil)).Elem()
}
type apiArgs struct {
ApiVersion *string `pulumi:"apiVersion"`
Kind *string `pulumi:"kind"`
Metadata *v1.ObjectMeta `pulumi:"metadata"`
// APISpec describes the API.
Spec *APISpec `pulumi:"spec"`
// The current status of this API.
Status *APIStatus `pulumi:"status"`
}
// The set of arguments for constructing a API resource.
type APIArgs struct {
ApiVersion pulumi.StringPtrInput
Kind pulumi.StringPtrInput
Metadata v1.ObjectMetaPtrInput
// APISpec describes the API.
Spec APISpecPtrInput
// The current status of this API.
Status APIStatusPtrInput
}
func (APIArgs) ElementType() reflect.Type {
return reflect.TypeOf((*apiArgs)(nil)).Elem()
}
type APIInput interface {
pulumi.Input
ToAPIOutput() APIOutput
ToAPIOutputWithContext(ctx context.Context) APIOutput
}
func (*API) ElementType() reflect.Type {
return reflect.TypeOf((**API)(nil)).Elem()
}
func (i *API) ToAPIOutput() APIOutput {
return i.ToAPIOutputWithContext(context.Background())
}
func (i *API) ToAPIOutputWithContext(ctx context.Context) APIOutput {
return pulumi.ToOutputWithContext(ctx, i).(APIOutput)
}
func (i *API) ToOutput(ctx context.Context) pulumix.Output[*API] {
return pulumix.Output[*API]{
OutputState: i.ToAPIOutputWithContext(ctx).OutputState,
}
}
type APIOutput struct{ *pulumi.OutputState }
func (APIOutput) ElementType() reflect.Type {
return reflect.TypeOf((**API)(nil)).Elem()
}
func (o APIOutput) ToAPIOutput() APIOutput {
return o
}
func (o APIOutput) ToAPIOutputWithContext(ctx context.Context) APIOutput {
return o
}
func (o APIOutput) ToOutput(ctx context.Context) pulumix.Output[*API] {
return pulumix.Output[*API]{
OutputState: o.OutputState,
}
}
func (o APIOutput) ApiVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v *API) pulumi.StringPtrOutput { return v.ApiVersion }).(pulumi.StringPtrOutput)
}
func (o APIOutput) Kind() pulumi.StringPtrOutput {
return o.ApplyT(func(v *API) pulumi.StringPtrOutput { return v.Kind }).(pulumi.StringPtrOutput)
}
func (o APIOutput) Metadata() v1.ObjectMetaPtrOutput {
return o.ApplyT(func(v *API) v1.ObjectMetaPtrOutput { return v.Metadata }).(v1.ObjectMetaPtrOutput)
}
// APISpec describes the API.
func (o APIOutput) Spec() APISpecPtrOutput {
return o.ApplyT(func(v *API) APISpecPtrOutput { return v.Spec }).(APISpecPtrOutput)
}
// The current status of this API.
func (o APIOutput) Status() APIStatusPtrOutput {
return o.ApplyT(func(v *API) APIStatusPtrOutput { return v.Status }).(APIStatusPtrOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*APIInput)(nil)).Elem(), &API{})
pulumi.RegisterOutputType(APIOutput{})
}

View File

@ -0,0 +1,165 @@
// 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"
)
// APIAccess defines who can access to a set of APIs.
type APIAccess struct {
pulumi.CustomResourceState
ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
Kind pulumi.StringPtrOutput `pulumi:"kind"`
Metadata v1.ObjectMetaPtrOutput `pulumi:"metadata"`
// The desired behavior of this APIAccess.
Spec APIAccessSpecPtrOutput `pulumi:"spec"`
// The current status of this APIAccess.
Status APIAccessStatusPtrOutput `pulumi:"status"`
}
// NewAPIAccess registers a new resource with the given unique name, arguments, and options.
func NewAPIAccess(ctx *pulumi.Context,
name string, args *APIAccessArgs, opts ...pulumi.ResourceOption) (*APIAccess, error) {
if args == nil {
args = &APIAccessArgs{}
}
args.ApiVersion = pulumi.StringPtr("hub.traefik.io/v1alpha1")
args.Kind = pulumi.StringPtr("APIAccess")
opts = internal.PkgResourceDefaultOpts(opts)
var resource APIAccess
err := ctx.RegisterResource("kubernetes:hub.traefik.io/v1alpha1:APIAccess", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetAPIAccess gets an existing APIAccess 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 GetAPIAccess(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *APIAccessState, opts ...pulumi.ResourceOption) (*APIAccess, error) {
var resource APIAccess
err := ctx.ReadResource("kubernetes:hub.traefik.io/v1alpha1:APIAccess", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering APIAccess resources.
type apiaccessState struct {
}
type APIAccessState struct {
}
func (APIAccessState) ElementType() reflect.Type {
return reflect.TypeOf((*apiaccessState)(nil)).Elem()
}
type apiaccessArgs struct {
ApiVersion *string `pulumi:"apiVersion"`
Kind *string `pulumi:"kind"`
Metadata *v1.ObjectMeta `pulumi:"metadata"`
// The desired behavior of this APIAccess.
Spec *APIAccessSpec `pulumi:"spec"`
// The current status of this APIAccess.
Status *APIAccessStatus `pulumi:"status"`
}
// The set of arguments for constructing a APIAccess resource.
type APIAccessArgs struct {
ApiVersion pulumi.StringPtrInput
Kind pulumi.StringPtrInput
Metadata v1.ObjectMetaPtrInput
// The desired behavior of this APIAccess.
Spec APIAccessSpecPtrInput
// The current status of this APIAccess.
Status APIAccessStatusPtrInput
}
func (APIAccessArgs) ElementType() reflect.Type {
return reflect.TypeOf((*apiaccessArgs)(nil)).Elem()
}
type APIAccessInput interface {
pulumi.Input
ToAPIAccessOutput() APIAccessOutput
ToAPIAccessOutputWithContext(ctx context.Context) APIAccessOutput
}
func (*APIAccess) ElementType() reflect.Type {
return reflect.TypeOf((**APIAccess)(nil)).Elem()
}
func (i *APIAccess) ToAPIAccessOutput() APIAccessOutput {
return i.ToAPIAccessOutputWithContext(context.Background())
}
func (i *APIAccess) ToAPIAccessOutputWithContext(ctx context.Context) APIAccessOutput {
return pulumi.ToOutputWithContext(ctx, i).(APIAccessOutput)
}
func (i *APIAccess) ToOutput(ctx context.Context) pulumix.Output[*APIAccess] {
return pulumix.Output[*APIAccess]{
OutputState: i.ToAPIAccessOutputWithContext(ctx).OutputState,
}
}
type APIAccessOutput struct{ *pulumi.OutputState }
func (APIAccessOutput) ElementType() reflect.Type {
return reflect.TypeOf((**APIAccess)(nil)).Elem()
}
func (o APIAccessOutput) ToAPIAccessOutput() APIAccessOutput {
return o
}
func (o APIAccessOutput) ToAPIAccessOutputWithContext(ctx context.Context) APIAccessOutput {
return o
}
func (o APIAccessOutput) ToOutput(ctx context.Context) pulumix.Output[*APIAccess] {
return pulumix.Output[*APIAccess]{
OutputState: o.OutputState,
}
}
func (o APIAccessOutput) ApiVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v *APIAccess) pulumi.StringPtrOutput { return v.ApiVersion }).(pulumi.StringPtrOutput)
}
func (o APIAccessOutput) Kind() pulumi.StringPtrOutput {
return o.ApplyT(func(v *APIAccess) pulumi.StringPtrOutput { return v.Kind }).(pulumi.StringPtrOutput)
}
func (o APIAccessOutput) Metadata() v1.ObjectMetaPtrOutput {
return o.ApplyT(func(v *APIAccess) v1.ObjectMetaPtrOutput { return v.Metadata }).(v1.ObjectMetaPtrOutput)
}
// The desired behavior of this APIAccess.
func (o APIAccessOutput) Spec() APIAccessSpecPtrOutput {
return o.ApplyT(func(v *APIAccess) APIAccessSpecPtrOutput { return v.Spec }).(APIAccessSpecPtrOutput)
}
// The current status of this APIAccess.
func (o APIAccessOutput) Status() APIAccessStatusPtrOutput {
return o.ApplyT(func(v *APIAccess) APIAccessStatusPtrOutput { return v.Status }).(APIAccessStatusPtrOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*APIAccessInput)(nil)).Elem(), &APIAccess{})
pulumi.RegisterOutputType(APIAccessOutput{})
}

View File

@ -0,0 +1,165 @@
// 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"
)
// APIPortal defines a developer portal for accessing the documentation of APIs.
type APIPortal struct {
pulumi.CustomResourceState
ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
Kind pulumi.StringPtrOutput `pulumi:"kind"`
Metadata v1.ObjectMetaPtrOutput `pulumi:"metadata"`
// The desired behavior of this APIPortal.
Spec APIPortalSpecPtrOutput `pulumi:"spec"`
// The current status of this APIPortal.
Status APIPortalStatusPtrOutput `pulumi:"status"`
}
// NewAPIPortal registers a new resource with the given unique name, arguments, and options.
func NewAPIPortal(ctx *pulumi.Context,
name string, args *APIPortalArgs, opts ...pulumi.ResourceOption) (*APIPortal, error) {
if args == nil {
args = &APIPortalArgs{}
}
args.ApiVersion = pulumi.StringPtr("hub.traefik.io/v1alpha1")
args.Kind = pulumi.StringPtr("APIPortal")
opts = internal.PkgResourceDefaultOpts(opts)
var resource APIPortal
err := ctx.RegisterResource("kubernetes:hub.traefik.io/v1alpha1:APIPortal", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetAPIPortal gets an existing APIPortal 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 GetAPIPortal(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *APIPortalState, opts ...pulumi.ResourceOption) (*APIPortal, error) {
var resource APIPortal
err := ctx.ReadResource("kubernetes:hub.traefik.io/v1alpha1:APIPortal", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering APIPortal resources.
type apiportalState struct {
}
type APIPortalState struct {
}
func (APIPortalState) ElementType() reflect.Type {
return reflect.TypeOf((*apiportalState)(nil)).Elem()
}
type apiportalArgs struct {
ApiVersion *string `pulumi:"apiVersion"`
Kind *string `pulumi:"kind"`
Metadata *v1.ObjectMeta `pulumi:"metadata"`
// The desired behavior of this APIPortal.
Spec *APIPortalSpec `pulumi:"spec"`
// The current status of this APIPortal.
Status *APIPortalStatus `pulumi:"status"`
}
// The set of arguments for constructing a APIPortal resource.
type APIPortalArgs struct {
ApiVersion pulumi.StringPtrInput
Kind pulumi.StringPtrInput
Metadata v1.ObjectMetaPtrInput
// The desired behavior of this APIPortal.
Spec APIPortalSpecPtrInput
// The current status of this APIPortal.
Status APIPortalStatusPtrInput
}
func (APIPortalArgs) ElementType() reflect.Type {
return reflect.TypeOf((*apiportalArgs)(nil)).Elem()
}
type APIPortalInput interface {
pulumi.Input
ToAPIPortalOutput() APIPortalOutput
ToAPIPortalOutputWithContext(ctx context.Context) APIPortalOutput
}
func (*APIPortal) ElementType() reflect.Type {
return reflect.TypeOf((**APIPortal)(nil)).Elem()
}
func (i *APIPortal) ToAPIPortalOutput() APIPortalOutput {
return i.ToAPIPortalOutputWithContext(context.Background())
}
func (i *APIPortal) ToAPIPortalOutputWithContext(ctx context.Context) APIPortalOutput {
return pulumi.ToOutputWithContext(ctx, i).(APIPortalOutput)
}
func (i *APIPortal) ToOutput(ctx context.Context) pulumix.Output[*APIPortal] {
return pulumix.Output[*APIPortal]{
OutputState: i.ToAPIPortalOutputWithContext(ctx).OutputState,
}
}
type APIPortalOutput struct{ *pulumi.OutputState }
func (APIPortalOutput) ElementType() reflect.Type {
return reflect.TypeOf((**APIPortal)(nil)).Elem()
}
func (o APIPortalOutput) ToAPIPortalOutput() APIPortalOutput {
return o
}
func (o APIPortalOutput) ToAPIPortalOutputWithContext(ctx context.Context) APIPortalOutput {
return o
}
func (o APIPortalOutput) ToOutput(ctx context.Context) pulumix.Output[*APIPortal] {
return pulumix.Output[*APIPortal]{
OutputState: o.OutputState,
}
}
func (o APIPortalOutput) ApiVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v *APIPortal) pulumi.StringPtrOutput { return v.ApiVersion }).(pulumi.StringPtrOutput)
}
func (o APIPortalOutput) Kind() pulumi.StringPtrOutput {
return o.ApplyT(func(v *APIPortal) pulumi.StringPtrOutput { return v.Kind }).(pulumi.StringPtrOutput)
}
func (o APIPortalOutput) Metadata() v1.ObjectMetaPtrOutput {
return o.ApplyT(func(v *APIPortal) v1.ObjectMetaPtrOutput { return v.Metadata }).(v1.ObjectMetaPtrOutput)
}
// The desired behavior of this APIPortal.
func (o APIPortalOutput) Spec() APIPortalSpecPtrOutput {
return o.ApplyT(func(v *APIPortal) APIPortalSpecPtrOutput { return v.Spec }).(APIPortalSpecPtrOutput)
}
// The current status of this APIPortal.
func (o APIPortalOutput) Status() APIPortalStatusPtrOutput {
return o.ApplyT(func(v *APIPortal) APIPortalStatusPtrOutput { return v.Status }).(APIPortalStatusPtrOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*APIPortalInput)(nil)).Elem(), &APIPortal{})
pulumi.RegisterOutputType(APIPortalOutput{})
}

View File

@ -0,0 +1,165 @@
// 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"
)
// APIRateLimit defines how group of consumers are rate limited on a set of APIs.
type APIRateLimit struct {
pulumi.CustomResourceState
ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
Kind pulumi.StringPtrOutput `pulumi:"kind"`
Metadata v1.ObjectMetaPtrOutput `pulumi:"metadata"`
// The desired behavior of this APIRateLimit.
Spec APIRateLimitSpecPtrOutput `pulumi:"spec"`
// The current status of this APIRateLimit.
Status APIRateLimitStatusPtrOutput `pulumi:"status"`
}
// NewAPIRateLimit registers a new resource with the given unique name, arguments, and options.
func NewAPIRateLimit(ctx *pulumi.Context,
name string, args *APIRateLimitArgs, opts ...pulumi.ResourceOption) (*APIRateLimit, error) {
if args == nil {
args = &APIRateLimitArgs{}
}
args.ApiVersion = pulumi.StringPtr("hub.traefik.io/v1alpha1")
args.Kind = pulumi.StringPtr("APIRateLimit")
opts = internal.PkgResourceDefaultOpts(opts)
var resource APIRateLimit
err := ctx.RegisterResource("kubernetes:hub.traefik.io/v1alpha1:APIRateLimit", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetAPIRateLimit gets an existing APIRateLimit 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 GetAPIRateLimit(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *APIRateLimitState, opts ...pulumi.ResourceOption) (*APIRateLimit, error) {
var resource APIRateLimit
err := ctx.ReadResource("kubernetes:hub.traefik.io/v1alpha1:APIRateLimit", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering APIRateLimit resources.
type apirateLimitState struct {
}
type APIRateLimitState struct {
}
func (APIRateLimitState) ElementType() reflect.Type {
return reflect.TypeOf((*apirateLimitState)(nil)).Elem()
}
type apirateLimitArgs struct {
ApiVersion *string `pulumi:"apiVersion"`
Kind *string `pulumi:"kind"`
Metadata *v1.ObjectMeta `pulumi:"metadata"`
// The desired behavior of this APIRateLimit.
Spec *APIRateLimitSpec `pulumi:"spec"`
// The current status of this APIRateLimit.
Status *APIRateLimitStatus `pulumi:"status"`
}
// The set of arguments for constructing a APIRateLimit resource.
type APIRateLimitArgs struct {
ApiVersion pulumi.StringPtrInput
Kind pulumi.StringPtrInput
Metadata v1.ObjectMetaPtrInput
// The desired behavior of this APIRateLimit.
Spec APIRateLimitSpecPtrInput
// The current status of this APIRateLimit.
Status APIRateLimitStatusPtrInput
}
func (APIRateLimitArgs) ElementType() reflect.Type {
return reflect.TypeOf((*apirateLimitArgs)(nil)).Elem()
}
type APIRateLimitInput interface {
pulumi.Input
ToAPIRateLimitOutput() APIRateLimitOutput
ToAPIRateLimitOutputWithContext(ctx context.Context) APIRateLimitOutput
}
func (*APIRateLimit) ElementType() reflect.Type {
return reflect.TypeOf((**APIRateLimit)(nil)).Elem()
}
func (i *APIRateLimit) ToAPIRateLimitOutput() APIRateLimitOutput {
return i.ToAPIRateLimitOutputWithContext(context.Background())
}
func (i *APIRateLimit) ToAPIRateLimitOutputWithContext(ctx context.Context) APIRateLimitOutput {
return pulumi.ToOutputWithContext(ctx, i).(APIRateLimitOutput)
}
func (i *APIRateLimit) ToOutput(ctx context.Context) pulumix.Output[*APIRateLimit] {
return pulumix.Output[*APIRateLimit]{
OutputState: i.ToAPIRateLimitOutputWithContext(ctx).OutputState,
}
}
type APIRateLimitOutput struct{ *pulumi.OutputState }
func (APIRateLimitOutput) ElementType() reflect.Type {
return reflect.TypeOf((**APIRateLimit)(nil)).Elem()
}
func (o APIRateLimitOutput) ToAPIRateLimitOutput() APIRateLimitOutput {
return o
}
func (o APIRateLimitOutput) ToAPIRateLimitOutputWithContext(ctx context.Context) APIRateLimitOutput {
return o
}
func (o APIRateLimitOutput) ToOutput(ctx context.Context) pulumix.Output[*APIRateLimit] {
return pulumix.Output[*APIRateLimit]{
OutputState: o.OutputState,
}
}
func (o APIRateLimitOutput) ApiVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v *APIRateLimit) pulumi.StringPtrOutput { return v.ApiVersion }).(pulumi.StringPtrOutput)
}
func (o APIRateLimitOutput) Kind() pulumi.StringPtrOutput {
return o.ApplyT(func(v *APIRateLimit) pulumi.StringPtrOutput { return v.Kind }).(pulumi.StringPtrOutput)
}
func (o APIRateLimitOutput) Metadata() v1.ObjectMetaPtrOutput {
return o.ApplyT(func(v *APIRateLimit) v1.ObjectMetaPtrOutput { return v.Metadata }).(v1.ObjectMetaPtrOutput)
}
// The desired behavior of this APIRateLimit.
func (o APIRateLimitOutput) Spec() APIRateLimitSpecPtrOutput {
return o.ApplyT(func(v *APIRateLimit) APIRateLimitSpecPtrOutput { return v.Spec }).(APIRateLimitSpecPtrOutput)
}
// The current status of this APIRateLimit.
func (o APIRateLimitOutput) Status() APIRateLimitStatusPtrOutput {
return o.ApplyT(func(v *APIRateLimit) APIRateLimitStatusPtrOutput { return v.Status }).(APIRateLimitStatusPtrOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*APIRateLimitInput)(nil)).Elem(), &APIRateLimit{})
pulumi.RegisterOutputType(APIRateLimitOutput{})
}

View File

@ -0,0 +1,165 @@
// 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"
)
// APIVersion defines a version of an API.
type APIVersion struct {
pulumi.CustomResourceState
ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
Kind pulumi.StringPtrOutput `pulumi:"kind"`
Metadata v1.ObjectMetaPtrOutput `pulumi:"metadata"`
// The desired behavior of this APIVersion.
Spec APIVersionSpecPtrOutput `pulumi:"spec"`
// The current status of this APIVersion.
Status APIVersionStatusPtrOutput `pulumi:"status"`
}
// NewAPIVersion registers a new resource with the given unique name, arguments, and options.
func NewAPIVersion(ctx *pulumi.Context,
name string, args *APIVersionArgs, opts ...pulumi.ResourceOption) (*APIVersion, error) {
if args == nil {
args = &APIVersionArgs{}
}
args.ApiVersion = pulumi.StringPtr("hub.traefik.io/v1alpha1")
args.Kind = pulumi.StringPtr("APIVersion")
opts = internal.PkgResourceDefaultOpts(opts)
var resource APIVersion
err := ctx.RegisterResource("kubernetes:hub.traefik.io/v1alpha1:APIVersion", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetAPIVersion gets an existing APIVersion 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 GetAPIVersion(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *APIVersionState, opts ...pulumi.ResourceOption) (*APIVersion, error) {
var resource APIVersion
err := ctx.ReadResource("kubernetes:hub.traefik.io/v1alpha1:APIVersion", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering APIVersion resources.
type apiversionState struct {
}
type APIVersionState struct {
}
func (APIVersionState) ElementType() reflect.Type {
return reflect.TypeOf((*apiversionState)(nil)).Elem()
}
type apiversionArgs struct {
ApiVersion *string `pulumi:"apiVersion"`
Kind *string `pulumi:"kind"`
Metadata *v1.ObjectMeta `pulumi:"metadata"`
// The desired behavior of this APIVersion.
Spec *APIVersionSpec `pulumi:"spec"`
// The current status of this APIVersion.
Status *APIVersionStatus `pulumi:"status"`
}
// The set of arguments for constructing a APIVersion resource.
type APIVersionArgs struct {
ApiVersion pulumi.StringPtrInput
Kind pulumi.StringPtrInput
Metadata v1.ObjectMetaPtrInput
// The desired behavior of this APIVersion.
Spec APIVersionSpecPtrInput
// The current status of this APIVersion.
Status APIVersionStatusPtrInput
}
func (APIVersionArgs) ElementType() reflect.Type {
return reflect.TypeOf((*apiversionArgs)(nil)).Elem()
}
type APIVersionInput interface {
pulumi.Input
ToAPIVersionOutput() APIVersionOutput
ToAPIVersionOutputWithContext(ctx context.Context) APIVersionOutput
}
func (*APIVersion) ElementType() reflect.Type {
return reflect.TypeOf((**APIVersion)(nil)).Elem()
}
func (i *APIVersion) ToAPIVersionOutput() APIVersionOutput {
return i.ToAPIVersionOutputWithContext(context.Background())
}
func (i *APIVersion) ToAPIVersionOutputWithContext(ctx context.Context) APIVersionOutput {
return pulumi.ToOutputWithContext(ctx, i).(APIVersionOutput)
}
func (i *APIVersion) ToOutput(ctx context.Context) pulumix.Output[*APIVersion] {
return pulumix.Output[*APIVersion]{
OutputState: i.ToAPIVersionOutputWithContext(ctx).OutputState,
}
}
type APIVersionOutput struct{ *pulumi.OutputState }
func (APIVersionOutput) ElementType() reflect.Type {
return reflect.TypeOf((**APIVersion)(nil)).Elem()
}
func (o APIVersionOutput) ToAPIVersionOutput() APIVersionOutput {
return o
}
func (o APIVersionOutput) ToAPIVersionOutputWithContext(ctx context.Context) APIVersionOutput {
return o
}
func (o APIVersionOutput) ToOutput(ctx context.Context) pulumix.Output[*APIVersion] {
return pulumix.Output[*APIVersion]{
OutputState: o.OutputState,
}
}
func (o APIVersionOutput) ApiVersion() pulumi.StringPtrOutput {
return o.ApplyT(func(v *APIVersion) pulumi.StringPtrOutput { return v.ApiVersion }).(pulumi.StringPtrOutput)
}
func (o APIVersionOutput) Kind() pulumi.StringPtrOutput {
return o.ApplyT(func(v *APIVersion) pulumi.StringPtrOutput { return v.Kind }).(pulumi.StringPtrOutput)
}
func (o APIVersionOutput) Metadata() v1.ObjectMetaPtrOutput {
return o.ApplyT(func(v *APIVersion) v1.ObjectMetaPtrOutput { return v.Metadata }).(v1.ObjectMetaPtrOutput)
}
// The desired behavior of this APIVersion.
func (o APIVersionOutput) Spec() APIVersionSpecPtrOutput {
return o.ApplyT(func(v *APIVersion) APIVersionSpecPtrOutput { return v.Spec }).(APIVersionSpecPtrOutput)
}
// The current status of this APIVersion.
func (o APIVersionOutput) Status() APIVersionStatusPtrOutput {
return o.ApplyT(func(v *APIVersion) APIVersionStatusPtrOutput { return v.Status }).(APIVersionStatusPtrOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*APIVersionInput)(nil)).Elem(), &APIVersion{})
pulumi.RegisterOutputType(APIVersionOutput{})
}

View File

@ -0,0 +1,54 @@
// 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 (
"fmt"
"antoine-roux.tk/projects/go/pulumi-library/crds/kubernetes/internal"
"github.com/blang/semver"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type module struct {
version semver.Version
}
func (m *module) Version() semver.Version {
return m.version
}
func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) {
switch typ {
case "kubernetes:hub.traefik.io/v1alpha1:API":
r = &API{}
case "kubernetes:hub.traefik.io/v1alpha1:APIAccess":
r = &APIAccess{}
case "kubernetes:hub.traefik.io/v1alpha1:APIPortal":
r = &APIPortal{}
case "kubernetes:hub.traefik.io/v1alpha1:APIRateLimit":
r = &APIRateLimit{}
case "kubernetes:hub.traefik.io/v1alpha1:APIVersion":
r = &APIVersion{}
case "kubernetes:hub.traefik.io/v1alpha1:AccessControlPolicy":
r = &AccessControlPolicy{}
default:
return nil, fmt.Errorf("unknown resource type: %s", typ)
}
err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn))
return
}
func init() {
version, err := internal.PkgVersion()
if err != nil {
version = semver.Version{Major: 1}
}
pulumi.RegisterResourceModule(
"crds",
"hub.traefik.io/v1alpha1",
&module{version},
)
}

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@ import (
)
// Middleware is the CRD implementation of a Traefik Middleware.
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/overview/
// More info: https://doc.traefik.io/traefik/v3.0/middlewares/http/overview/
type Middleware struct {
pulumi.CustomResourceState

View File

@ -14,7 +14,7 @@ import (
)
// MiddlewareTCP is the CRD implementation of a Traefik TCP middleware.
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/overview/
// More info: https://doc.traefik.io/traefik/v3.0/middlewares/overview/
type MiddlewareTCP struct {
pulumi.CustomResourceState

File diff suppressed because it is too large Load Diff

View File

@ -16,7 +16,7 @@ import (
// 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.11/routing/services/#serverstransport_1
// More info: https://doc.traefik.io/traefik/v3.0/routing/services/#serverstransport_1
type ServersTransport struct {
pulumi.CustomResourceState

View File

@ -14,7 +14,7 @@ import (
)
// TLSOption is the CRD implementation of a Traefik TLS Option, allowing to configure some parameters of the TLS connection.
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options
// More info: https://doc.traefik.io/traefik/v3.0/https/tls/#tls-options
type TLSOption struct {
pulumi.CustomResourceState

View File

@ -16,7 +16,7 @@ import (
// TLSStore is the CRD implementation of a Traefik TLS Store.
// For the time being, only the TLSStore named default is supported.
// This means that you cannot have two stores that are named default in different Kubernetes namespaces.
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#certificates-stores
// More info: https://doc.traefik.io/traefik/v3.0/https/tls/#certificates-stores
type TLSStore struct {
pulumi.CustomResourceState

View File

@ -17,7 +17,7 @@ import (
// TraefikService object allows to:
// - Apply weight to Services on load-balancing
// - Mirror traffic on services
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-traefikservice
// More info: https://doc.traefik.io/traefik/v3.0/routing/providers/kubernetes-crd/#kind-traefikservice
type TraefikService struct {
pulumi.CustomResourceState

14
go.mod
View File

@ -4,7 +4,7 @@ go 1.22.2
require (
github.com/blang/semver v3.5.1+incompatible
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.13.1
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.18.1
github.com/pulumi/pulumi/sdk/v3 v3.132.0
)
@ -42,7 +42,7 @@ require (
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mitchellh/go-ps v1.0.0 // indirect
@ -60,7 +60,7 @@ require (
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect
github.com/pulumi/esc v0.9.1 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect
github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
@ -73,13 +73,13 @@ require (
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/zclconf/go-cty v1.13.2 // indirect
go.uber.org/atomic v1.9.0 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/crypto v0.25.0 // indirect
golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect
golang.org/x/mod v0.18.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/net v0.27.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/term v0.21.0 // indirect
golang.org/x/sys v0.22.0 // indirect
golang.org/x/term v0.22.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/tools v0.22.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect

32
go.sum
View File

@ -52,8 +52,8 @@ github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/El
github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs=
github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw=
github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE=
github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE=
github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8=
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI=
@ -109,8 +109,8 @@ github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxec
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4=
github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88=
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
@ -150,16 +150,16 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE=
github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs=
github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c=
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.13.1 h1:Fp7siNqQBjwIoY/7Jaml/v1frOyGO+kYeeMrO4d2k7k=
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.13.1/go.mod h1:MZ+ci9Iq8f0K1aOTXgD3X+ENo2+dFbgQQ7Ahh0YZ8/g=
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.18.1 h1:WIvq/l2ls8SVkcxG7kr8lE3Dq9rsmY9004mNSa9iUc4=
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.18.1/go.mod h1:vUaV6NmzM//lS3WHB/QxkKr/CHehhsWw/wst3XGIn6I=
github.com/pulumi/pulumi/sdk/v3 v3.132.0 h1:UDZHa+WpIEVxWJp+PCbsMxnTUeKMX3xBCcqIHxeAdzI=
github.com/pulumi/pulumi/sdk/v3 v3.132.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8=
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.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
@ -205,8 +205,8 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI=
golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM=
golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30=
golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M=
golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 h1:LoYXNGAShUG3m/ehNk4iFctuhGX/+R1ZpfJ4/ia80JM=
golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI=
golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
@ -228,8 +228,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=
golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE=
golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys=
golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
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=
@ -257,15 +257,15 @@ 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.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI=
golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA=
golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0=
golang.org/x/term v0.22.0 h1:BbsgPEJULsl2fV/AT3v15Mjva5yXKQDyKf+TbDz7QJk=
golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=