lastbackend / lastbackend Goto Github PK
View Code? Open in Web Editor NEWSystem for containerized apps management. From build to scaling.
Home Page: https://lastbackend.com
License: Apache License 2.0
System for containerized apps management. From build to scaling.
Home Page: https://lastbackend.com
License: Apache License 2.0
I'm new at go, but trying to do sth.
I've installed latest go 1.8.3 and it works, but which next requisites do you mean?
Could you provide at least link so i can find them?
Is go etcd client for v3, this: https://github.com/coreos/etcd/tree/master/clientv3 ?
And what about go docker?
I tried to install go etcd client for v3 but got this error:
work/src/github.com/coreos/etcd/clientv3/client.go:236: dialer.DialContext undefined (type *net.Dialer has no field or method DialContext)
and made it this far.
At this point you have this, which does not provide sufficient information for a noob like me:
1.1.1. Prerequisites
Go 1.7 or higher
Go docker client v17.03
Go etcd client for v3
LICENSE.md says that project is under Apache License 2.0.
But in files we have:
Lines 2 to 17 in 941af64
Please choose under what type of license this project is.
A User should be able to execute command deploy password recovery
in a terminal.
It should send a user an email with the token you need to use to change a password.
Available flags:
To make a password recovery, CLI should create an HTTP request:
You can receive:
json {"status":"ok"}
json {"error":"credential format invalid"}
json {"error":"user not found"}
Note: You can use email instead of username in password recovery.
Hi, guys, I've visited your site recently and noticed a couple of typos/mistakes.
Just threw a quick glance.
Should update user data into kubernetes
func (c *users) Create(user *du.User) (result *du.User, err error) {
result = &du.User{}
err = c.Put().Resource("users").Name(user.Username).Body(user).Do().Into(result)
return
}
type User struct {
ku.TypeMeta
k.ObjectMeta
Username string
Email string
Pass string
Salt string
Created time
Updated time
Identities []string
}
I cloned the repo and followed the instructions. They don't work as there's no makefile in cmd/daemon
Latest from git
A User should be able to execute command deploy password change
in a terminal.
It should change user's password in deploy it system
Available flags:
To make an authentication, CLI should create an HTTP request:
Request:
You can receive:
json {"token":"access token"}
json {"error":"validation error", "description":"validation description"}
Note: password should be at least 8 chars of length.
Nothing happen after executing vagrant up
[$ deploy version
]
lastbackend
command.netstat results:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 2025/hyperkube
tcp 0 0 127.0.0.1:7001 0.0.0.0:* LISTEN 788/etcd2
tcp 0 0 127.0.0.1:4001 0.0.0.0:* LISTEN 788/etcd2
tcp 0 0 127.0.0.1:10248 0.0.0.0:* LISTEN 797/kubelet
tcp 0 0 127.0.0.1:10249 0.0.0.0:* LISTEN 2098/hyperkube
tcp 0 0 127.0.0.1:2379 0.0.0.0:* LISTEN 788/etcd2
tcp 0 0 127.0.0.1:2380 0.0.0.0:* LISTEN 788/etcd2
tcp6 0 0 :::10255 :::* LISTEN 797/kubelet
tcp6 0 0 :::22 :::* LISTEN 1/systemd
tcp6 0 0 :::443 :::* LISTEN 2025/hyperkube
tcp6 0 0 :::4194 :::* LISTEN 797/kubelet
tcp6 0 0 :::10250 :::* LISTEN 797/kubelet
tcp6 0 0 :::10251 :::* LISTEN 1973/hyperkube
tcp6 0 0 :::10252 :::* LISTEN 2074/hyperkube
udp 0 0 0.0.0.0:8472 0.0.0.0:* -
udp 0 0 0.0.0.0:935 0.0.0.0:* -
udp 0 0 10.0.2.15:68 0.0.0.0:* 1432/systemd-networ
udp6 0 0 fe80::582c:2fff:fe9:546 :::* 1432/systemd-networ
udp6 0 0 fe80::a00:27ff:fece:546 :::* 1432/systemd-networ
any help, please!
Thank you.
We should have a mock database, based on storage interface for implement tests automation
0.1.0
I would like to add a special section with active contributors on main website.
In about page in a team section.
User interaction method from cli to deployit platform
contains these issues:
Signin method
Signup method
Password recovery method
Password change method
Core issues
We need to add ability to select particular node for deploy on create service page.
0.9.9
I was looking at running the self hosted version of this, but there doesn't appear to be the ansible installation instructions. Are these not completed yet or just missing?
[$ lb version
]
I can't install LastBackend.
Latest, unsure what version.
root@frozola:~# go get github.com/lastbackend/lastbackend
package github.com/lastbackend/lastbackend: no buildable Go source files in /root/work/src/github.com/lastbackend/lastbackend
There's a little type here. I assume you mean experience.
A User should be able to execute command deploy signin
in a terminal.
It should authenticate a user in deploy it system with [username|email] and password.
Available flags:
To make an authentication, CLI should create an HTTP request:
You can receive:
json {"token":"access token"}
json {"error":"authentication invalid"}
Note: You can use email instead of username in authentication.
It appears like the IRC is currently not actively used. I believe the developers should either be active on it for us to discuss the project with them.
Should get user from storage and validate is password
func (c *users) Validate(username, password string) (result *du.User, err error) {
result = &du.User{}
err = c.Get().Resource("users").Name(name).Do().Into(result)
// Provide password validation
return
}
type User struct {
ku.TypeMeta
k.ObjectMeta
Username string
Email string
Pass string
Salt string
Created time
Updated time
Identities []string
}
Should return list of users from kubernetes
func (c *users) List(opts k.ListOptions) (result *du.UserList, err error) {
result = &du.UserList{}
err = client.Get().
Resource("users").
VersionedParams(&opts, k.ParameterCodec).
Do().
Into(result)
return
}
type UserList struct {
ku.TypeMeta `json:",inline"`
ku.ListMeta `json:"metadata,omitempty"`
Items []User `json:"items"`
}
Should return user from kubernetes by username
func (c *users) Get(username string) (result *du.User, err error) {
result = &du.User{}
err = client.Get().
Resource("users").
Name(username).
Do().
Into(result)
return
}
type User struct {
ku.TypeMeta
k.ObjectMeta
Username string
Email string
Pass string
Salt string
Created time
Updated time
Identities []string
}
Should create user and stop it into kubernetes
func (c *users) Create(user *du.User) (result *du.User, err error) {
result = &du.User{}
err = c.Post().Resource("users").Body(user).Do().Into(result)
return
}
type User struct {
ku.TypeMeta
k.ObjectMeta
Username string
Email string
Pass string
Salt string
Created time
Updated time
Identities []string
}
I tried to create an account, but signup process failed when your frontend https://app.lastbackend.com/signup call your backend https://api.lastbackend.com/account.
Firefox report a Cross-Origin Request that failed.
Steps to reproduce the behavior:
Describe the bug
I just signed up and went to the public templates section.
There is only one template shown (see screenshot).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I was expecting a lot more, e.g. Wordpress, MongoDB, Bootstrap, PostgreSQL, Etherpad, Apache, CouchDB, SearX, wallabag and many more.
Infrastructure (please complete the following information):
Not sure if it's integrated already but it would be great if lastbackend also provides a quick way to setup highly available datastores (mongo, redis, postgres, rabbitmq...). A system like flynn.io has would work.
It's essential for our apps to save data to a persistent store, and this store must be highly available. The system I am hoping for is one with automatic high availability (maybe 1 sync slave, 1 async slave), monitoring and automatic reprovisioning (when a node is permanently down, append a new slave), data security and eventually sharding.
The cloud section of the site does not indicate how CPU usage scales. This would be a great addition. Independent CPU/RAM allocation may be cool as well.
We need to unify log messages format.
const logLevel = 5
const msg = "package/module/function:"
log.V(logLevel).Debugf("%s> log message", msg)
0.1.0-beta2
Describe the bug
When user presses link "Talk to us" down below, the website returns to start page, which doesn't look like correct behavior to me.
To Reproduce
Steps to reproduce the behavior:
Should connect to kubernetes and watch user changes in realtime
func (c *users) Watch(opts k.ListOptions) (watch.Interface, error) {
return c.Get().
Prefix("watch").
Resource("users").
VersionedParams(&opts, k.ParameterCodec).
Watch()
}
type User struct {
ku.TypeMeta
k.ObjectMeta
Username string
Email string
Pass string
Salt string
Created time
Updated time
Identities []string
}
I have not yet had the opportunity to test things yet but is internal (inner cluster) communication properly separated (in a way packets can't be man in the middled)?
User package can do:
User object is an kubernetes resource.
All users are stored in deployit system kubernetes namespace. But particular user information is stored in user personal namespace in resource user.
User resource contains:
Note:
After major changes, we need to update our doc with actual info.
Need to create articles about
v0.9.0
A User should be able to execute command deploy signup
in a terminal.
It should create a user in deploy it system.
After executing this command CLI should ask for more information:
After entering email, deployit should check it for unique:
Request:
Response:
json {"status":"ok"}
json {"error":"not unique"}
After entering username, deployit should check it for unique.
Request:
Response:
json {"status":"ok"}
json {"error":"not unique"}
After all validations, to make an user singup, CLI should create an HTTP request:
Request:
Response:
json {"token":"access token"}
json {"error":"authentication invalid"}
Note: You can use email instead of username in authentication.
Create a vagrant file based on virtualbox:
0.9.0
As far as I remember, K8s supports secrets storage, but your competition analysis suggests otherwise.
If I'm mistaken and that's not about "secrets" in the way k8s understands it, you should probably make some clarification.
{"level":"error","msg":"Task [9ff54b16-7d9e-4e84-a844-894e4bef057d]: container create error Error: No such image: library/nginx:latest","time":"2017-08-15 18:10:12"}
{"level":"error","msg":"Task [2b32d226-d29b-45f3-aa7f-806784f4aa9b]: container create error Error: No such image: library/nginx:latest","time":"2017-08-15 18:10:12"}
{"level":"error","msg":"Task [90d8a2fd-b773-4766-b6f5-a8a35adf051b]: container create error Error: No such image: library/nginx:latest","time":"2017-08-15 18:10:12"}
{"level":"error","msg":"Task [33634bea-e048-4606-9bad-e2e659c6fcc2]: container create error Error: No such image: library/nginx:latest","time":"2017-08-15 18:10:12"}
{"level":"error","msg":"Task [6fe49967-864c-45dd-bf52-1c3e005dd389]: container create error Error: No such image: library/nginx:latest","time":"2017-08-15 18:10:12"}
fatal error: concurrent map read and map write
goroutine 90 [running]:
runtime.throw(0xbaf327, 0x21)
/usr/local/go/src/runtime/panic.go:596 +0x95 fp=0xc42088e840 sp=0xc42088e820
runtime.mapaccess2_faststr(0xac2c00, 0xc420434f60, 0xc420952900, 0x1c, 0x1, 0x1)
/usr/local/go/src/runtime/hashmap_fast.go:326 +0x50a fp=0xc42088e8a0 sp=0xc42088e840
Hey,
i have discovered in the sub pacakge (libs/errors/errors.go) several custom http status texte.
The Golang std lib has all standard http status texte in "net/http/status.go" and helper functions.
Can i replace all unnecessary custom status texte with std status texte and refactor the unique texte ?
Best regards,
Marcel
While running vagrant up, i have this strange error message:
==> default: Step 9 : ADD ../.. /go/src/github.com/lastbackend/lastbackend
==> default: Forbidden path outside the build context: ../.. ()
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
[$ deploy version
]
any idea what went wrong ?
Should delete user from kubernetes storage
func (c *users) Delete(username string) (err error) {
return c.Delete().Resource("users").Name(username).Do().Error()
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.