service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: Apache-2.0 Imports: 30 Imported by: 8

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 {
	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
controller
clusterapi/v28/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.
legacy/v22/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.
legacy/v22/resource/migration
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
legacy/v22patch1/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.
legacy/v22patch1/resource/migration
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
legacy/v23/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.
legacy/v23/resource/migration
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
legacy/v24/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.
legacy/v24/resource/migration
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
legacy/v25/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.
legacy/v25/resource/migration
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
legacy/v26/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.
legacy/v26/resource/migration
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
legacy/v27/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.
legacy/v27/resource/migration
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
legacy/v28/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.
legacy/v28/resource/migration
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
NOTE this package is deprecated.
NOTE this package is deprecated.
NOTE this package is deprecated.
NOTE this package is deprecated.

Jump to

Keyboard shortcuts

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