With kubernetes 1.18 release of client-go, signatures on methods in generated clientsets, dynamic, metadata, and scale clients have been modified to accept context.Context as a first argument. Signatures of Create, Update, and Patch methods have been updated to accept CreateOptions, UpdateOptions and PatchOptions respectively. Signatures of Delete and DeleteCollection methods now accept DeleteOptions by value instead of by reference. These changes are now accommodated with this PR and client-go and dependencies are updated to v1.18.0 Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
16 lines
390 B
Go
16 lines
390 B
Go
// Copyright 2017, 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.md file.
|
|
|
|
// +build purego
|
|
|
|
package cmp
|
|
|
|
import "reflect"
|
|
|
|
const supportExporters = false
|
|
|
|
func retrieveUnexportedField(reflect.Value, reflect.StructField) reflect.Value {
|
|
panic("no support for forcibly accessing unexported fields")
|
|
}
|