determiner

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Determiner

type Determiner interface {
	DetermineDeletion(ctx context.Context, info *cliresource.Info) (bool, error)
}

func New

func New(resourceClient resource.Client, r *cliresource.Result, namespace string) (Determiner, error)

type FakeDeterminer

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

func NewFakeDeterminer

func NewFakeDeterminer(objects ...runtime.Object) (*FakeDeterminer, error)

func (*FakeDeterminer) DetermineDeletion

func (d *FakeDeterminer) DetermineDeletion(_ context.Context, info *cliresource.Info) (bool, error)

Jump to

Keyboard shortcuts

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