- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newLocalKubeServer (0.25 sec)
-
pkg/test/framework/components/authz/server.go
// to allow calls to a local authz server running as a sidecar to the echo // app. func NewLocal(ctx resource.Context, ns namespace.Instance) (Server, error) { return newLocalKubeServer(ctx, ns) } // NewLocalOrFail calls NewLocal and fails if an error occurs. func NewLocalOrFail(t framework.TestContext, ns namespace.Instance) Server { t.Helper() s, err := NewLocal(t, ns) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 14 23:39:05 UTC 2022 - 2.4K bytes - Viewed (0) -
pkg/test/framework/components/authz/kubelocal.go
spec: hosts: - "{{ .grpcHost }}" endpoints: - address: "127.0.0.1" ports: - name: grpc number: {{ .grpcPort }} protocol: GRPC resolution: STATIC ---` ) func newLocalKubeServer(ctx resource.Context, ns namespace.Instance) (server *localServerImpl, err error) { if ns == nil { return nil, errors.New("namespace required for local authz server") } start := time.Now()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 5.1K bytes - Viewed (0)