wedding

package
v0.0.0-...-274d15d Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxExecutionTime is the longest time allowed for a command to run.
	MaxExecutionTime = 30 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectStore

type ObjectStore struct {
	Client   *s3.S3
	Uploader *s3manager.Uploader
	Bucket   string
}

ObjectStore manages access to a S3 compatible file store.

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service runs the wedding server.

func NewService

func NewService(gitHash, gitRef string, objectStore *ObjectStore, kubernetesClient *kubernetes.Clientset, namespace string) *Service

NewService creates a new service server and initiates the routes.

func (*Service) ServeHTTP

func (s *Service) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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