Proto commits in tinkerbell/tink

These 83 commits are when the Protocol Buffers files have changed:

Commit:d857726
Author:Chris Doherty
Committer:Chris Doherty

Add agent transport Signed-off-by: Chris Doherty <chris.doherty4@gmail.com>

The documentation is generated from this commit.

Commit:80358d3
Author:Chris Doherty
Committer:Chris Doherty

Cleanup controller gen and proto gen Controller gen has an opinionated directory structure that doesn't typically compliment Go guidelines on project structure. This change tidies controller sources used for code gen to better align with Go project structure best practice. Additionally, the proto files that are generated and only used internally have been moved to `internal`. Signed-off-by: Chris Doherty <chris.doherty4@gmail.com>

Commit:8446590
Author:Chris Doherty
Committer:Chris Doherty

Remove deprecated and unused gRPC APIs Signed-off-by: Chris Doherty <chris.doherty4@gmail.com>

Commit:5ed656b
Author:Marques Johansson
Committer:Marques Johansson

add vendordata to packet.proto Signed-off-by: Marques Johansson <mjohansson@equinix.com>

Commit:9f73ef7
Author:Nahum Shalman

Correct spelling found by codespell Signed-off-by: Nahum Shalman <nshalman@equinix.com>

Commit:275419e
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

delete events code Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>

Commit:f6aa393
Author:thebsdbox

beginings of pid support

Commit:a5e4bdd
Author:Gianluca Arbezzano
Committer:Gianluca Arbezzano

Fix typos Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>

Commit:245ede8
Author:Gianluca Arbezzano
Committer:Gianluca Arbezzano

Started the effort to document all our grpc api Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>

Commit:fafe3bf
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

review fixes Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>

Commit:3208686
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

added events.proto Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>

Commit:c3538e6
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

rename hardware.Watch to hardware.DeprecatedWatch Signed-off-by: Gaurav Gahlot <gauravgahlot0107@gmail.com>

Commit:df9951b
Author:Kelly Deng
Committer:Kelly Deng

fix operating_system_version/operating_system mismatch Signed-off-by: Kelly Deng <kelly@packet.com>

Commit:62f2549
Author:Kelly Deng
Committer:Kelly Deng

allow only one of either id or name to be set within template.GetRequest Signed-off-by: Kelly Deng <kelly@packet.com>

Commit:c186f90
Author:Kelly Deng
Committer:Kelly Deng

add filtering to ListTemplates Signed-off-by: Kelly Deng <kelly@packet.com>

Commit:b682453
Author:Manuel Mendez
Committer:Manuel Mendez

Use protodep to manage protobuf dependencies Signed-off-by: Manuel Mendez <manny@packet.com>

Commit:89f6398
Author:Manuel Mendez
Committer:Manuel Mendez

Fix protoc-gen-go warning about go_package value protoc-gen-go was throwing a warning: > Generating protos/workflow/workflow.pb.go... > 2020/10/19 16:57:11 WARNING: Deprecated use of 'go_package' option without a full import path in "workflow/workflow.proto", please specify: > option go_package = "workflow"; > A future release of protoc-gen-go will require the import path be specified. > See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information. Signed-off-by: Manuel Mendez <manny@packet.com>

Commit:d095044
Author:Manuel Mendez
Committer:Manuel Mendez

Rename Template -> TemplateService to match Google Style Guide Signed-off-by: Manuel Mendez <manny@packet.com>

Commit:cff5ef2
Author:Manuel Mendez
Committer:Manuel Mendez

Rename WorkflowSvc -> WorkflowService to match Google Style Guide Signed-off-by: Manuel Mendez <manny@packet.com>

Commit:08dd2a2
Author:Manuel Mendez
Committer:Manuel Mendez

Drop ActionState enum It was mostly a 1:1 of enum State anyway. Signed-off-by: Manuel Mendez <manny@packet.com>

Commit:72c1c6c
Author:Manuel Mendez
Committer:Manuel Mendez

Fix protobuf enums to match Google Style Guide Signed-off-by: Manuel Mendez <manny@packet.com>

Commit:6a36c85
Author:Manuel Mendez
Committer:Manuel Mendez

