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
Click to show internal directories.
Click to hide internal directories.