space

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(kubeApi kubernetes.Interface,
	log *logrus.Entry,
	isKnownSpace func(name string) bool)

Types

type SpaceRuntime

type SpaceRuntime struct {
	Space deccov1beta2.Space

	// in memory state of the spaceRsc
	// Status is the source of truth after SpaceRuntime struct is materialized.
	Status deccov1beta2.SpaceStatus
	// contains filtered or unexported fields
}

func New

func New(
	spc deccov1beta2.Space,
	kubeApi kubernetes.Interface,
) *SpaceRuntime

func (*SpaceRuntime) Delete

func (c *SpaceRuntime) Delete() (nsDeleted bool)

func (*SpaceRuntime) Update

func (c *SpaceRuntime) Update(spc deccov1beta2.Space)

Jump to

Keyboard shortcuts

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