config

package
v0.0.0-...-ae1ed85 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Kubeconfig     string
	KubeClientset  kubernetes.Interface
	SlsClientSet   slsclient.ReleaseV1alpha1Interface
	RESTConfig     *rest.Config
	Context        *opkit.Context
	LoggingConfig  *LoggingConfig
	Logger         *logrus.Entry
	Depenendencies *DependenciesConfig
	//TODO: add the rest
	Recorder record.EventRecorder
}

Config represent the configuration of the operator

type DependenciesConfig

type DependenciesConfig struct {
	ServerlessPath string
	NodePath       string
}

DependenciesConfig defines the config relevenat to dependencies

type LoggingConfig

type LoggingConfig struct {
	File              string
	Level             string
	DisableTimestamps bool
	FullTimestamps    bool
}

LoggingConfig defines the attributes for the logger

Jump to

Keyboard shortcuts

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