Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const ServerlessRouteSection: React.FC = ({ route }) => {
return (
{route.create && (
)}
);
};
<p>Set traffic distribution for the Revisions of the Knative Service</p>
const PipelineStorageOptions: React.FC = () => (
<>
)}
{(!applicationsAvailable || selectedKey.value === CREATE_APPLICATION_KEY) && (
)}
);
};
const PipelineGitOptions: React.FC = () => (
<>
);
namespace: getActiveNamespace(),
verb: 'update',
});
return (
<form>
<div>
<hr>
{pipelineResourceAccess && (
</div></form>
return (
<form>
Delete Application
<div>
<div>
<p>
This action cannot be undone. All associated Deployments, Routes, Builds, Pipelines,
Storage/PVC's, secrets, and configmaps will be deleted.
</p>
<p>
Confirm deletion by typing{' '}
<strong>{initialApplication}</strong> below:
</p>
</div>
</div>
);
};
</form>
.catch((error) => {
setFieldError('isi.image', error.message);
setFieldValue('isi', {});
setFieldValue('isSearchingForImage', false);
});
};
const handleSave = (name: string) => {
setNewImageSecret(name);
values.searchTerm && handleSearch(values.searchTerm);
};
return (
<>
<div id="image-name-help">
To deploy an image from a private repository, you must{' '}
<button>
secretModalLauncher({
namespace,
save: handleSave,
secretType: SecretTypeAbstraction.image,</button></div>
handleReset,
isSubmitting,
status,
errors,
dirty,
}) => (
<form>
<div>
<hr>
</div>
</form>
);