Documentation
¶
Index ¶
Constants ¶
View Source
const (
HealthPath = "/health"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FakeResponse ¶
type FakeResponse struct {
// contains filtered or unexported fields
}
func NewFakeRespone ¶
func NewFakeRespone(t *testing.T) *FakeResponse
func (*FakeResponse) Header ¶
func (r *FakeResponse) Header() http.Header
func (*FakeResponse) WriteHeader ¶
func (r *FakeResponse) WriteHeader(status int)
type Hook ¶
type Hook struct { Name string Namespace string ForwardURL string Headers map[string][]string Body []byte }
Hook struct to hold everything related to a hook.
func FromV1Alpha1Hook ¶
FromV1Alpha1Hook converts from a v1alpha1.Hook to a Hook.
Click to show internal directories.
Click to hide internal directories.