Documentation ¶
Index ¶
- func GetComponentStateFromSpec(kubeClient kubernetes.Interface, appName string, ...) (*deploymentModels.Component, error)
- func GetComponents(accounts models.Accounts, w http.ResponseWriter, r *http.Request)
- func GetDeployment(accounts models.Accounts, w http.ResponseWriter, r *http.Request)
- func GetDeployments(accounts models.Accounts, w http.ResponseWriter, r *http.Request)
- func GetPodLog(accounts models.Accounts, w http.ResponseWriter, r *http.Request)
- func NewDeploymentController() models.Controller
- type DeployHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetComponentStateFromSpec ¶
func GetComponentStateFromSpec( kubeClient kubernetes.Interface, appName string, deployment *deploymentModels.DeploymentSummary, deploymentStatus v1.RadixDeployStatus, environmentConfig *v1.RadixEnvironmentConfig, component v1.RadixCommonDeployComponent) (*deploymentModels.Component, error)
GetComponentStateFromSpec Returns a component with the current state
func GetComponents ¶
GetComponents for a deployment
func GetDeployment ¶
GetDeployment Get deployment details
func GetDeployments ¶
GetDeployments Lists deployments
func NewDeploymentController ¶
func NewDeploymentController() models.Controller
NewDeploymentController Constructor
Types ¶
type DeployHandler ¶
type DeployHandler interface { GetLogs(appName, podName string, sinceTime *time.Time) (string, error) GetDeploymentWithName(appName, deploymentName string) (*deploymentModels.Deployment, error) GetDeploymentsForApplicationEnvironment(appName, environment string, latest bool) ([]*deploymentModels.DeploymentSummary, error) GetComponentsForDeploymentName(appName, deploymentID string) ([]*deploymentModels.Component, error) GetComponentsForDeployment(appName string, deployment *deploymentModels.DeploymentSummary) ([]*deploymentModels.Component, error) GetLatestDeploymentForApplicationEnvironment(appName, environment string) (*deploymentModels.DeploymentSummary, error) GetDeploymentsForJob(appName, jobName string) ([]*deploymentModels.DeploymentSummary, error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.