mirror of
https://gerrit.hackerspace.pl/hscloud
synced 2025-03-21 07:44:53 +00:00
go/svc/leasifier, proto/hswaw -> hswaw/
Continued from https://gerrit.hackerspace.pl/c/hscloud/+/73 . Change-Id: Ie761c2af588e06739de94fa1eff4f715d1f9b145
This commit is contained in:
parent
cea71e3be8
commit
2da126caff
7 changed files with 15 additions and 9 deletions
4
hswaw/README.md
Normal file
4
hswaw/README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
hscloud/hswaw
|
||||
=============
|
||||
|
||||
Services and systems related to the Warsaw Hackerspace (ie. the physical place, not its cloud/ISP infrastructure).
|
|
@ -6,12 +6,12 @@ go_library(
|
|||
"main.go",
|
||||
"statusz.go",
|
||||
],
|
||||
importpath = "code.hackerspace.pl/hscloud/go/svc/leasifier",
|
||||
importpath = "code.hackerspace.pl/hscloud/hswaw/leasifier",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//go/mirko:go_default_library",
|
||||
"//go/statusz:go_default_library",
|
||||
"//proto/hswaw:go_default_library",
|
||||
"//hswaw/proto:go_default_library",
|
||||
"@com_github_golang_glog//:go_default_library",
|
||||
],
|
||||
)
|
1
hswaw/leasifier/README.md
Normal file
1
hswaw/leasifier/README.md
Normal file
|
@ -0,0 +1 @@
|
|||
Leasifier, a checkinator backend service.
|
|
@ -15,7 +15,7 @@ import (
|
|||
"github.com/golang/glog"
|
||||
|
||||
mirko "code.hackerspace.pl/hscloud/go/mirko"
|
||||
hpb "code.hackerspace.pl/hscloud/proto/hswaw"
|
||||
hpb "code.hackerspace.pl/hscloud/hswaw/proto"
|
||||
)
|
||||
|
||||
type lease struct {
|
|
@ -2,22 +2,22 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|||
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
||||
|
||||
proto_library(
|
||||
name = "hswaw_proto",
|
||||
name = "proto_proto",
|
||||
srcs = ["checkinator.proto"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
go_proto_library(
|
||||
name = "hswaw_go_proto",
|
||||
name = "proto_go_proto",
|
||||
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
|
||||
importpath = "code.hackerspace.pl/hscloud/proto/hswaw",
|
||||
proto = ":hswaw_proto",
|
||||
importpath = "code.hackerspace.pl/hscloud/hswaw/proto",
|
||||
proto = ":proto_proto",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
embed = [":hswaw_go_proto"],
|
||||
importpath = "code.hackerspace.pl/hscloud/proto/hswaw",
|
||||
embed = [":proto_go_proto"],
|
||||
importpath = "code.hackerspace.pl/hscloud/hswaw/proto",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
|
@ -1,5 +1,6 @@
|
|||
syntax = "proto3";
|
||||
package hswaw;
|
||||
option go_package = "code.hackerspace.pl/hscloud/hswaw/proto";
|
||||
|
||||
message LeasifierLeasesRequest {
|
||||
};
|
Loading…
Add table
Reference in a new issue