mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
build: move e2e dependencies into e2e/go.mod
Several packages are only used while running the e2e suite. These packages are less important to update, as the they can not influence the final executable that is part of the Ceph-CSI container-image. By moving these dependencies out of the main Ceph-CSI go.mod, it is easier to identify if a reported CVE affects Ceph-CSI, or only the testing (like most of the Kubernetes CVEs). Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
committed by
mergify[bot]
parent
15da101b1b
commit
bec6090996
29
e2e/vendor/google.golang.org/protobuf/internal/pragma/pragma.go
generated
vendored
Normal file
29
e2e/vendor/google.golang.org/protobuf/internal/pragma/pragma.go
generated
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
// Copyright 2018 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Package pragma provides types that can be embedded into a struct to
|
||||
// statically enforce or prevent certain language properties.
|
||||
package pragma
|
||||
|
||||
import "sync"
|
||||
|
||||
// NoUnkeyedLiterals can be embedded in a struct to prevent unkeyed literals.
|
||||
type NoUnkeyedLiterals struct{}
|
||||
|
||||
// DoNotImplement can be embedded in an interface to prevent trivial
|
||||
// implementations of the interface.
|
||||
//
|
||||
// This is useful to prevent unauthorized implementations of an interface
|
||||
// so that it can be extended in the future for any protobuf language changes.
|
||||
type DoNotImplement interface{ ProtoInternal(DoNotImplement) }
|
||||
|
||||
// DoNotCompare can be embedded in a struct to prevent comparability.
|
||||
type DoNotCompare [0]func()
|
||||
|
||||
// DoNotCopy can be embedded in a struct to help prevent shallow copies.
|
||||
// This does not rely on a Go language feature, but rather a special case
|
||||
// within the vet checker.
|
||||
//
|
||||
// See https://golang.org/issues/8005.
|
||||
type DoNotCopy [0]sync.Mutex
|
Reference in New Issue
Block a user