Skip to content

Commit

Permalink
bump pipelines to v0.31.0
Browse files Browse the repository at this point in the history
bump triggers to v0.17.1
bump hub/api to latest
bump knative.dev/pkg to latest
hub docs update
bump pipelines to v.32.0

Signed-off-by: Pradeep Kumar <pradkuma@redhat.com>

update hub/api to latest
  • Loading branch information
pradeepitm12 committed Jan 27, 2022
1 parent 8261808 commit 1e8fec6
Show file tree
Hide file tree
Showing 979 changed files with 30,675 additions and 15,505 deletions.
30 changes: 13 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,22 @@ require (
github.com/cpuguy83/go-md2man v1.0.10
github.com/docker/cli v20.10.8+incompatible
github.com/docker/docker v20.10.8+incompatible
github.com/fatih/color v1.9.0
github.com/fatih/color v1.13.0
github.com/ghodss/yaml v1.0.0
github.com/google/go-cmp v0.5.6
github.com/google/go-containerregistry v0.5.2-0.20210709161016-b448abac9a70
github.com/google/go-containerregistry v0.6.0
github.com/hako/durafmt v0.0.0-20191009132224-3f39dc1ed9f4
github.com/hinshun/vt10x v0.0.0-20180809195222-d55458df857c
github.com/jonboulle/clockwork v0.1.1-0.20190114141812-62fb9bc030d1
github.com/jonboulle/clockwork v0.2.2
github.com/ktr0731/go-fuzzyfinder v0.2.0
github.com/mitchellh/go-homedir v1.1.0
github.com/opencontainers/image-spec v1.0.2 // indirect
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.2.1
github.com/spf13/pflag v1.0.5
github.com/tektoncd/hub/api v0.0.0-20210922050526-aa589697cb58
github.com/tektoncd/pipeline v0.28.0
github.com/tektoncd/plumbing v0.0.0-20210514044347-f8a9689d5bd5
github.com/tektoncd/triggers v0.16.0
github.com/tektoncd/hub/api v0.0.0-20220119052005-ec969c30e3cd
github.com/tektoncd/pipeline v0.32.0
github.com/tektoncd/plumbing v0.0.0-20211012143332-c7cc43d9bc0c
github.com/tektoncd/triggers v0.17.1
github.com/tidwall/gjson v1.12.1 // indirect
go.opencensus.io v0.23.0
go.uber.org/multierr v1.7.0
Expand All @@ -34,15 +33,12 @@ require (
gopkg.in/yaml.v2 v2.4.0
gotest.tools v2.2.0+incompatible
gotest.tools/v3 v3.0.3
k8s.io/api v0.21.4
k8s.io/apimachinery v0.21.4
k8s.io/api v0.22.5
k8s.io/apimachinery v0.22.5
k8s.io/cli-runtime v0.21.4
k8s.io/client-go v0.21.4
knative.dev/pkg v0.0.0-20210827184538-2bd91f75571c
sigs.k8s.io/yaml v1.2.0
k8s.io/client-go v0.22.5
knative.dev/pkg v0.0.0-20220104185830-52e42b760b54
sigs.k8s.io/yaml v1.3.0
)

replace (
github.com/kr/pty => github.com/creack/pty v1.1.16
maze.io/x/duration => git.maze.io/go/duration v0.0.0-20160924141736-faac084b6075
)
replace github.com/kr/pty => github.com/creack/pty v1.1.16
698 changes: 598 additions & 100 deletions go.sum

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# go-multierror

[![Build Status](http://img.shields.io/travis/hashicorp/go-multierror.svg?style=flat-square)][travis]
[![Go Documentation](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)][godocs]
[![CircleCI](https://img.shields.io/circleci/build/github/hashicorp/go-multierror/master)](https://circleci.com/gh/hashicorp/go-multierror)
[![Go Reference](https://pkg.go.dev/badge/github.com/hashicorp/go-multierror.svg)](https://pkg.go.dev/github.com/hashicorp/go-multierror)
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/hashicorp/go-multierror)

[travis]: https://travis-ci.org/hashicorp/go-multierror
[godocs]: https://godoc.org/github.com/hashicorp/go-multierror
[circleci]: https://app.circleci.com/pipelines/github/hashicorp/go-multierror
[godocs]: https://pkg.go.dev/github.com/hashicorp/go-multierror

`go-multierror` is a package for Go that provides a mechanism for
representing a list of `error` values as a single `error`.
Expand All @@ -24,7 +25,25 @@ for introspecting on error values.
Install using `go get github.com/hashicorp/go-multierror`.

Full documentation is available at
http://godoc.org/github.com/hashicorp/go-multierror
https://pkg.go.dev/github.com/hashicorp/go-multierror

### Requires go version 1.13 or newer

`go-multierror` requires go version 1.13 or newer. Go 1.13 introduced
[error wrapping](https://golang.org/doc/go1.13#error_wrapping), which
this library takes advantage of.

If you need to use an earlier version of go, you can use the
[v1.0.0](https://github.com/hashicorp/go-multierror/tree/v1.0.0)
tag, which doesn't rely on features in go 1.13.

If you see compile errors that look like the below, it's likely that
you're on an older version of go:

```
/go/src/github.com/hashicorp/go-multierror/multierror.go:112:9: undefined: errors.As
/go/src/github.com/hashicorp/go-multierror/multierror.go:117:9: undefined: errors.Is
```

## Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ package multierror
// If err is not a multierror.Error, then it will be turned into
// one. If any of the errs are multierr.Error, they will be flattened
// one level into err.
// Any nil errors within errs will be ignored. If err is nil, a new
// *Error will be returned.
func Append(err error, errs ...error) *Error {
switch err := err.(type) {
case *Error:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/hashicorp/go-multierror

go 1.14
go 1.13

require github.com/hashicorp/errwrap v1.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,17 @@ func (e *Error) GoString() string {
return fmt.Sprintf("*%#v", *e)
}

// WrappedErrors returns the list of errors that this Error is wrapping.
// It is an implementation of the errwrap.Wrapper interface so that
// multierror.Error can be used with that library.
// WrappedErrors returns the list of errors that this Error is wrapping. It is
// an implementation of the errwrap.Wrapper interface so that multierror.Error
// can be used with that library.
//
// This method is not safe to be called concurrently and is no different
// than accessing the Errors field directly. It is implemented only to
// satisfy the errwrap.Wrapper interface.
// This method is not safe to be called concurrently. Unlike accessing the
// Errors field directly, this function also checks if the multierror is nil to
// prevent a null-pointer panic. It satisfies the errwrap.Wrapper interface.
func (e *Error) WrappedErrors() []error {
if e == nil {
return nil
}
return e.Errors
}

Expand Down
Loading

0 comments on commit 1e8fec6

Please sign in to comment.