types

package
v0.0.0-...-318d958 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Copyright (c) Alex Ellis 2017. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapConfig

type BootstrapConfig struct {
	// HTTPProbe when set to true switches readiness and liveness probe to
	// access /_/health over HTTP instead of accessing /tmp/.lock.
	HTTPProbe                         bool
	SetNonRootUser                    bool
	ReadinessProbeInitialDelaySeconds int
	ReadinessProbeTimeoutSeconds      int
	ReadinessProbePeriodSeconds       int
	LivenessProbeInitialDelaySeconds  int
	LivenessProbeTimeoutSeconds       int
	LivenessProbePeriodSeconds        int
	ImagePullPolicy                   string
	FaaSConfig                        ftypes.FaaSConfig
}

BootstrapConfig for the process.

type ReadConfig

type ReadConfig struct {
}

ReadConfig constitutes config from env variables

func (ReadConfig) Read

func (ReadConfig) Read(hasEnv ftypes.HasEnv) (BootstrapConfig, error)

Read fetches config from environmental variables.

type ScaleServiceRequest

type ScaleServiceRequest struct {
	ServiceName      string `json:"serviceName"`
	ServiceNamespace string `json:"serviceNamespace"`
	Replicas         uint64 `json:"replicas"`
}

Jump to

Keyboard shortcuts

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