// Deploy deploys app based on app description
Deploy deploys app based on app description
// Deploy deploys app based on app description
func (m *AppManager) Deploy() (*appsv1.Deployment, error) {
	deploymentsClient := m.client.Deployments(m.namespace)
	obj := buildDeploymentObject(m.namespace, m.app)
	result, err := deploymentsClient.Create(obj)
	if err != nil {
		return nil, err
	}
	return result, nil
}
func ( m * AppManager ) Deploy ( ) ( * appsv1 . Deployment , error ) { deploymentsClient := m . client . Deployments ( m . namespace ) obj := buildDeploymentObject ( m . namespace , m . app ) result , err := deploymentsClient . Create ( obj ) if err != nil { return nil , err } return result , nil }
Deploy deploys app based on app description
Deploy deploys app based on app description