All files / modules/75-ce/components/COGatewayAccess KubernetesYamlEditorDescription.tsx

100% Statements 7/7
100% Branches 0/0
100% Functions 1/1
100% Lines 7/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 314x 4x 4x   4x 2x 2x                                             4x  
import React from 'react'
import { Layout, Text } from '@wings-software/uicore'
import { useStrings } from 'framework/strings'
 
const KubernetesYamlEditorDescription: React.FC = () => {
  const { getString } = useStrings()
  return (
    <Layout.Vertical spacing="medium" padding={{ left: 'medium', right: 'medium' }}>
      <Text>{getString('ce.co.autoStoppingRule.setupAccess.kubernetesDesc.resourceDefinition')}</Text>
      <Text>{getString('ce.co.autoStoppingRule.setupAccess.kubernetesDesc.params.description')}</Text>
      <ul>
        <li>
          <Text>{getString('ce.co.autoStoppingRule.setupAccess.kubernetesDesc.params.host')}</Text>
        </li>
        <li>
          <Text>{getString('ce.co.autoStoppingRule.setupAccess.kubernetesDesc.params.name')}</Text>
        </li>
        <li>
          <Text>{getString('ce.co.autoStoppingRule.setupAccess.kubernetesDesc.params.port')}</Text>
        </li>
        <li>
          <Text>{getString('ce.co.autoStoppingRule.setupAccess.kubernetesDesc.params.learnMore')}</Text>
        </li>
      </ul>
      <Text>{getString('ce.co.autoStoppingRule.setupAccess.kubernetesDesc.validate')}</Text>
    </Layout.Vertical>
  )
}
 
export default KubernetesYamlEditorDescription