v1

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeploymentLab

type DeploymentLab interface {
	// Merge merges the following fields from src to dst
	// - ObjectMeta.Labels
	// - ObjectMeta.Annotations
	// - Spec
	Merge(dst, src *v1.Deployment) error
	// IsEqual checks if the given two deployments are equal
	//
	// If ignoreFields is provided, the function will be call on each
	// deployment's deepcopy(be free to mutate it) before comparing to
	// ignore specified fields.
	// You can mutate object in the function like:
	// func (in *v1.Deployment) {
	//    in.Spec.Replicas = nil
	// }
	IsEqual(a, b *v1.Deployment, ignoreFields func(*v1.Deployment)) bool
}

DeploymentLab contains some utils for Deployments

type Interface

type Interface interface {
	Deployments() DeploymentLab
}

Interface provides access to all the informers in this group version.

func New

func New() Interface

New returns a new Interface.

Jump to

Keyboard shortcuts

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