Merge pull request #19076 from owen-mc/go/update-depstubber-files

Go: update files generated by depstubber
This commit is contained in:
Owen Mansel-Chan
2025-04-09 11:44:20 +01:00
committed by GitHub
47 changed files with 124 additions and 165 deletions

View File

@@ -1,3 +1,3 @@
# github.com/msteinert/pam v1.0.0
## explicit
github.com/msteinert/pam
github.com/msteinert/pam

View File

@@ -1,6 +1,6 @@
# github.com/go-jose/go-jose/v3 v3.0.0
## explicit
github.com/go-jose/go-jose/v3
github.com/go-jose/go-jose/v3/jwt
# github.com/golang-jwt/jwt/v5 v5.0.0
## explicit
github.com/golang-jwt/jwt/v5

View File

@@ -3,13 +3,20 @@
github.com/DataDog/zstd
# github.com/dsnet/compress v0.0.1
## explicit
github.com/dsnet/compress
github.com/dsnet/compress/bzip2
github.com/dsnet/compress/flate
# github.com/golang/snappy v0.0.4
## explicit
github.com/golang/snappy
# github.com/klauspost/compress v1.16.6
## explicit
github.com/klauspost/compress
github.com/klauspost/compress/zstd
github.com/klauspost/compress/snappy
github.com/klauspost/compress/s2
github.com/klauspost/compress/zlib
github.com/klauspost/compress/zip
github.com/klauspost/compress/flate
github.com/klauspost/compress/gzip
# github.com/klauspost/pgzip v1.2.6
## explicit
github.com/klauspost/pgzip

View File

@@ -7,8 +7,6 @@
// Package glog is a stub of github.com/golang/glog, generated by depstubber.
package glog
import ()
func Error(_ ...interface{}) {}
func ErrorDepth(_ int, _ ...interface{}) {}

View File

@@ -7,8 +7,6 @@
// Package klog is a stub of k8s.io/klog, generated by depstubber.
package klog
import ()
func Error(_ ...interface{}) {}
func ErrorDepth(_ int, _ ...interface{}) {}

View File

@@ -1,14 +1,9 @@
# github.com/github/depstubber v0.0.0-20200916130315-f3217697abd4
## explicit
# github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
## explicit
github.com/golang/glog
# github.com/sirupsen/logrus v1.7.0
## explicit
github.com/sirupsen/logrus
# golang.org/x/sys v0.0.0-20191026070338-33540a1f6037
golang.org/x/sys/unix
golang.org/x/sys/windows
# k8s.io/klog v1.0.0
## explicit
k8s.io/klog

View File

@@ -1,6 +1,10 @@
# github.com/astaxie/beego v1.12.3
## explicit
github.com/astaxie/beego
github.com/astaxie/beego/context
github.com/astaxie/beego/logs
github.com/astaxie/beego/utils
# github.com/beego/beego/v2 v2.1.2
## explicit
github.com/beego/beego/v2
github.com/beego/beego/v2/server/web
github.com/beego/beego/v2/server/web/context

View File

@@ -3,3 +3,4 @@
github.com/elazarl/goproxy
# github.com/github/depstubber v0.0.0-20201214172518-12c3da4b7c9d
## explicit
github.com/github/depstubber

View File

