package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Mar 26, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Autoscale struct {
MinReplicas *int32 `json:"minReplicas,omitempty" form:"min"`
MaxReplicas *int32 `json:"maxReplicas,omitempty" form:"max"`
CPU *int32 `json:"cpu,omitempty" form:"cpu"`
Memory *int32 `json:"memory,omitempty" form:"memory"`
}
type Block struct {
Name string `json:"block_name"`
Content string `json:"content"`
}
type Flavor struct {
Name string `json:"name"`
Description string `json:"description"`
}
type InstanceAddress struct {
Hostname string `json:"hostname,omitempty"`
IP string `json:"ip,omitempty"`
}
type InstanceInfo struct {
Addresses []InstanceAddress `json:"addresses,omitempty"`
Replicas *int32 `json:"replicas,omitempty"`
Plan string `json:"plan,omitempty"`
Routes []Route `json:"routes,omitempty"`
Autoscale *Autoscale `json:"autoscale,omitempty"`
Binds []v1alpha1.Bind `json:"binds,omitempty"`
Team string `json:"team,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Tags []string `json:"tags,omitempty"`
}
type Plan struct {
Name string `json:"name"`
Description string `json:"description"`
Default bool `json:"default"`
}
type Route struct {
Path string `json:"path"`
Destination string `json:"destination,omitempty"`
HTTPSOnly bool `json:"https_only,omitempty"`
Content string `json:"content,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.