prepare

package
v2.7.20 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: LGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prepper

func Prepper() process.Prepper

Prepper prepare the image build context

Types

type ImageMetadata

type ImageMetadata struct {
	Main             string
	Maintainer       string
	Baseimage        string
	PackageDirectory string
	Static           string
	Path             string
	Labels           map[string]string
	Env              map[string]string
}

ImageMetadata utility struct containing image metadata

type Nodejs

type Nodejs struct {
	Main      string            `json:"main"`
	Overrides map[string]string `json:"overrides"`
}

Nodejs :

type OpenshiftConfig

type OpenshiftConfig struct {
	Web Web `json:"web"`
}

OpenshiftConfig :

type PreparedImage

type PreparedImage struct {
	Path string
	// contains filtered or unexported fields
}

type Web

type Web struct {
	ConfigurableProxy bool           `json:"configurableProxy"`
	Nodejs            Nodejs         `json:"nodejs"`
	WebApp            WebApp         `json:"webapp"`
	Gzip              nginxGzip      `json:"gzip"`
	Exclude           []string       `json:"exclude"`
	Locations         nginxLocations `json:"locations"`
}

Web :

type WebApp

type WebApp struct {
	Content         string            `json:"content"`
	Path            string            `json:"path"`
	DisableTryfiles bool              `json:"disableTryfiles"`
	Headers         map[string]string `json:"headers"`
}

WebApp :

Jump to

Keyboard shortcuts

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