server

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package server has been renamed and modified from its original state, which can be found here: https://github.com/douglasmakey/admissioncontroller/blob/master/http/

Package server has been renamed and modified from its original state, which can be found here: https://github.com/douglasmakey/admissioncontroller/blob/master/http/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPServer

func NewHTTPServer(port, registryHostname, tlsCert, tlsKey string) *http.Server

NewHTTPServer returns a new instance of the *http.Server used to serve the imageswap webhook endpoints

func RunHTTPServer

func RunHTTPServer(server *http.Server)

RunHTTPServer runs a new instance of an http.Server over TLS using the provided paths to the TLS cert and key files

Types

This section is empty.

Jump to

Keyboard shortcuts

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