github.com/cilium/cilium@v1.16.2/operator/auth/spire/noop.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright Authors of Cilium 3 4 package spire 5 6 import "context" 7 8 type noopClient struct { 9 } 10 11 func (n noopClient) Upsert(_ context.Context, _ string) error { 12 return nil 13 } 14 15 func (n noopClient) Delete(_ context.Context, _ string) error { 16 return nil 17 } 18 19 func (n noopClient) List(_ context.Context) ([]string, error) { 20 return nil, nil 21 }