mappings

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceFinder

type ResourceFinder interface {
	GetResourceMapping(namespacedName types.NamespacedName) (*v2vv1alpha1.ResourceMapping, error)
}

ResourceFinder finds resource mappings

type ResourceMappingsFinder

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

ResourceMappingsFinder provides functionality of retrieving Resource Mapping CRs

func NewResourceMappingsFinder

func NewResourceMappingsFinder(client client.Client) *ResourceMappingsFinder

NewResourceMappingsFinder creates new ResourceMappingsFinder configured with given client

func (*ResourceMappingsFinder) GetResourceMapping

func (m *ResourceMappingsFinder) GetResourceMapping(namespacedName types.NamespacedName) (*v2vv1alpha1.ResourceMapping, error)

GetResourceMapping retrieves current version of a resource mapping CR with given namespaced name

Jump to

Keyboard shortcuts

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