v1

package
v0.0.0-...-96be600 Latest Latest
Warning

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

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

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 *appsv1.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 *appsv1.Deployment) {
	//    in.Spec.Replicas = nil
	// }
	IsEqual(a, b *appsv1.Deployment, ignoreFields func(*appsv1.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