fake

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeConventionServer

func NewFakeConventionServer() (*httptest.Server, []byte, error)

NewFakeConventionServer returns a webhook test HTTPS server with fixed webhook test certs.

func NewStubServiceResolver

func NewStubServiceResolver(base url.URL) webhook.ServiceResolver

NewStubServiceResolver returns a static service resolve that return the given URL or an error for the failResolve namespace.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL