Documentation
¶
Index ¶
- Constants
- func Ingress(namespace, name string, annotations []*pb.Annotation, secret, retention string, ...) (*extensions.Ingress, error)
- func PersistentVolumeClaim(namespace, name, storage string) *v1.PersistentVolumeClaim
- func Pod(namespace, name string, annotations []*pb.Annotation, ...) (*v1.Pod, error)
- func Secret(namespace, name string, annotations []*pb.Annotation, ...) (*v1.Secret, error)
- func Service(namespace, name, retention string, annotations []*pb.Annotation) (*v1.Service, error)
Constants ¶
View Source
const ( // CacheComposer is an identifier for composer cache. CacheComposer = "cache-composer" // CacheYarn is an identifier for yarn cache. CacheYarn = "cache-yarn" )
View Source
const ( // SecretSSH is the identifier for storing the "id_rsa" and known_hosts file // secrets are stored. SecretSSH = "ssh" // SecretDockerCfg is the identifier for storing Docker configuration. SecretDockerCfg = "dockercfg" )
Variables ¶
This section is empty.
Functions ¶
func Ingress ¶
func Ingress(namespace, name string, annotations []*pb.Annotation, secret, retention string, domains []string) (*extensions.Ingress, error)
Ingress converts a Docker Compose file into a Kubernetes Ingress object.
func PersistentVolumeClaim ¶
func PersistentVolumeClaim(namespace, name, storage string) *v1.PersistentVolumeClaim
PersistentVolumeClaim is used for creating a new PersistentVolumeClaim object.
func Pod ¶
func Pod(namespace, name string, annotations []*pb.Annotation, repository, revision, retention string, services []*pb.ComposeService, promPort int32) (*v1.Pod, error)
Pod converts a Docker Compose file into a Kubernetes Deployment object.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.