forked from hashicorp/waypoint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request hashicorp#4836 from hashicorp/f-add-ons-serverstate
Server state: Add Ons & Add On definitions
- Loading branch information
Showing
10 changed files
with
7,310 additions
and
6,550 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
package boltdbstate | ||
|
||
import ( | ||
"context" | ||
|
||
"google.golang.org/grpc/codes" | ||
"google.golang.org/grpc/status" | ||
|
||
pb "github.com/hashicorp/waypoint/pkg/server/gen" | ||
) | ||
|
||
func (s *State) AddOnDefinitionPut(ctx context.Context, definition *pb.AddOnDefinition) (*pb.AddOnDefinition, error) { | ||
return nil, status.Errorf(codes.Unimplemented, "Add On Unimplemented") | ||
} | ||
|
||
func (s *State) AddOnDefinitionUpdate(ctx context.Context, definition *pb.AddOnDefinition, existingDefinition *pb.Ref_AddOnDefinition) (*pb.AddOnDefinition, error) { | ||
return nil, status.Errorf(codes.Unimplemented, "Add On Unimplemented") | ||
} | ||
|
||
func (s *State) AddOnDefinitionGet(ctx context.Context, definition *pb.Ref_AddOnDefinition) (*pb.AddOnDefinition, error) { | ||
return nil, status.Errorf(codes.Unimplemented, "Add On Unimplemented") | ||
} | ||
|
||
func (s *State) AddOnDefinitionDelete(ctx context.Context, definition *pb.Ref_AddOnDefinition) error { | ||
return status.Errorf(codes.Unimplemented, "Add On Unimplemented") | ||
} | ||
|
||
func (s *State) AddOnDefinitionList(ctx context.Context, request *pb.ListAddOnDefinitionsRequest) ([]*pb.AddOnDefinition, *pb.PaginationResponse, error) { | ||
return nil, nil, status.Errorf(codes.Unimplemented, "Add On Unimplemented") | ||
} | ||
|
||
func (s *State) AddOnPut(ctx context.Context, addOn *pb.AddOn) (*pb.AddOn, error) { | ||
return nil, status.Errorf(codes.Unimplemented, "Add On Unimplemented") | ||
} | ||
|
||
func (s *State) AddOnUpdate(ctx context.Context, addOn *pb.AddOn) (*pb.AddOn, error) { | ||
return nil, status.Errorf(codes.Unimplemented, "Add On Unimplemented") | ||
} | ||
|
||
func (s *State) AddOnGet(ctx context.Context, addOn *pb.Ref_AddOn) (*pb.AddOn, error) { | ||
return nil, status.Errorf(codes.Unimplemented, "Add On Unimplemented") | ||
} | ||
|
||
func (s *State) AddOnDelete(ctx context.Context, addOn *pb.Ref_AddOn) error { | ||
return status.Errorf(codes.Unimplemented, "Add On Unimplemented") | ||
} | ||
|
||
func (s *State) AddOnList(ctx context.Context, request *pb.ListAddOnsRequest) ([]*pb.AddOn, *pb.PaginationResponse, error) { | ||
return nil, nil, status.Errorf(codes.Unimplemented, "Add On Unimplemented") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.