Documentation
¶
Index ¶
- func ContextPath() string
- func ProjectManifestPath() string
- type Bundle
- type ChartManifest
- type Context
- type Dependency
- type Globals
- type Manifest
- type Metadata
- type NetworkConfig
- type Owner
- type ProjectManifest
- type SMTP
- type SmtpService
- type TerraformManifest
- type VersionedContext
- type VersionedManifest
- type VersionedProjectManifest
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextPath ¶
func ContextPath() string
func ProjectManifestPath ¶
func ProjectManifestPath() string
Types ¶
type ChartManifest ¶
type Context ¶
type Context struct {
Buckets []string
Domains []string
Protect []string `yaml:"protect,omitempty" json:"protect,omitempty"`
SMTP *SMTP `yaml:"smtp,omitempty"`
Globals *Globals `yaml:"globals,omitempty" json:"globals,omitempty"`
Configuration map[string]map[string]interface{}
}
func FetchContext ¶
func NewContext ¶
func NewContext() *Context
func ReadContext ¶
func (*Context) MarshalJSON ¶
type Dependency ¶
type Dependency struct {
Repo string
}
type Manifest ¶
type Manifest struct {
Id string
Name string
Cluster string
Project string
Bucket string
Provider string
Region string
License string
Wait bool
Charts []*ChartManifest
Terraform []*TerraformManifest
Dependencies []*Dependency
Context map[string]interface{}
}
type NetworkConfig ¶
type ProjectManifest ¶
type ProjectManifest struct {
Cluster string
Bucket string
Project string
Provider string
Region string
Owner *Owner
Network *NetworkConfig
Checkpoint string `yaml:"checkpoint,omitempty"`
AvailabilityZones []string
BucketPrefix string `yaml:"bucketPrefix"`
Context map[string]interface{}
AppDomain string `yaml:"appDomain,omitempty"`
}
func FetchProject ¶
func FetchProject() (*ProjectManifest, error)
func ReadProject ¶
func ReadProject(path string) (man *ProjectManifest, err error)
func (*ProjectManifest) Configure ¶
func (pm *ProjectManifest) Configure(cloud bool, cluster string) Writer
func (*ProjectManifest) ConfigureNetwork ¶
func (pm *ProjectManifest) ConfigureNetwork() error
func (*ProjectManifest) Flush ¶
func (pm *ProjectManifest) Flush() error
func (*ProjectManifest) MarshalJSON ¶
func (pm *ProjectManifest) MarshalJSON() ([]byte, error)
func (*ProjectManifest) Write ¶
func (pm *ProjectManifest) Write(path string) error
type SMTP ¶
type SMTP struct {
Service string
Server string
Port int
Sender string
User string
Password string
}
func (*SMTP) Configuration ¶
type SmtpService ¶
type TerraformManifest ¶
type VersionedContext ¶
type VersionedManifest ¶
type VersionedProjectManifest ¶
type VersionedProjectManifest struct {
ApiVersion string `yaml:"apiVersion"`
Kind string
Metadata *Metadata
Spec *ProjectManifest
}
Click to show internal directories.
Click to hide internal directories.