The name. The name. The name!
This commit is contained in:
1 parent
1c836c430b
commit
6661117d4c
321 files changed
+1295
-1300
No files matched your search
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.resources.authmethods.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/authmethods;authmethods";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/authmethods;authmethods";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.resources.authmethods.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/authmethods;authmethods";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/authmethods;authmethods";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.resources.authtokens.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/authtokens;authtokens";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/authtokens;authtokens";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.resources.groups.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/groups;groups";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/groups;groups";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.resources.hosts.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/hosts;hosts";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/hosts;hosts";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.resources.hosts.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/hosts;hosts";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/hosts;hosts";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.resources.hosts.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/hosts;hosts";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/hosts;hosts";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.resources.roles.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/roles;roles";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/roles;roles";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.resources.scopes.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/scopes;scopes";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/scopes;scopes";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.resources.users.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resources/users;users";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/users;users";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.services.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/services;services";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
@@ -37,7 +37,7 @@ service AuthMethodService {
|
||||
};
|
||||
}
|
||||
|
||||
// CreateAuthMethod creates and stores a user in watchtower. The provided
|
||||
// CreateAuthMethod creates and stores a user in boundary. The provided
|
||||
// request must include the org id in which the user will be created.
|
||||
// If the org id is missing, malformed or references a non existing
|
||||
// org, an error is returned. If a name is provided that is in
|
||||
@@ -53,7 +53,7 @@ service AuthMethodService {
|
||||
};
|
||||
}
|
||||
|
||||
// UpdateAuthMethod updates an existing user in watchtower. The provided
|
||||
// UpdateAuthMethod updates an existing user in boundary. The provided
|
||||
// user must not have any read only fields set. The update mask must be
|
||||
// included in the request and contain at least 1 mutable field. To unset
|
||||
// a field's value, include the field in the update mask and don't set it
|
||||
@@ -72,7 +72,7 @@ service AuthMethodService {
|
||||
};
|
||||
}
|
||||
|
||||
// DeleteAuthMethod removes a user from Watchtower. If the provided org or user ids
|
||||
// DeleteAuthMethod removes a user from Boundary. If the provided org or user ids
|
||||
// are malformed or not provided an error is returned. No error is returned
|
||||
// if either ids reference resources that do not exist as the response itself
|
||||
// specifies if the resource existed before the DeleteAuthMethod request was
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.services.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/services;services";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
@@ -39,7 +39,7 @@ service AccountService {
|
||||
};
|
||||
}
|
||||
|
||||
// CreateAccount creates and stores an account in watchtower. The provided
|
||||
// CreateAccount creates and stores an account in boundary. The provided
|
||||
// request must include the auth method id in which the account will be created.
|
||||
// If the auth method id is missing, malformed or references a non existing
|
||||
// auth method, an error is returned. If a name is provided that is in
|
||||
@@ -55,7 +55,7 @@ service AccountService {
|
||||
};
|
||||
}
|
||||
|
||||
// UpdateAccount updates an existing account in watchtower. The provided account
|
||||
// UpdateAccount updates an existing account in boundary. The provided account
|
||||
// must not have any read only fields set. The update mask must be included in
|
||||
// the request and contain at least 1 mutable field. To unset a field's value,
|
||||
// include the field in the update mask and don't set it in the provided
|
||||
@@ -74,7 +74,7 @@ service AccountService {
|
||||
};
|
||||
}
|
||||
|
||||
// DeleteAccount removes an account from Watchtower. If the provided auth mehtod
|
||||
// DeleteAccount removes an account from Boundary. If the provided auth mehtod
|
||||
// or account ids are malformed or not provided an error is returned. No error is
|
||||
// returned if either ids reference resources that do not exist as the
|
||||
// response itself specifies if the resource existed before the DeleteAccount
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.services.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/services;services";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.services.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/services;services";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
@@ -37,7 +37,7 @@ service AuthTokenService {
|
||||
};
|
||||
}
|
||||
|
||||
// DeleteAuthToken removes a auth token from Watchtower. If the provided org or
|
||||
// DeleteAuthToken removes a auth token from Boundary. If the provided org or
|
||||
// auth token ids are malformed or not provided an error is returned. No error is returned
|
||||
// if either ids reference resources that do not exist as the response itself
|
||||
// specifies if the resource existed before the DeleteAuthToken request was
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.services.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/services;services";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
@@ -40,7 +40,7 @@ service GroupService {
|
||||
};
|
||||
}
|
||||
|
||||
// CreateGroup creates and stores a group in watchtower. The provided
|
||||
// CreateGroup creates and stores a group in boundary. The provided
|
||||
// request must include the scope ID in which the group will be created.
|
||||
// If the scope ID is missing, malformed or references a non existing
|
||||
// org, an error is returned. If a name is provided that is in
|
||||
@@ -56,7 +56,7 @@ service GroupService {
|
||||
};
|
||||
}
|
||||
|
||||
// UpdateGroup updates an existing group in watchtower. The provided group
|
||||
// UpdateGroup updates an existing group in boundary. The provided group
|
||||
// must not have any read only fields set. The update mask must be included in
|
||||
// the request and contain at least 1 mutable field. To unset a field's value,
|
||||
// include the field in the update mask and don't set it in the provided
|
||||
@@ -75,7 +75,7 @@ service GroupService {
|
||||
};
|
||||
}
|
||||
|
||||
// DeleteGroup removes a group from Watchtower. If the provided scope or group
|
||||
// DeleteGroup removes a group from Boundary. If the provided scope or group
|
||||
// IDs are malformed or not provided an error is returned. No error is
|
||||
// returned if either IDs reference resources that do not exist as the
|
||||
// response itself specifies if the resource existed before the DeleteGroup
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.services.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/services;services";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
@@ -44,7 +44,7 @@ service HostCatalogService {
|
||||
};
|
||||
}
|
||||
|
||||
// CreateHostCatalog creates and stores a HostCatalog in watchtower. The
|
||||
// CreateHostCatalog creates and stores a HostCatalog in boundary. The
|
||||
// provided request must include the scope ID in which the catalog will be
|
||||
// created and the catalog type to be created. If any of these required fields
|
||||
// are missing, malformed, or reference a non-existing parent resource an
|
||||
@@ -61,7 +61,7 @@ service HostCatalogService {
|
||||
};
|
||||
}
|
||||
|
||||
// UpdateHostCatalog updates an existing HostCatalog in Watchtower. The
|
||||
// UpdateHostCatalog updates an existing HostCatalog in Boundary. The
|
||||
// provided HostCatalog must not have any read only fields set. The update
|
||||
// mask must be provided and include at least 1 mutable field. To unset a
|
||||
// field's value include that field name in the update mask and don't set the
|
||||
@@ -78,7 +78,7 @@ service HostCatalogService {
|
||||
}
|
||||
|
||||
// DeleteHostCatalog removes a HostCatalog and all associated hosts and host
|
||||
// sets from Watchtower. If the provided scope or HostCatalog IDs are
|
||||
// sets from Boundary. If the provided scope or HostCatalog IDs are
|
||||
// malformed or not provided DeleteHostCatalog returns an error. It is not an
|
||||
// error to call DeleteHostCatalog for an scope or HostCatalog that does not
|
||||
// exist as the response indicates if it existed or not.
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.services.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/services;services";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.services.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/services;services";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.services.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/services;services";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
@@ -54,7 +54,7 @@ service RoleService {
|
||||
};
|
||||
}
|
||||
|
||||
// UpdateRole updates an existing role in watchtower. The provided
|
||||
// UpdateRole updates an existing role in boundary. The provided
|
||||
// role must not have any read-only fields set. The update mask must be
|
||||
// included in the request and contain at least 1 mutable field. To unset
|
||||
// a field's value, include the field in the update mask and don't set it
|
||||
@@ -73,7 +73,7 @@ service RoleService {
|
||||
};
|
||||
}
|
||||
|
||||
// DeleteRole removes a role from Watchtower. If the provided scope or role IDs
|
||||
// DeleteRole removes a role from Boundary. If the provided scope or role IDs
|
||||
// are malformed, or not provided an error is returned. No error is returned
|
||||
// if either IDs reference resources that do not exist as the response itself
|
||||
// specifies if the resource existed before the DeleteRole request was
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.services.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/services;services";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
@@ -36,7 +36,7 @@ service ScopeService {
|
||||
};
|
||||
}
|
||||
|
||||
// CreateScope creates and stores a scope in watchtower. The provided request
|
||||
// CreateScope creates and stores a scope in boundary. The provided request
|
||||
// must include the scope ID in which the scope will be created. If the scope
|
||||
// ID is missing, malformed or references a non existing scope, an error is
|
||||
// returned. If a name is provided that is in use in another scope in the same
|
||||
@@ -52,7 +52,7 @@ service ScopeService {
|
||||
};
|
||||
}
|
||||
|
||||
// UpdateScope updates an existing scope in watchtower. The provided
|
||||
// UpdateScope updates an existing scope in boundary. The provided
|
||||
// scope must not have any read only fields set. The update mask must be
|
||||
// included in the request and contain at least 1 mutable field. To unset
|
||||
// a field's value, include the field in the update mask and don't set it
|
||||
@@ -71,7 +71,7 @@ service ScopeService {
|
||||
};
|
||||
}
|
||||
|
||||
// DeleteScope remotes a scope and all child resources from Watchtower. If the
|
||||
// DeleteScope remotes a scope and all child resources from Boundary. If the
|
||||
// provided scope IDs are malformed or not provided an error is returned. No
|
||||
// error is returned if the ID references a resource that does not exist as
|
||||
// the response itself specifies if the resource existed before the
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.services.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/services;services";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/services;services";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
@@ -38,7 +38,7 @@ service UserService {
|
||||
};
|
||||
}
|
||||
|
||||
// CreateUser creates and stores a user in watchtower. The provided
|
||||
// CreateUser creates and stores a user in boundary. The provided
|
||||
// request must include the org id in which the user will be created.
|
||||
// If the org id is missing, malformed or references a non existing
|
||||
// org, an error is returned. If a name is provided that is in
|
||||
@@ -54,7 +54,7 @@ service UserService {
|
||||
};
|
||||
}
|
||||
|
||||
// UpdateUser updates an existing user in watchtower. The provided
|
||||
// UpdateUser updates an existing user in boundary. The provided
|
||||
// user must not have any read only fields set. The update mask must be
|
||||
// included in the request and contain at least 1 mutable field. To unset
|
||||
// a field's value, include the field in the update mask and don't set it
|
||||
@@ -73,7 +73,7 @@ service UserService {
|
||||
};
|
||||
}
|
||||
|
||||
// DeleteUser removes a user from Watchtower. If the provided org or user ids
|
||||
// DeleteUser removes a user from Boundary. If the provided org or user ids
|
||||
// are malformed or not provided an error is returned. No error is returned
|
||||
// if either ids reference resources that do not exist as the response itself
|
||||
// specifies if the resource existed before the DeleteUser request was
|
||||
|
||||
@@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.api.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api;api";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api;api";
|
||||
|
||||
message ErrorDetails {
|
||||
string TraceId = 1 [json_name="TraceId"];
|
||||
|
||||
Reference in new issue
Block a user