kvm-operator: github.com/giantswarm/kvm-operator/service Index | Files | Directories

package service

import "github.com/giantswarm/kvm-operator/service"

Index

Package Files

error.go service.go

func IsInvalidConfig Uses

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

type Config Uses

type Config struct {
    // Dependencies.
    Logger micrologger.Logger

    // Settings.
    Flag  *flag.Flag
    Viper *viper.Viper
}

Config represents the configuration used to create a new service.

type Service Uses

type Service struct {
    Version *version.Service
    // contains filtered or unexported fields
}

func New Uses

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

New creates a new service with given configuration.

func (*Service) Boot Uses

func (s *Service) Boot()

Directories

PathSynopsis
controller
controller/cloudconfig
controller/cloudconfig/cloudconfigtest
controller/key
controller/resource/cleanupendpointips
controller/resource/clusterrolebinding
controller/resource/configmap
controller/resource/deployment
controller/resource/endpoint
controller/resource/ingress
controller/resource/namespace
controller/resource/node
controller/resource/nodeindexstatus
controller/resource/pod
controller/resource/pvc
controller/resource/service
controller/resource/serviceaccount
controller/v20/cloudconfig/cloudconfigtest
controller/v20/resource/nodeindexstatus
controller/v20/resource/serviceaccount
controller/v21/resource/clusterrolebinding
controller/v21/resource/deployment
controller/v21/resource/endpoint
controller/v21/resource/nodeindexstatus
controller/v21/resource/pod
controller/v21/resource/pvc
controller/v22/cloudconfig/cloudconfigtest
controller/v22/resource/clusterrolebinding
controller/v22/resource/ingress
controller/v23/resource/configmap
controller/v23/resource/ingress
controller/v23/resource/namespace
controller/v23/resource/node
controller/v24patch1/cloudconfig
controller/v24patch1/resource/pod
controller/v24patch1/resource/pvc
metric

Package service imports 18 packages (graph) and is imported by 3 packages. Updated 2020-08-01. Refresh now. Tools for package owners.