rainbond: github.com/goodrain/rainbond/builder/parser/types Index | Files

package types

import "github.com/goodrain/rainbond/builder/parser/types"

Index

Package Files

types.go

type Env Uses

type Env struct {
    Name  string `json:"name"`
    Value string `json:"value"`
}

Env env desc

type Port Uses

type Port struct {
    ContainerPort int    `json:"container_port"`
    Protocol      string `json:"protocol"`
}

Port -

type Service Uses

type Service struct {
    ID        string          `json:"id"`
    Name      string          `json:"name"`  // module name
    Cname     string          `json:"cname"` // service cname
    Packaging string          `json:"packaging"`
    Envs      map[string]*Env `json:"envs,omitempty"`
    Ports     map[int]*Port   `json:"ports,omitempty"`
}

Service represents a module in a multi-module project.

type Volume Uses

type Volume struct {
    VolumePath string `json:"volume_path"`
    VolumeType string `json:"volume_type"`
}

Volume -

Package types is imported by 2 packages. Updated 2019-05-05. Refresh now. Tools for package owners.