service

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 32 Imported by: 8

Documentation

Overview

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

Index

Constants

This section is empty.

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
NOTE this package is deprecated and can be dropped once legacy/v23 is gone.
NOTE this package is deprecated and can be dropped once legacy/v23 is gone.
controller
clusterapi/v29/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.
clusterapi/v29/resource/clusterazs
Package clusterazs implements a resource to gather all distinct availability zones for a tenant cluster.
Package clusterazs implements a resource to gather all distinct availability zones for a tenant cluster.
clusterapi/v29/resource/machinedeployment
Package machinedeployment implements a temporary resource to fetch the single MachineDeployment of a tenant cluster.
Package machinedeployment implements a temporary resource to fetch the single MachineDeployment of a tenant cluster.
clusterapi/v29/resource/machinedeploymentazs
Package machinedeploymentazs implements a resource to gather all private subnets for the configured availability zones of a node pool.
Package machinedeploymentazs implements a resource to gather all private subnets for the configured availability zones of a node pool.
clusterapi/v29/resource/region
Package region implements an operatorkit resource that addresses a problem where the tcnp resource would need to fetch the Cluster CR even though the MachineDeployment CR is reconciled.
Package region implements an operatorkit resource that addresses a problem where the tcnp resource would need to fetch the Cluster CR even though the MachineDeployment CR is reconciled.
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.
legacy/v29/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/v29/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.
Package network is DEPRECATED and can be dropped once v29 is gone.
Package network is DEPRECATED and can be dropped once v29 is gone.
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