Interface ChartDependencyHandler

  • All Implemented Interfaces:

    
    public interface ChartDependencyHandler
    
                        

    Used to declare chart dependencies in the DSL.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit add(String chart, String project) Adds a dependency on another chart.
      Unit add(HelmChart chart) Adds a dependency on another chart in the same project.
      Unit add(Map<?, ?> notation) Adds a dependency on another chart, using a map notation.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • add

         abstract Unit add(String chart, String project)

        Adds a dependency on another chart.

        Parameters:
        chart - the name of the chart inside the Gradle project.
        project - the path to the project that contains the chart.
      • add

         Unit add(HelmChart chart)

        Adds a dependency on another chart in the same project.

        Parameters:
        chart - the HelmChart object representing the dependency
      • add

         Unit add(Map<?, ?> notation)

        Adds a dependency on another chart, using a map notation.

        This variant is intended for Groovy DSL support, allowing us to declare a chart dependency like this:

        dependencies {
            add(name: 'foo', project: ':bar', chart: 'main')
        }

        The following keys are supported in the notation map parameter:

        • chart: the name of the chart inside the Gradle project

        • project: the path to the project that contains the chart

        Parameters:
        notation - a Map containing the dependency properties