Skip to content

Commit

Permalink
chore(dep): updates
Browse files Browse the repository at this point in the history
  • Loading branch information
morlay committed Sep 20, 2024
1 parent 8d0fbd4 commit bd9089f
Show file tree
Hide file tree
Showing 7 changed files with 138 additions and 166 deletions.
8 changes: 6 additions & 2 deletions cmd/example/apis/archive/zz_generated.operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ DON'T EDIT THIS FILE
package archive

import (
github_com_octohelm_courier_pkg_courier "github.com/octohelm/courier/pkg/courier"
courier "github.com/octohelm/courier/pkg/courier"
)

func init() {
R.Register(github_com_octohelm_courier_pkg_courier.NewRouter(&ArchiveZip{}))
R.Register(courier.NewRouter(&ArchiveZip{}))
}

func (*ArchiveZip) ResponseContent() any {
return new(ZipFile)
}

func (*ArchiveZip) ResponseData() *ZipFile {
return new(ZipFile)
}
16 changes: 8 additions & 8 deletions cmd/example/apis/org/zz_generated.enum.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ package org

import (
bytes "bytes"
database_sql_driver "database/sql/driver"
driver "database/sql/driver"
fmt "fmt"

github_com_octohelm_storage_pkg_enumeration "github.com/octohelm/storage/pkg/enumeration"
github_com_pkg_errors "github.com/pkg/errors"
enumeration "github.com/octohelm/storage/pkg/enumeration"
pkgerrors "github.com/pkg/errors"
)

var InvalidType = github_com_pkg_errors.New("invalid Type")
var InvalidType = pkgerrors.New("invalid Type")

