Skip to content

Commit

Permalink
Added GateNode message (#296)
Browse files Browse the repository at this point in the history
* added GateNode message

Signed-off-by: Daniel Rammer <[email protected]>

* added signal service

Signed-off-by: Daniel Rammer <[email protected]>

* fleshed out Signal service

Signed-off-by: Daniel Rammer <[email protected]>

* updated signal service with a GetOrCreateSignal and SetSignal API

Signed-off-by: Daniel Rammer <[email protected]>

* updated signal service api to use GetOrCreate semantics

Signed-off-by: Daniel Rammer <[email protected]>

* added the ListSignals API

Signed-off-by: Daniel Rammer <[email protected]>

* fixed SignalListResponse proto name

Signed-off-by: Daniel Rammer <[email protected]>

* set HTTP API parameters

Signed-off-by: Daniel Rammer <[email protected]>

* generated protos

Signed-off-by: Daniel Rammer <[email protected]>

* documented GateNode

Signed-off-by: Daniel Rammer <[email protected]>

* updated signal list API

Signed-off-by: Daniel Rammer <[email protected]>

* filled out signal list api

Signed-off-by: Daniel Rammer <[email protected]>

* addressing pr comments on docs

Signed-off-by: Daniel Rammer <[email protected]>

* added an output variable name to the signal condition

Signed-off-by: Daniel Rammer <[email protected]>

* reworded signal condition docs

Signed-off-by: Daniel Rammer <[email protected]>

* added ApproveCondition to GateNode

Signed-off-by: Daniel Rammer <[email protected]>

* removed authOpt

Signed-off-by: Daniel Rammer <[email protected]>

* fixed types

Signed-off-by: Daniel Rammer <[email protected]>

* updated doc_gen_deps to fix docs generation

Signed-off-by: Daniel Rammer <[email protected]>

Signed-off-by: Daniel Rammer <[email protected]>
  • Loading branch information
hamersaw authored Oct 25, 2022
1 parent 3f7b640 commit de2e90d
Show file tree
Hide file tree
Showing 64 changed files with 31,871 additions and 574 deletions.
6 changes: 6 additions & 0 deletions flyteidl/clients/go/admin/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type Clientset struct {
healthServiceClient grpc_health_v1.HealthClient
identityServiceClient service.IdentityServiceClient
dataProxyServiceClient service.DataProxyServiceClient
signalServiceClient service.SignalServiceClient
}

// AdminClient retrieves the AdminServiceClient
Expand All @@ -54,6 +55,10 @@ func (c Clientset) DataProxyClient() service.DataProxyServiceClient {
return c.dataProxyServiceClient
}

func (c Clientset) SignalServiceClient() service.SignalServiceClient {
return c.signalServiceClient
}

func NewAdminClient(ctx context.Context, conn *grpc.ClientConn) service.AdminServiceClient {
logger.Infof(ctx, "Initialized Admin client")
return service.NewAdminServiceClient(conn)
Expand Down Expand Up @@ -186,6 +191,7 @@ func initializeClients(ctx context.Context, cfg *Config, tokenCache cache.TokenC
cs.identityServiceClient = service.NewIdentityServiceClient(adminConnection)
cs.healthServiceClient = grpc_health_v1.NewHealthClient(adminConnection)
cs.dataProxyServiceClient = service.NewDataProxyServiceClient(adminConnection)
cs.signalServiceClient = service.NewSignalServiceClient(adminConnection)

return &cs, nil
}
Expand Down
24 changes: 24 additions & 0 deletions flyteidl/gen/pb-cpp/flyteidl/admin/signal.grpc.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions flyteidl/gen/pb-cpp/flyteidl/admin/signal.grpc.pb.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2,603 changes: 2,603 additions & 0 deletions flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc

Large diffs are not rendered by default.

Loading

0 comments on commit de2e90d

Please sign in to comment.