Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Name string `json:"name"` Namespace string `json:"namespace"` Image string `json:"image"` Args []string `json:"args"` Env map[string]interface{} `json:"env"` Ports map[string]interface{} `json:"ports"` Replicas int `json:"replicas"` Networking *Networking `json:"networking"` Status *AppStatus `json:"status"` }
type AppConstructor ¶
type AppConstructor struct { Name string `json:"name"` Namespace string `json:"namespace"` Image string `json:"image"` Args []string `json:"args"` Env map[string]interface{} `json:"env"` Ports map[string]interface{} `json:"ports"` Replicas int `json:"replicas"` Networking *NetworkingInput `json:"networking"` }
type AppUpdate ¶
type AppUpdate struct { Name string `json:"name"` Namespace string `json:"namespace"` Image *string `json:"image"` Args []string `json:"args"` Env map[string]interface{} `json:"env"` Ports map[string]interface{} `json:"ports"` Replicas *int `json:"replicas"` Networking *NetworkingInput `json:"networking"` }
type HTTPRoute ¶ added in v0.0.7
type HTTPRoute struct { Name *string `json:"name"` Port *int `json:"port"` PathPrefix *string `json:"path_prefix"` RewriteURI *string `json:"rewrite_uri"` AllowOrigins []string `json:"allow_origins"` AllowMethods []string `json:"allow_methods"` AllowHeaders []string `json:"allow_headers"` ExposeHeaders []string `json:"expose_headers"` AllowCredentials *bool `json:"allow_credentials"` }
type HTTPRouteInput ¶ added in v0.0.7
type HTTPRouteInput struct { Name *string `json:"name"` Port *int `json:"port"` PathPrefix *string `json:"path_prefix"` RewriteURI *string `json:"rewrite_uri"` AllowOrigins []string `json:"allow_origins"` AllowMethods []string `json:"allow_methods"` AllowHeaders []string `json:"allow_headers"` ExposeHeaders []string `json:"expose_headers"` AllowCredentials *bool `json:"allow_credentials"` }
type Namespaces ¶
type Namespaces struct {
Namespaces []string `json:"namespaces"`
}
type Networking ¶ added in v0.0.6
type NetworkingInput ¶ added in v0.0.6
type NetworkingInput struct { Gateways []string `json:"gateways"` Hosts []string `json:"hosts"` Export *bool `json:"export"` HTTPRoutes []*HTTPRouteInput `json:"http_routes"` }
type TaskConstructor ¶ added in v0.0.1
Click to show internal directories.
Click to hide internal directories.