service

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 4 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 Client

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

func NewClient

func NewClient(client client.Client) Client

func (Client) Create

func (c Client) Create(svc corev1.Service) error

Create provides a thin wrapper and client.Client to create corev1.Service types

func (Client) Delete

func (c Client) Delete(svc corev1.Service) error

Delete provides a thin wrapper and client.Client to delete corev1.Service types

func (Client) Get

func (c Client) Get(key client.ObjectKey) (corev1.Service, error)

Get provides a thin wrapper and client.client to access corev1.Service types

func (Client) Update

func (c Client) Update(svc corev1.Service) error

Update provides a thin wrapper and client.Client to update corev1.Service types

Jump to

Keyboard shortcuts

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