server

package
v0.0.0-...-35e2b90 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mapping

func Mapping() crd.Mapping

Mapping returns a mapping of v1 internal and public CRDs.

func Purge

func Purge(k common.Kube, mapping crd.Mapping) error

Purge internal custom resources and custom resource definitions, based on the provided mapping.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is the main entry point into the Galley code.

func New

func New(k common.Kube, mapping crd.Mapping, resyncPeriod time.Duration) *Server

New returns a new instance of a Server.

func (*Server) Start

func (s *Server) Start() error

Start the server instance. It will start synchronizing CRDs.

func (*Server) Stop

func (s *Server) Stop()

Stop the server instance.

Jump to

Keyboard shortcuts

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