haskell-kubernetes-0.4.0: Haskell bindings to the Kubernetes API (via swagger-codegen)

Safe HaskellNone
LanguageHaskell2010

Kubernetes.Model.V1.Endpoints

Synopsis

Documentation

data Endpoints Source

Endpoints is a collection of endpoints that implement the actual service. Example:n Name: "mysvc",n Subsets: [n {n Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],n Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]n },n {n Addresses: [{"ip": "10.10.3.3"}],n Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]n },n ]

mkEndpoints :: [EndpointSubset] -> Endpoints Source

Use this method to build a Endpoints