@@ -7,8 +7,6 @@
// Package mail is a stub of github.com/sendgrid/sendgrid-go/helpers/mail, generated by depstubber.
package mail
import ()
type Asm struct {
GroupID int
GroupsToDisplay []int

View File

@@ -1,3 +1,3 @@
# github.com/sendgrid/sendgrid-go v3.5.0+incompatible
## explicit
github.com/sendgrid/sendgrid-go
github.com/sendgrid/sendgrid-go/helpers/mail

View File

@@ -1,3 +1,4 @@
# github.com/gin-gonic/gin v1.6.2
## explicit
github.com/gin-gonic/gin
github.com/gin-gonic/gin/binding

View File

@@ -1,6 +1,11 @@
# go-micro.dev/v4 v4.10.2
## explicit
go-micro.dev/v4
go-micro.dev/v4/api
go-micro.dev/v4/client
go-micro.dev/v4/server
# google.golang.org/protobuf v1.28.1
## explicit
google.golang.org/protobuf
google.golang.org/protobuf/proto
google.golang.org/protobuf/reflect/protoreflect
google.golang.org/protobuf/runtime/protoimpl

View File

@@ -1,6 +1,6 @@
# github.com/kataras/iris/v12 v12.2.5
## explicit
github.com/kataras/iris/v12
github.com/kataras/iris/v12/context
# github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06
## explicit
github.com/Shopify/goreferrer

View File

@@ -7,8 +7,6 @@
// Package core is a stub of k8s.io/api/core/v1, generated by depstubber.
package core
import ()
type Secret struct {
TypeMeta interface{}
ObjectMeta interface{}

View File

@@ -7,8 +7,6 @@
// Package runtime is a stub of k8s.io/apimachinery/pkg/runtime, generated by depstubber.
package runtime
import ()
type ProtobufMarshaller interface {
MarshalTo(_ []byte) (int, error)
}

View File

@@ -1,6 +1,7 @@
# k8s.io/api v0.20.0
## explicit
k8s.io/api
k8s.io/api/core/v1
k8s.io/apimachinery/pkg/runtime
# k8s.io/apimachinery v0.20.0
## explicit
k8s.io/apimachinery
k8s.io/apimachinery/pkg/runtime

View File

@@ -7,8 +7,6 @@
// Package schema is a stub of k8s.io/apimachinery/pkg/runtime/schema, generated by depstubber.
package schema
import ()
type GroupKind struct {
Group string
Kind string

View File

@@ -1,3 +1,5 @@
# k8s.io/apimachinery v0.19.4
## explicit
k8s.io/apimachinery
k8s.io/apimachinery/pkg/conversion
k8s.io/apimachinery/pkg/runtime
k8s.io/apimachinery/pkg/runtime/schema

View File

@@ -18,7 +18,7 @@ golang.org/x/oauth2
golang.org/x/time
# k8s.io/client-go v0.19.0
## explicit
k8s.io/client-go
k8s.io/client-go/kubernetes/typed/core/v1
# k8s.io/utils v0.0.0-20201110183641-67b214c5f920
## explicit
k8s.io/utils

View File

@@ -1,6 +1,3 @@
# go.mongodb.org/mongo-driver v1.3.2
## explicit
go.mongodb.org/mongo-driver
# github.com/couchbase/gocb/v2 v2.2.0
## explicit
github.com/couchbase/gocb/v2
@@ -10,6 +7,10 @@ github.com/google/uuid
# github.com/opentracing/opentracing-go v1.2.0
## explicit
github.com/opentracing/opentracing-go
# go.mongodb.org/mongo-driver v1.3.2
## explicit
go.mongodb.org/mongo-driver/bson
go.mongodb.org/mongo-driver/mongo
# gopkg.in/couchbase/gocb.v1 v1.6.7
## explicit
gopkg.in/couchbase/gocb.v1

View File

@@ -3,7 +3,9 @@
github.com/go-stack/stack
# github.com/revel/modules v1.0.0
## explicit
github.com/revel/modules
github.com/revel/modules/orm/gorp/app/controllers
github.com/revel/modules/static/app/controllers
# github.com/revel/revel v1.0.0
## explicit
github.com/revel/revel
github.com/revel/revel/logger

View File

@@ -1,6 +1,7 @@
# github.com/gogf/gf v1.16.9
## explicit
github.com/gogf/gf
github.com/gogf/gf/database/gdb
github.com/gogf/gf/frame/g
# github.com/BurntSushi/toml v0.3.1
## explicit
github.com/BurntSushi/toml

View File

@@ -1,7 +1,7 @@
package main
//go:generate depstubber -vendor github.com/go-pg/pg Conn,DB,Tx Q
//go:generate depstubber -vendor github.com/go-pg/pg/orm Query Q
//go:generate depstubber -vendor github.com/go-pg/pg/orm Query,Formatter Q
//go:generate depstubber -vendor github.com/go-pg/pg/v9 Conn,DB,Tx Q
import (

View File

@@ -2,7 +2,7 @@
// This is a simple stub for github.com/go-pg/pg/orm, strictly for use in testing.
// See the LICENSE file for information about the licensing of the original library.
// Source: github.com/go-pg/pg/orm (exports: Query, Formatter; functions: Q)
// Source: github.com/go-pg/pg/orm (exports: Query,Formatter; functions: Q)
// Package orm is a stub of github.com/go-pg/pg/orm, generated by depstubber.
package orm
@@ -94,6 +94,34 @@ func (_ *Field) Value(_ reflect.Value) reflect.Value {
return reflect.Value{}
}
type Formatter struct{}
func (_ Formatter) Append(_ []byte, _ string, _ ...interface{}) []byte {
return nil
}
func (_ Formatter) AppendBytes(_ []byte, _ []byte, _ ...interface{}) []byte {
return nil
}
func (_ Formatter) FormatQuery(_ []byte, _ string, _ ...interface{}) []byte {
return nil
}
func (_ Formatter) Param(_ string) interface{} {
return nil
}
func (_ Formatter) String() string {
return ""
}
func (_ Formatter) WithParam(_ string, _ interface{}) Formatter {
return Formatter{}
}
func (_ *Formatter) SetParam(_ string, _ interface{}) {}
type Method struct {
Index int
}
@@ -491,18 +519,3 @@ type TableModel interface {
Table() *Table
Value() reflect.Value
}
type Formatter struct {
}
func (f Formatter) Append(dst []byte, src string, params ...interface{}) []byte {
return nil
}
func (f Formatter) AppendBytes(dst, src []byte, params ...interface{}) []byte {
return nil
}
func (f Formatter) FormatQuery(dst []byte, query string, params ...interface{}) []byte {
return nil
}

View File

@@ -1,6 +1,6 @@
# github.com/davecgh/go-spew v1.1.1
## explicit
github.com/davecgh/go-spew
github.com/davecgh/go-spew/spew
# github.com/github/depstubber v0.0.0-20200916130315-f3217697abd4
## explicit
github.com/github/depstubber

View File

@@ -1,10 +1,11 @@
// Code generated by depstubber. DO NOT EDIT.
// This is a simple stub for github.com/codeskyblue/go-sh, strictly for use in testing.
// See the LICENSE file for information about the licensing of the original library.
// Source: github.com/codeskyblue/go-sh (exports: ; functions: Command,InteractiveSession)
// Package go_sh is a stub of github.com/codeskyblue/go-sh, generated by depstubber.
package go_sh
// Package go_pkg is a stub of github.com/codeskyblue/go-sh, generated by depstubber.
package go_pkg
import (
io "io"
@@ -32,15 +33,11 @@ type Session struct {
func (_ *Session) Alias(_ string, _ string, _ ...string) {}
func (_ *Session) Call(_ string, _ ...interface{}) interface {
Error() string
} {
func (_ *Session) Call(_ string, _ ...interface{}) error {
return nil
}
func (_ *Session) CombinedOutput() ([]uint8, interface {
Error() string
}) {
func (_ *Session) CombinedOutput() ([]byte, error) {
return nil, nil
}
@@ -50,15 +47,11 @@ func (_ *Session) Command(_ string, _ ...interface{}) *Session {
func (_ *Session) Kill(_ os.Signal) {}
func (_ *Session) Output() ([]uint8, interface {
Error() string
}) {
func (_ *Session) Output() ([]byte, error) {
return nil, nil
}
func (_ *Session) Run() interface {
Error() string
} {
func (_ *Session) Run() error {
return nil
}
@@ -82,9 +75,7 @@ func (_ *Session) SetTimeout(_ time.Duration) *Session {
return nil
}
func (_ *Session) Start() interface {
Error() string
} {
func (_ *Session) Start() error {
return nil
}
@@ -92,32 +83,22 @@ func (_ *Session) Test(_ string, _ string) bool {
return false
}
func (_ *Session) UnmarshalJSON(_ interface{}) interface {
Error() string
} {
func (_ *Session) UnmarshalJSON(_ interface{}) error {
return nil
}
func (_ *Session) UnmarshalXML(_ interface{}) interface {
Error() string
} {
func (_ *Session) UnmarshalXML(_ interface{}) error {
return nil
}
func (_ *Session) Wait() interface {
Error() string
} {
func (_ *Session) Wait() error {
return nil
}
func (_ *Session) WaitTimeout(_ time.Duration) interface {
Error() string
} {
func (_ *Session) WaitTimeout(_ time.Duration) error {
return nil
}
func (_ *Session) WriteStdout(_ string) interface {
Error() string
} {
func (_ *Session) WriteStdout(_ string) error {
return nil
}

View File

@@ -1,6 +1,7 @@
// Code generated by depstubber. DO NOT EDIT.
// This is a simple stub for golang.org/x/crypto/ssh, strictly for use in testing.
// See the LICENSE file for information about the licensing of the original library.
// Source: golang.org/x/crypto/ssh (exports: Session; functions: )
// Package ssh is a stub of golang.org/x/crypto/ssh, generated by depstubber.
@@ -16,102 +17,70 @@ type Session struct {
Stderr io.Writer
}
func (_ *Session) Close() interface {
Error() string
} {
func (_ *Session) Close() error {
return nil
}
func (_ *Session) CombinedOutput(_ string) ([]uint8, interface {
Error() string
}) {
func (_ *Session) CombinedOutput(_ string) ([]byte, error) {
return nil, nil
}
func (_ *Session) Output(_ string) ([]uint8, interface {
Error() string
}) {
func (_ *Session) Output(_ string) ([]byte, error) {
return nil, nil
}
func (_ *Session) RequestPty(_ string, _ int, _ int, _ TerminalModes) interface {
Error() string
} {
func (_ *Session) RequestPty(_ string, _ int, _ int, _ TerminalModes) error {
return nil
}
func (_ *Session) RequestSubsystem(_ string) interface {
Error() string
} {
func (_ *Session) RequestSubsystem(_ string) error {
return nil
}
func (_ *Session) Run(_ string) interface {
Error() string
} {
func (_ *Session) Run(_ string) error {
return nil
}
func (_ *Session) SendRequest(_ string, _ bool, _ []uint8) (bool, interface {
Error() string
}) {
func (_ *Session) SendRequest(_ string, _ bool, _ []byte) (bool, error) {
return false, nil
}
func (_ *Session) Setenv(_ string, _ string) interface {
Error() string
} {
func (_ *Session) Setenv(_ string, _ string) error {
return nil
}
func (_ *Session) Shell() interface {
Error() string
} {
func (_ *Session) Shell() error {
return nil
}
func (_ *Session) Signal(_ Signal) interface {
Error() string
} {
func (_ *Session) Signal(_ Signal) error {
return nil
}
func (_ *Session) Start(_ string) interface {
Error() string
} {
func (_ *Session) Start(_ string) error {
return nil
}
func (_ *Session) StderrPipe() (io.Reader, interface {
Error() string
}) {
func (_ *Session) StderrPipe() (io.Reader, error) {
return nil, nil
}
func (_ *Session) StdinPipe() (io.WriteCloser, interface {
Error() string
}) {
func (_ *Session) StdinPipe() (io.WriteCloser, error) {
return nil, nil
}
func (_ *Session) StdoutPipe() (io.Reader, interface {
Error() string
}) {
func (_ *Session) StdoutPipe() (io.Reader, error) {
return nil, nil
}
func (_ *Session) Wait() interface {
Error() string
} {
func (_ *Session) Wait() error {
return nil
}
func (_ *Session) WindowChange(_ int, _ int) interface {
Error() string
} {
func (_ *Session) WindowChange(_ int, _ int) error {
return nil
}
type Signal string
type TerminalModes map[uint8]uint32
type TerminalModes map[byte]uint32

View File

@@ -3,4 +3,4 @@
github.com/codeskyblue/go-sh
# golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59
## explicit
golang.org/x/crypto
golang.org/x/crypto/ssh

View File

@@ -9,7 +9,7 @@ github.com/gorilla/websocket
github.com/sacOO7/gowebsocket
# golang.org/x/net v0.0.0-20200505041828-1ed23360d12c
## explicit
golang.org/x/net
golang.org/x/net/websocket
# nhooyr.io/websocket v1.8.5
## explicit
nhooyr.io/websocket

View File

@@ -1,3 +1,4 @@
# go.uber.org/zap v1.16.0
## explicit
go.uber.org/zap
go.uber.org/zap/zapcore

View File

@@ -1,5 +1,3 @@
# github.com/elazarl/goproxy v0.0.0-20201021153353-00ad82a08272
## explicit
github.com/elazarl/goproxy
# github.com/github/depstubber v0.0.0-20201214172518-12c3da4b7c9d
## explicit

View File

@@ -6,7 +6,7 @@ github.com/gobwas/ws
github.com/gorilla/websocket
# golang.org/x/net v0.0.0-20200505041828-1ed23360d12c
## explicit
golang.org/x/net
golang.org/x/net/websocket
# nhooyr.io/websocket v1.8.5
## explicit
nhooyr.io/websocket

View File

@@ -7,8 +7,6 @@
// Package primitive is a stub of go.mongodb.org/mongo-driver/bson/primitive, generated by depstubber.
package primitive
import ()
type D []E
func (_ D) Map() M {

View File

@@ -3,4 +3,6 @@
github.com/Masterminds/squirrel
# go.mongodb.org/mongo-driver v1.3.3
## explicit
go.mongodb.org/mongo-driver
go.mongodb.org/mongo-driver/bson
go.mongodb.org/mongo-driver/mongo
go.mongodb.org/mongo-driver/mongo/options

View File

@@ -7,6 +7,4 @@
// Package glog is a stub of github.com/golang/glog, generated by depstubber.
package glog
import ()
func Info(_ ...interface{}) {}

View File

@@ -7,6 +7,4 @@
// Package klog is a stub of k8s.io/klog, generated by depstubber.
package klog
import ()
func Info(_ ...interface{}) {}

View File

@@ -9,7 +9,8 @@ github.com/sirupsen/logrus
k8s.io/klog
# github.com/golang/protobuf v1.4.2
## explicit
github.com/golang/protobuf
github.com/golang/protobuf/proto
# google.golang.org/protobuf v1.23.0
## explicit
google.golang.org/protobuf
google.golang.org/protobuf/reflect/protoreflect
google.golang.org/protobuf/runtime/protoimpl

View File

@@ -3,7 +3,7 @@
github.com/gin-gonic/gin
# github.com/go-jose/go-jose/v3 v3.0.0
## explicit
github.com/go-jose/go-jose/v3
github.com/go-jose/go-jose/v3/jwt
# github.com/golang-jwt/jwt/v5 v5.0.0
## explicit
github.com/golang-jwt/jwt/v5

View File

@@ -7,8 +7,6 @@
// Package mail is a stub of github.com/sendgrid/sendgrid-go/helpers/mail, generated by depstubber.
package mail
import ()
type Asm struct {
GroupID int
GroupsToDisplay []int

View File

@@ -1,3 +1,3 @@
# github.com/sendgrid/sendgrid-go v3.5.0+incompatible
## explicit
github.com/sendgrid/sendgrid-go
github.com/sendgrid/sendgrid-go/helpers/mail

View File

@@ -7,8 +7,6 @@
// Package htmlquery is a stub of github.com/antchfx/htmlquery, generated by depstubber.
package htmlquery
import ()
func Find(_ interface{}, _ string) []interface{} {
return nil
}

View File

@@ -7,8 +7,6 @@
// Package jsonquery is a stub of github.com/antchfx/jsonquery, generated by depstubber.
package jsonquery
import ()
func Find(_ *Node, _ string) []*Node {
return nil
}

View File

@@ -1,6 +1,7 @@
# github.com/ChrisTrenkamp/goxpath v0.0.0-20190607011252-c5096ec8773d
## explicit
github.com/ChrisTrenkamp/goxpath
github.com/ChrisTrenkamp/goxpath/tree
# github.com/antchfx/htmlquery v1.2.2
## explicit
github.com/antchfx/htmlquery
@@ -18,10 +19,11 @@ github.com/antchfx/xpath
github.com/go-xmlpath/xmlpath
# github.com/jbowtie/gokogiri v0.0.0-20190301021639-37f655d3078f
## explicit
github.com/jbowtie/gokogiri
github.com/jbowtie/gokogiri/xml
github.com/jbowtie/gokogiri/xpath
# github.com/lestrrat-go/libxml2 v0.0.0-20231124114421-99c71026c2f5
## explicit
github.com/lestrrat-go/libxml2
github.com/lestrrat-go/libxml2/parser
# github.com/santhosh-tekuri/xpathparser v1.0.0
## explicit
github.com/santhosh-tekuri/xpathparser

View File

@@ -6,7 +6,7 @@ github.com/appleboy/gin-jwt/v2
github.com/cristalhq/jwt/v3
# github.com/go-kit/kit v0.12.0
## explicit
github.com/go-kit/kit
github.com/go-kit/kit/auth/jwt
# github.com/gogf/gf-jwt/v2 v2.0.1
## explicit
github.com/gogf/gf-jwt/v2
@@ -18,13 +18,13 @@ github.com/golang-jwt/jwt/v4
github.com/iris-contrib/middleware/jwt
# github.com/kataras/iris/v12 v12.2.0
## explicit
github.com/kataras/iris/v12
github.com/kataras/iris/v12/middleware/jwt
# github.com/kataras/jwt v0.1.8
## explicit
github.com/kataras/jwt
# github.com/lestrrat/go-jwx v0.9.1
## explicit
github.com/lestrrat/go-jwx
github.com/lestrrat/go-jwx/jwk
# github.com/square/go-jose/v3 v3.0.0-20200630053402-0a67ce9b0693
## explicit
github.com/square/go-jose/v3

View File

@@ -9,7 +9,7 @@ github.com/gorilla/websocket
github.com/sacOO7/gowebsocket
# golang.org/x/net v0.0.0-20200421231249-e086a090c8fd
## explicit
golang.org/x/net
golang.org/x/net/websocket
# nhooyr.io/websocket v1.8.5
## explicit
nhooyr.io/websocket

View File

@@ -7,8 +7,6 @@
// Package ginkgo is a stub of github.com/onsi/ginkgo, generated by depstubber.
package ginkgo
import ()
func Fail(_ string, _ ...int) {}
type GinkgoTestingT interface {

View File

@@ -7,6 +7,4 @@
// Package gomega is a stub of github.com/onsi/gomega, generated by depstubber.
package gomega
import ()
func RegisterFailHandler(_ interface{}) {}