return&httperror.HandlerError{http.StatusBadRequest,"Invalid endpoint group identifier route variable",err}
return&httperror.HandlerError{http.StatusBadRequest,"Invalid environment group identifier route variable",err}
}
ifendpointGroupID==1{
return&httperror.HandlerError{http.StatusForbidden,"Unable to remove the default 'Unassigned' group",errors.New("Cannot remove the default endpoint group")}
return&httperror.HandlerError{http.StatusForbidden,"Unable to remove the default 'Unassigned' group",errors.New("Cannot remove the default environment group")}
return&httperror.HandlerError{http.StatusNotFound,"Unable to find an endpoint group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusNotFound,"Unable to find an environment group with the specified identifier inside the database",err}
}elseiferr!=nil{
return&httperror.HandlerError{http.StatusInternalServerError,"Unable to find an endpoint group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusInternalServerError,"Unable to find an environment group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusNotFound,"Unable to find an endpoint group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusNotFound,"Unable to find an environment group with the specified identifier inside the database",err}
}elseiferr!=nil{
return&httperror.HandlerError{http.StatusInternalServerError,"Unable to find an endpoint group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusInternalServerError,"Unable to find an environment group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusNotFound,"Unable to find an endpoint group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusNotFound,"Unable to find an environment group with the specified identifier inside the database",err}
}elseiferr!=nil{
return&httperror.HandlerError{http.StatusInternalServerError,"Unable to find an endpoint group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusInternalServerError,"Unable to find an environment group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusNotFound,"Unable to find an endpoint group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusNotFound,"Unable to find an environment group with the specified identifier inside the database",err}
}elseiferr!=nil{
return&httperror.HandlerError{http.StatusInternalServerError,"Unable to find an endpoint group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusInternalServerError,"Unable to find an environment group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusNotFound,"Unable to find an endpoint group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusNotFound,"Unable to find an environment group with the specified identifier inside the database",err}
}elseiferr!=nil{
return&httperror.HandlerError{http.StatusInternalServerError,"Unable to find an endpoint group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusInternalServerError,"Unable to find an environment group with the specified identifier inside the database",err}
return&httperror.HandlerError{http.StatusServiceUnavailable,"Storidge extension not supported on this endpoint",errors.New("This extension is not supported")}
return&httperror.HandlerError{http.StatusServiceUnavailable,"Storidge extension not supported on this environment",errors.New("This extension is not supported")}
returnerrors.New("Invalid endpoint type value. Value must be one of: 1 (Docker environment), 2 (Agent environment), 3 (Azure environment), 4 (Edge Agent environment) or 5 (Local Kubernetes environment)")
returnerrors.New("Invalid environment type value. Value must be one of: 1 (Docker environment), 2 (Agent environment), 3 (Azure environment), 4 (Edge Agent environment) or 5 (Local Kubernetes environment)")
return&httperror.HandlerError{StatusCode:http.StatusNotFound,Message:"Unable to find an endpoint with the specified identifier inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusNotFound,Message:"Unable to find an environment with the specified identifier inside the database",Err:err}
}elseiferr!=nil{
return&httperror.HandlerError{StatusCode:http.StatusInternalServerError,Message:"Unable to find an endpoint with the specified identifier inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusInternalServerError,Message:"Unable to find an environment with the specified identifier inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusNotFound,Message:"Unable to find an endpoint with the specified identifier inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusNotFound,Message:"Unable to find an environment with the specified identifier inside the database",Err:err}
}elseiferr!=nil{
return&httperror.HandlerError{StatusCode:http.StatusInternalServerError,Message:"Unable to find an endpoint with the specified identifier inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusInternalServerError,Message:"Unable to find an environment with the specified identifier inside the database",Err:err}
log.Printf("background schedule error (endpoint snapshot). Endpoint not found inside the database anymore (endpoint=%s, URL=%s) (err=%s)\n",endpoint.Name,endpoint.URL,err)
log.Printf("background schedule error (environment snapshot). Environment not found inside the database anymore (endpoint=%s, URL=%s) (err=%s)\n",endpoint.Name,endpoint.URL,err)
return&httperror.HandlerError{StatusCode:http.StatusNotFound,Message:"Unable to find the endpoint associated to the stack inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusNotFound,Message:"Unable to find the environment associated to the stack inside the database",Err:err}
}elseiferr!=nil{
return&httperror.HandlerError{StatusCode:http.StatusInternalServerError,Message:"Unable to find the endpoint associated to the stack inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusInternalServerError,Message:"Unable to find the environment associated to the stack inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusNotFound,Message:"Unable to find the endpoint associated to the stack inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusNotFound,Message:"Unable to find the environment associated to the stack inside the database",Err:err}
}elseiferr!=nil{
return&httperror.HandlerError{StatusCode:http.StatusInternalServerError,Message:"Unable to find the endpoint associated to the stack inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusInternalServerError,Message:"Unable to find the environment associated to the stack inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusNotFound,Message:"Unable to find the endpoint associated to the stack inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusNotFound,Message:"Unable to find the environment associated to the stack inside the database",Err:err}
}elseiferr!=nil{
return&httperror.HandlerError{StatusCode:http.StatusInternalServerError,Message:"Unable to find the endpoint associated to the stack inside the database",Err:err}
return&httperror.HandlerError{StatusCode:http.StatusInternalServerError,Message:"Unable to find the environment associated to the stack inside the database",Err:err}
log.Printf("background schedule error (endpoint snapshot). Endpoint not found inside the database anymore (endpoint=%s, URL=%s) (err=%s)\n",endpoint.Name,endpoint.URL,err)
log.Printf("background schedule error (environment snapshot). Environment not found inside the database anymore (endpoint=%s, URL=%s) (err=%s)\n",endpoint.Name,endpoint.URL,err)
<p>Automatically associate environments via tags</p>
</label>
</div>
</div>
@ -49,9 +49,9 @@
<!-- StaticGroup -->
<divng-if="!$ctrl.model.Dynamic">
<divng-if="!$ctrl.noEndpoints">
<!-- endpoints -->
<!-- environments -->
<divclass="col-sm-12 form-section-title">
Associated endpoints
Associated environments
</div>
<divclass="form-group">
<associated-endpoints-selector
@ -65,7 +65,7 @@
</div>
</div>
<divclass="form-group"ng-if="$ctrl.noEndpoints">
<divclass="col-sm-12 small text-muted"> No Edge endpoints are available. Head over to the <aui-sref="portainer.endpoints">Endpoints view</a> to add endpoints. </div>
<divclass="col-sm-12 small text-muted"> No Edge environments are available. Head over to the <aui-sref="portainer.endpoints">Environments view</a> to add environments. </div>
<kubernetes-view-headertitle="Kubernetes features configuration"state="portainer.endpoints.endpoint.kubernetesConfig"view-ready="ctrl.state.viewReady">
<aui-sref="portainer.endpoints.endpoint.kubernetesConfig({id: $ctrl.endpoint.Id})">endpoint configuration view</a> to be able to register ingresses inside this
<aui-sref="portainer.endpoints.endpoint.kubernetesConfig({id: $ctrl.endpoint.Id})">environment configuration view</a> to be able to register ingresses inside this
<aui-sref="portainer.endpoints.endpoint.kubernetesConfig({id: ctrl.endpoint.Id})">endpoint configuration view</a> to be able to register ingresses inside
<aui-sref="portainer.endpoints.endpoint.kubernetesConfig({id: ctrl.endpoint.Id})">environment configuration view</a> to be able to register ingresses inside
this namespace.
</div>
</div>
Some files were not shown because too many files have changed in this diff
Show More