Skip to content

Commit

Permalink
go 1.16 /regenerate mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito committed Mar 8, 2021
1 parent 85abb46 commit cf28243
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 101 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.14
go-version: ^1.16
id: go

- name: Check out code into the Go module directory
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# find or install mockgen
ifeq (, $(shell which mockgen))
$(shell go get github.com/golang/mock/mockgen@v1.4.3)
$(shell go get github.com/golang/mock/mockgen)
endif
ifeq (, $(shell which ginkgo))
$(shell go get github.com/onsi/ginkgo/ginkgo)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/bakito/operator-utils.svg?branch=master)](https://travis-ci.com/bakito/operator-utils) [![Go Report Card](https://goreportcard.com/badge/github.com/bakito/operator-utils)](https://goreportcard.com/report/github.com/bakito/operator-utils) [![GitHub Release](https://img.shields.io/github/release/bakito/operator-utils.svg?style=flat)](https://github.com/bakito/operator-utils/releases) <a href='https://github.com/jpoles1/gopherbadger' target='_blank'>![gopherbadger-tag-do-not-edit](https://img.shields.io/badge/Go%20Coverage-70%25-brightgreen.svg?longCache=true&style=flat)</a>
[![Go](https://github.com/bakito/operator-utils/actions/workflows/go.yml/badge.svg)](https://github.com/bakito/operator-utils/actions/workflows/go.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/bakito/operator-utils)](https://goreportcard.com/report/github.com/bakito/operator-utils) [![GitHub Release](https://img.shields.io/github/release/bakito/operator-utils.svg?style=flat)](https://github.com/bakito/operator-utils/releases)

# Operator Utils
A collection of reusable utils when writing operators
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module github.com/bakito/operator-utils

go 1.15
go 1.16

require (
github.com/fsnotify/fsnotify v1.4.9
github.com/go-logr/logr v0.4.0
github.com/golang/mock v1.5.0
github.com/onsi/ginkgo v1.15.1
github.com/onsi/gomega v1.10.5
github.com/onsi/gomega v1.11.0
k8s.io/api v0.20.4
k8s.io/apimachinery v0.20.4
k8s.io/client-go v0.20.4
Expand Down
58 changes: 4 additions & 54 deletions go.sum

Large diffs are not rendered by default.

51 changes: 26 additions & 25 deletions pkg/mocks/client/mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 18 additions & 17 deletions pkg/mocks/logr/mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cf28243

Please sign in to comment.