Fix protobuf field names to match Google Style Guide Signed-off-by: Manuel Mendez <manny@packet.com>

Commit:8a98a48
Author:Manuel Mendez
Committer:Manuel Mendez

Reindent proto files to match Google Style Guide https://developers.google.com/protocol-buffers/docs/style Signed-off-by: Manuel Mendez <manny@packet.com>

Commit:92f19d4
Author:Marques Johansson
Committer:Marques Johansson

add hardware service documentation in .proto files Signed-off-by: Marques Johansson <marques@packet.com>

Commit:b8a12cd
Author:Gaurav Gahlot

updated workflow proto file Signed-off-by: Gaurav Gahlot <gaurav.gahlot19@gmail.com>

Commit:ec40f7f
Author:parauliya
Committer:parauliya

Fixed the issue #222 as well in this PR Following things are fixed: 1. Modified the filter from the server side while sending the workflow context 2. Added a gRPC stream for getting the workflow context 3. Continue the loop for worker even after completing the workflow

Commit:dd6d5ea
Author:Kelly Deng

removed metadata message from hardware proto; replaced obsolete fields with reserved; fixups

Commit:933d905
Author:Kelly Deng
Committer:Kelly Deng

added hardware delete handler; updated DeleteRequest ID field to match protobuf conventions

Commit:4f9b169
Author:Kelly Deng
Committer:Kelly Deng

added proto for packet metadata

Commit:ce900df
Author:Kelly Deng
Committer:Kelly Deng

changed metadata to be type string; added helper methods to handle metadata

Commit:7f09fbc
Author:Kelly Deng
Committer:Kelly Deng

update hardware proto

Commit:a2944c1
Author:Kelly Deng
Committer:Kelly Deng

updated hardware proto field names

Commit:ec14f11
Author:Kelly Deng
Committer:Kelly Deng

added hardware version, updated docker-compose.yml

Commit:b54b1d8
Author:Kelly Deng
Committer:Kelly Deng

fixup hardware & template protos

Commit:a602855
Author:Kelly Deng
Committer:Kelly Deng

updated storage filesystem struct

Commit:1a0b67e
Author:Kelly Deng
Committer:Kelly Deng

filled out hardware storage struct

Commit:377f95b
Author:Kelly Deng
Committer:Kelly Deng

removed hardware network.default

Commit:a2d8201
Author:Kelly Deng
Committer:Kelly Deng

changed bymac and byip to use post

Commit:ba5f9ef
Author:Kelly Deng
Committer:Kelly Deng

updated post endpoints to match get endpoints; fixup

Commit:960739c
Author:Kelly Deng
Committer:Kelly Deng

added hardware & workflow endpoints

Commit:c6388e5
Author:Kelly Deng
Committer:Kelly Deng

update dhcp ip

Commit:0b144c1
Author:Kelly Deng
Committer:Kelly Deng

readded bootstrapper struct

Commit:6fa5a8f
Author:Kelly Deng
Committer:Kelly Deng

updated netboot struct

Commit:02957ab
Author:Kelly Deng
Committer:Kelly Deng

removed ingest method from hardware

Commit:892a4ee
Author:Kelly
Committer:Kelly Deng

added endpoints for crud operations

Commit:7337c30
Author:Kelly Deng
Committer:Kelly Deng

changed hardware push request data to be type *Hardware

Commit:dd81468
Author:Kelly
Committer:Kelly Deng

update hardware struct

Commit:d5a8065
Author:Kelly
Committer:Kelly Deng

changed template data to be type string instead of bytes

Commit:b0ce777
Author:parauliya
Committer:parauliya

Added 'delete' command in 'tink hardware' cli

Commit:bb10df1
Author:Gaurav Gahlot

updated protofiles Signed-off-by: Gaurav Gahlot <gaurav.gahlot19@gmail.com>

Commit:d9d6b63
Author:parauliya
Committer:Gaurav Gahlot

Fix issue #114: Remove the target reference from code

Commit:c2b0989
Author:parauliya
Committer:GitHub

