Current section
Files
Jump to
Current section
Files
elixir_kubernetes_cluster
mix.exs
mix.exs
defmodule ElixirKubernetesCluster.Mixfile do
use Mix.Project
def project do
[app: :elixir_kubernetes_cluster,
version: "0.1.9",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: "A module that automatically connects to a Kubernetes API, in order to obtain the address of other nodes, and connects to them.",
package: package(),
deps: deps()]
end
def package do
[
maintainers: ["André Cruz"],
licenses: ["GPLv3"],
links: %{"GitHub" => "https://github.com/edevil/elixir_kubernetes_cluster"}
]
end
def application do
[applications: [:logger, :httpoison],
mod: {ElixirKubernetesCluster, []},
env: [kube_api_endpoint: "http://localhost:8001",
app_namespace_env: "MY_POD_NAMESPACE",
pod_name_env: "MY_POD_NAME"]]
end
defp deps do
[{:ex_doc, ">= 0.0.0", only: :dev},
{:httpoison, "~> 1.0.0"},
{:bypass, "~> 0.1", only: :test},
{:credo, "~> 0.4", only: [:dev, :test]},
{:poison, "~> 1.5 or ~> 3.0"}]
end
end