Class HelmAddRepository

  • All Implemented Interfaces:
    io.github.build.extensions.oss.gradle.plugins.helm.command.GlobalHelmOptions , io.github.build.extensions.oss.gradle.plugins.helm.command.HelmOptions , kotlin.Comparable , org.gradle.api.Named , org.gradle.api.Task , org.gradle.api.internal.DynamicObjectAware , org.gradle.api.internal.TaskInternal , org.gradle.api.plugins.ExtensionAware , org.gradle.util.Configurable

    
    public class HelmAddRepository
    extends AbstractHelmCommandTask
                        

    Registers a known repository with Helm. Corresponds to the helm repo add CLI command.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Property<String> getRepositoryName() Name of the repository.
      final Property<URI> getUrl() URL of the repository.
      final RegularFileProperty getCaFile() A CA bundle used to verify certificates of HTTPS-enabled servers.
      final Property<String> getUsername() Username to access the chart repository.
      final Property<String> getPassword() Password to access the chart repository.
      final RegularFileProperty getCertificateFile() Path to a certificate file for client SSL authentication.
      final RegularFileProperty getKeyFile() Path to a certificate private key file for client SSL authentication.
      final Property<Boolean> getFailIfExists() If set to true, fails if the repository is already registered.
      final Unit addRepository()
      • Methods inherited from class io.github.build.extensions.oss.gradle.plugins.helm.command.tasks.AbstractHelmCommandTask

        getDebug, getExecutable, getExtraArgs, getXdgCacheHome, getXdgConfigHome, getXdgDataHome
      • Methods inherited from class org.gradle.api.internal.AbstractTask

        acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
      • Methods inherited from class org.gradle.api.DefaultTask

        compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HelmAddRepository

        HelmAddRepository()
    • Method Detail

      • getUrl

        @Input() final Property<URI> getUrl()

        URL of the repository.

      • getCaFile

        @InputFile()@Optional() final RegularFileProperty getCaFile()

        A CA bundle used to verify certificates of HTTPS-enabled servers.

        Corresponds to the --ca-file CLI parameter.

      • getUsername

        @Input()@Optional() final Property<String> getUsername()

        Username to access the chart repository.

        Corresponds to the --username CLI parameter.

      • getPassword

        @Input()@Optional() final Property<String> getPassword()

        Password to access the chart repository.

        Corresponds to the --password CLI parameter.

      • getCertificateFile

        @InputFile()@Optional() final RegularFileProperty getCertificateFile()

        Path to a certificate file for client SSL authentication.

        Corresponds to the --cert-file CLI parameter.

      • getKeyFile

        @InputFile()@Optional() final RegularFileProperty getKeyFile()

        Path to a certificate private key file for client SSL authentication.

        Corresponds to the --key-file CLI parameter.

      • getFailIfExists

        @Internal() final Property<Boolean> getFailIfExists()

        If set to true, fails if the repository is already registered.

        Corresponds to the --no-update command line flag.