Merge hardware and target. (#88) * Merged hardware and target. Now while creating a workflow you can directly provide hardware/devices mac addr. And now there is no need of targets. * using hello-world as the first example Signed-off-by: Gaurav Gahlot <gaurav.gahlot19@gmail.com> * fixes Signed-off-by: Gaurav Gahlot <gaurav.gahlot19@gmail.com> * moved comments out of data JSON Signed-off-by: Gaurav Gahlot <gaurav.gahlot19@gmail.com> * Changed the way of writing template and creating workflow * Updating the docs with current implementation * Incorporated some minor review comments Co-authored-by: Gaurav Gahlot <gaurav.gahlot19@gmail.com>

Commit:730ae21
Author:Nathan Goulding
Committer:Manuel Mendez

update protos

Commit:adfd083
Author:Nathan Goulding
Committer:Manuel Mendez

update protos

Commit:9fa8972
Author:Nathan Goulding
Committer:Manuel Mendez

fix protos and go.mod

Commit:3fcd28d
Author:Nathan Goulding
Committer:Manuel Mendez

rename package

Commit:eb7b179
Author:parauliya

Changes everything from rover to tinkerbell

Commit:3d84f01
Author:Gaurav Gahlot
Committer:parauliya

Removed vendored dependencies. Switching from 'dep' to 'go-modules' and therefore venodored dependencies are not required anymore.

Commit:dccdaca
Author:Gaurav Gahlot
Committer:parauliya

An action now supports volumes and environment variables A user can now mount volumes in a workflow action. An action also accept environment variables as required.

Commit:31b5a61
Author:parauliya
Committer:parauliya

Couple of Fixes in worker and addition of logrus as logger - There are few change related to gofmt and golint as well - Few changes regarding the on-failure and on-timeout commands

Commit:7953c96
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

changes to get latest workflow data version number

Commit:19fb263
Author:Gaurav Gahlot

changes latest workflow data version number

Commit:ad6b3d6
Author:Gaurav Gahlot

few fixes and changes to get workflow metadata

Commit:1639339
Author:Gaurav Gahlot

CLI to get workflow data

Commit:c7d879e
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

saving workflow data details as metadata

Commit:e912388
Author:parauliya
Committer:Gaurav Gahlot

Added tracing of modification in ephemeral data

Commit:f90bfae
Author:parauliya

Added tracing of modification in ephemeral data

Commit:c53beca
Author:Gaurav Gahlot

changes in proto for workflow data

Commit:9bae780
Author:parauliya

Merged rover.proto into workflow.proto

Commit:9a646b3
Author:parauliya

Add cacher server part in rover

Commit:c59a333
Author:parauliya
Committer:parauliya

Added importing structure across proto files Currently we have couple of protos common between workflow and rover merged them also added importing support across all proto files.

Commit:b658edc
Author:parauliya

Added support for ContainerWait and some other stuff 1. Changes in workflow_event table. ( worker_id is added ) 2. Implemented the tracking of container logs in parallel 3. Change in WorkflowActionStatus message ( added worker_id )

Commit:821f6d7
Author:parauliya

Added "rover workflow events" CLI This cli will show the events generated by workers for a particular workflow. Also removed the "state" column from "workflow" table as it was of no use.

Commit:6482276
Author:parauliya

Added "rover workflow state" cli

Commit:b103eb2
Author:parauliya
Committer:Gaurav Gahlot

Added code for update workflow_state and workflow_event table in db The above table will be updated when the ReportActionStatus endpoint of rover server will be called The ReportActionStatus endpoint is called to update the status of a particular action from worker node

Commit:956425b
Author:parauliya

Added code for update workflow_state and workflow_event table in db The above table will be updated when the ReportActionStatus endpoint of rover server will be called The ReportActionStatus endpoint is called to update the status of a particular action from worker node

Commit:1db9150
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

workflow executor and worker

Commit:be2547a
Author:Gaurav Gahlot

updated dependencies

Commit:ef31a5f
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

rover workflow

Commit:dd6f7a6
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

rover target

Commit:d3cbd07
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

rover template

Commit:83324e1
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

gRPC server, client and CLI

Commit:88d24ea
Author:Gaurav Gahlot
Committer:Gaurav Gahlot

vendored dependencies