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"` Labels map[string]interface{} `json:"labels"` Selector map[string]interface{} `json:"selector"` }
type AppInput ¶ added in v0.0.8
type AppInput 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"` Labels map[string]interface{} `json:"labels"` Selector map[string]interface{} `json:"selector"` }
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 Task ¶ added in v0.0.1
type Task struct { Name string `json:"name"` Namespace string `json:"namespace"` Image string `json:"image"` Args []string `json:"args"` Env map[string]interface{} `json:"env"` Schedule string `json:"schedule"` Completions *int `json:"completions"` Labels map[string]interface{} `json:"labels"` Selector map[string]interface{} `json:"selector"` }
type TaskInput ¶ added in v0.0.8
type TaskInput struct { Name string `json:"name"` Namespace string `json:"namespace"` Image string `json:"image"` Args []string `json:"args"` Env map[string]interface{} `json:"env"` Schedule string `json:"schedule"` Completions *int `json:"completions"` Labels map[string]interface{} `json:"labels"` Selector map[string]interface{} `json:"selector"` }
Click to show internal directories.
Click to hide internal directories.