Documentation ¶
Index ¶
- func GetComponentStateFromSpec(client 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
- func (deploy DeployHandler) GetComponentsForDeployment(appName string, deployment *deploymentModels.DeploymentSummary) ([]*deploymentModels.Component, error)
- func (deploy DeployHandler) GetComponentsForDeploymentName(appName, deploymentID string) ([]*deploymentModels.Component, error)
- func (deploy DeployHandler) GetDeploymentWithName(appName, deploymentName string) (*deploymentModels.Deployment, error)
- func (deploy DeployHandler) GetDeploymentsForApplication(appName string, latest bool) ([]*deploymentModels.DeploymentSummary, error)
- func (deploy DeployHandler) GetDeploymentsForApplicationEnvironment(appName, environment string, latest bool) ([]*deploymentModels.DeploymentSummary, error)
- func (deploy DeployHandler) GetDeploymentsForJob(appName, jobName string) ([]*deploymentModels.DeploymentSummary, error)
- func (deploy DeployHandler) GetLatestDeploymentForApplicationEnvironment(appName, environment string) (*deploymentModels.DeploymentSummary, error)
- func (deploy DeployHandler) GetLogs(appName, podName string, sinceTime *time.Time) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetComponentStateFromSpec ¶
func GetComponentStateFromSpec( client 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 struct {
// contains filtered or unexported fields
}
DeployHandler Instance variables
func (DeployHandler) GetComponentsForDeployment ¶
func (deploy DeployHandler) GetComponentsForDeployment(appName string, deployment *deploymentModels.DeploymentSummary) ([]*deploymentModels.Component, error)
GetComponentsForDeployment Gets a list of components for a given deployment
func (DeployHandler) GetComponentsForDeploymentName ¶
func (deploy DeployHandler) GetComponentsForDeploymentName(appName, deploymentID string) ([]*deploymentModels.Component, error)
GetComponentsForDeploymentName handler for GetDeployments
func (DeployHandler) GetDeploymentWithName ¶
func (deploy DeployHandler) GetDeploymentWithName(appName, deploymentName string) (*deploymentModels.Deployment, error)
GetDeploymentWithName Handler for GetDeploymentWithName
func (DeployHandler) GetDeploymentsForApplication ¶
func (deploy DeployHandler) GetDeploymentsForApplication(appName string, latest bool) ([]*deploymentModels.DeploymentSummary, error)
GetDeploymentsForApplication Lists deployments across environments
func (DeployHandler) GetDeploymentsForApplicationEnvironment ¶
func (deploy DeployHandler) GetDeploymentsForApplicationEnvironment(appName, environment string, latest bool) ([]*deploymentModels.DeploymentSummary, error)
GetDeploymentsForApplicationEnvironment Lists deployments inside environment
func (DeployHandler) GetDeploymentsForJob ¶
func (deploy DeployHandler) GetDeploymentsForJob(appName, jobName string) ([]*deploymentModels.DeploymentSummary, error)
GetDeploymentsForJob Lists deployments for job name
func (DeployHandler) GetLatestDeploymentForApplicationEnvironment ¶
func (deploy DeployHandler) GetLatestDeploymentForApplicationEnvironment(appName, environment string) (*deploymentModels.DeploymentSummary, error)
GetLatestDeploymentForApplicationEnvironment Gets latest, active, deployment in environment