func (Type) EnumValues() []any {
return []any{
Expand Down Expand Up @@ -88,21 +88,21 @@ func (v Type) Label() string {
}
}

func (v Type) Value() (database_sql_driver.Value, error) {
func (v Type) Value() (driver.Value, error) {
offset := 0
if o, ok := any(v).(github_com_octohelm_storage_pkg_enumeration.DriverValueOffset); ok {
if o, ok := any(v).(enumeration.DriverValueOffset); ok {
offset = o.Offset()
}
return int64(v) + int64(offset), nil
}

func (v *Type) Scan(src any) error {
offset := 0
if o, ok := any(v).(github_com_octohelm_storage_pkg_enumeration.DriverValueOffset); ok {
if o, ok := any(v).(enumeration.DriverValueOffset); ok {
offset = o.Offset()
}

i, err := github_com_octohelm_storage_pkg_enumeration.ScanIntEnumStringer(src, offset)
i, err := enumeration.ScanIntEnumStringer(src, offset)
if err != nil {
return err
}
Expand Down
23 changes: 18 additions & 5 deletions cmd/example/apis/org/zz_generated.operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,50 @@ DON'T EDIT THIS FILE
package org

import (
github_com_octohelm_courier_pkg_courier "github.com/octohelm/courier/pkg/courier"
courier "github.com/octohelm/courier/pkg/courier"
)

func init() {
R.Register(github_com_octohelm_courier_pkg_courier.NewRouter(&CreateOrg{}))
R.Register(courier.NewRouter(&CreateOrg{}))
}

func (*CreateOrg) ResponseContent() any {
return nil
}

func (*CreateOrg) ResponseData() *courier.NoContent {
return new(courier.NoContent)
}
func init() {
R.Register(github_com_octohelm_courier_pkg_courier.NewRouter(&DeleteOrg{}))
R.Register(courier.NewRouter(&DeleteOrg{}))
}

func (*DeleteOrg) ResponseContent() any {
return nil
}

func (*DeleteOrg) ResponseData() *courier.NoContent {
return new(courier.NoContent)
}
func init() {
R.Register(github_com_octohelm_courier_pkg_courier.NewRouter(&GetOrg{}))
R.Register(courier.NewRouter(&GetOrg{}))
}

func (*GetOrg) ResponseContent() any {
return new(Detail)
}

func (*GetOrg) ResponseData() *Detail {
return new(Detail)
}
func init() {
R.Register(github_com_octohelm_courier_pkg_courier.NewRouter(&ListOrg{}))
R.Register(courier.NewRouter(&ListOrg{}))
}

func (*ListOrg) ResponseContent() any {
return new(DataList)
}

func (*ListOrg) ResponseData() *DataList {
return new(DataList)
}
62 changes: 29 additions & 33 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/innoai-tech/infra

go 1.23.0
go 1.23.1

require (
cuelang.org/go v0.10.0
Expand All @@ -9,36 +9,34 @@ require (
github.com/felixge/httpsnoop v1.0.4
github.com/go-courier/logr v0.3.0
github.com/go-json-experiment/json v0.0.0-20240815175050-ebd3a8989ca1
github.com/innoai-tech/openapi-playground v0.0.0-20240828014137-f07d3d16be68
github.com/octohelm/courier v0.0.0-20240827024546-60a05af1a70c
github.com/octohelm/gengo v0.0.0-20240622092313-cc61f99ecd84
github.com/octohelm/storage v0.0.0-20240820074033-55223937eba6
github.com/octohelm/x v0.0.0-20240819031507-95d7ab05c4cf
github.com/innoai-tech/openapi-playground v0.0.0-20240909062817-20f99d67805e
github.com/octohelm/courier v0.0.0-20240828072746-af3b5bc1f867
github.com/octohelm/gengo v0.0.0-20240919101245-4bc8a41dd2f4
github.com/octohelm/storage v0.0.0-20240919143925-9d143fd6c23c
github.com/octohelm/x v0.0.0-20240904081416-42a1ee2d28a9
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.20.2
github.com/prometheus/client_golang v1.20.4
github.com/prometheus/prometheus v0.54.1
github.com/robfig/cron/v3 v3.0.1
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
go.opentelemetry.io/contrib/propagators/b3 v1.29.0
go.opentelemetry.io/otel v1.29.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.29.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.29.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.29.0
go.opentelemetry.io/otel/exporters/prometheus v0.51.0
go.opentelemetry.io/otel/log v0.5.0
go.opentelemetry.io/otel/metric v1.29.0
go.opentelemetry.io/otel/sdk v1.29.0
go.opentelemetry.io/otel/sdk/log v0.5.0
go.opentelemetry.io/otel/sdk/metric v1.29.0
go.opentelemetry.io/otel/trace v1.29.0
golang.org/x/net v0.28.0
go.opentelemetry.io/contrib/propagators/b3 v1.30.0
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.30.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.30.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.30.0
go.opentelemetry.io/otel/exporters/prometheus v0.52.0
go.opentelemetry.io/otel/log v0.6.0
go.opentelemetry.io/otel/metric v1.30.0
go.opentelemetry.io/otel/sdk v1.30.0
go.opentelemetry.io/otel/sdk/log v0.6.0
go.opentelemetry.io/otel/sdk/metric v1.30.0
go.opentelemetry.io/otel/trace v1.30.0
golang.org/x/net v0.29.0
golang.org/x/sync v0.8.0
golang.org/x/term v0.23.0
)

require (
github.com/aws/aws-sdk-go v1.55.3 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
Expand All @@ -62,21 +60,19 @@ require (
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/onsi/gomega v1.34.1 // indirect
github.com/onsi/gomega v1.34.2 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.56.0 // indirect
github.com/prometheus/common v0.59.1 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
go.uber.org/atomic v1.11.0 // indirect
golang.org/x/mod v0.20.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/tools v0.24.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed // indirect
google.golang.org/grpc v1.65.0 // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/text v0.18.0 // indirect
golang.org/x/tools v0.25.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/grpc v1.66.1 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/client-go v0.30.3 // indirect
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
)
Loading

0 comments on commit bd9089f

Please sign in to comment.