determiner

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: Apache-2.0 Imports: 12 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