service

package
v0.0.8-prerelease-2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Builder

func Builder() *builder

func Merge

func Merge(dest corev1.Service, source corev1.Service) corev1.Service

Merge merges `source` into `dest`. Both arguments will remain unchanged a new service will be created and returned. The "merging" process is arbitrary and it only handle specific attributes

Types

type Creator

type Creator interface {
	CreateService(secret corev1.Service) error
}

type GetUpdateCreator

type GetUpdateCreator interface {
	Getter
	Updater
	Creator
}

type GetUpdater

type GetUpdater interface {
	Getter
	Updater
}

type Getter

type Getter interface {
	GetService(objectKey client.ObjectKey) (corev1.Service, error)
}

type Updater

type Updater interface {
	UpdateService(secret corev1.Service) error
}

Jump to

Keyboard shortcuts

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