// Get retrieves the ProviderSnapshotRestoreJob from the indexer for a given namespace and name.
Get retrieves the ProviderSnapshotRestoreJob from the indexer for a given namespace and name.
// Get retrieves the ProviderSnapshotRestoreJob from the indexer for a given namespace and name .
func (s providerSnapshotRestoreJobNamespaceLister) Get(name string) (*v1alpha1.ProviderSnapshotRestoreJob, error) {
	obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name)
	if err != nil {
		return nil, err
	}
	if !exists {
		return nil, errors.NewNotFound(v1alpha1.Resource("providersnapshotrestorejob"), name)
	}
	return obj.(*v1alpha1.ProviderSnapshotRestoreJob), nil
}
func ( s providerSnapshotRestoreJobNamespaceLister ) Get ( name string ) ( * v1alpha1 . ProviderSnapshotRestoreJob , error ) { obj , exists , err := s . indexer . GetByKey ( s . namespace + " " + name ) if err != nil { return nil , err } if ! exists { return nil , errors . NewNotFound ( v1alpha1 . Resource ( " " ) , name ) } return obj . ( * v1alpha1 . ProviderSnapshotRestoreJob ) , nil }
Get retrieves the ProviderSnapshotRestoreJob from the indexer for a given namespace and name.
Get retrieves the ProviderSnapshotRestoreJob from the indexer for a given namespace and name .