service

package
v0.0.0-...-17b5b8b Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package service implements business logic to create Kubernetes resources against the Kubernetes API.

Index

Constants

View Source
const (
	RedactedString = "[REDACTED]"
)

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func NewVersionBundles

func NewVersionBundles() []versionbundle.Bundle

NewVersionBundles returns the array of version bundles defined for the operator.

Types

type Config

type Config struct {
	Logger micrologger.Logger

	Flag  *flag.Flag
	Viper *viper.Viper

	Description string
	GitCommit   string
	ProjectName string
	Source      string
}

Config represents the configuration used to create a new service.

type Service

type Service struct {
	Alerter          *alerter.Service
	ClusterFramework *framework.Framework
	DrainerFramework *framework.Framework
	Healthz          *healthz.Service
	Version          *version.Service
	// contains filtered or unexported fields
}

func New

func New(config Config) (*Service, error)

New creates a new configured service object.

func (*Service) Boot

func (s *Service) Boot(ctx context.Context)

Directories

Path Synopsis
v1
v2
v2/resource/cloudformation/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v3
v3/resource/cloudformation/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v4
v4/resource/cloudformation/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v5
v5/resource/cloudformation/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v6
v6/resource/cloudformation/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v7
v7/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v8
v8/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
v9
v9/adapter
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.

Jump to

Keyboard shortcuts

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