resource

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: Apache-2.0 Imports: 1 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToClientKey

func ToClientKey(res Resource) client.ObjectKey

Types

type Client

type Client interface {
	client.Client
}

right now this just allows us to generate mocks for the client. (ilackarms): eventually it might make sense to put clients for non-kube backends in this package

type Resource

type Resource interface {
	GetName() string
	GetNamespace() string
}

provides a simple, extendable interface for dealing with resources

Directories

Path Synopsis
Package mock_resource is a generated GoMock package.
Package mock_resource is a generated GoMock package.

Jump to

Keyboard shortcuts

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