Class DockerConfigSecret.Builder

    • Method Detail

      • metadata

        @Stability(Stable)
        public DockerConfigSecret.Builder metadata​(org.cdk8s.ApiObjectMetadata metadata)
        Metadata that all persisted resources must have, which includes all objects users must create.

        Parameters:
        metadata - Metadata that all persisted resources must have, which includes all objects users must create. This parameter is required.
        Returns:
        this
      • data

        @Stability(Stable)
        public DockerConfigSecret.Builder data​(Map<String,​? extends Object> data)
        JSON content to provide for the `~/.docker/config.json` file. This will be stringified and inserted as stringData.

        Parameters:
        data - JSON content to provide for the `~/.docker/config.json` file. This will be stringified and inserted as stringData. This parameter is required.
        Returns:
        this