Documentation ¶
Overview ¶
Package admin is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAdminHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdminClient) error
- func RegisterAdminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAdminHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AdminServer) error
- func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)
- type AdminClient
- type AdminServer
- type Admin_ListAccountGroupsClient
- type Admin_ListAccountGroupsServer
- type ClientOptions
- type CreateDefaultBillingInfoRoleRequest
- func (*CreateDefaultBillingInfoRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDefaultBillingInfoRoleRequest) GetTarget() string
- func (*CreateDefaultBillingInfoRoleRequest) ProtoMessage()
- func (x *CreateDefaultBillingInfoRoleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDefaultBillingInfoRoleRequest) Reset()
- func (x *CreateDefaultBillingInfoRoleRequest) String() string
- type DefaultBillingInfo
- func (*DefaultBillingInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DefaultBillingInfo) GetRoleArn() string
- func (x *DefaultBillingInfo) GetStackId() string
- func (x *DefaultBillingInfo) GetStackRegion() string
- func (x *DefaultBillingInfo) GetStatus() string
- func (x *DefaultBillingInfo) GetTarget() string
- func (x *DefaultBillingInfo) GetTemplateUrl() string
- func (*DefaultBillingInfo) ProtoMessage()
- func (x *DefaultBillingInfo) ProtoReflect() protoreflect.Message
- func (x *DefaultBillingInfo) Reset()
- func (x *DefaultBillingInfo) String() string
- type DeleteDefaultBillingInfoRoleRequest
- func (*DeleteDefaultBillingInfoRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDefaultBillingInfoRoleRequest) GetTarget() string
- func (*DeleteDefaultBillingInfoRoleRequest) ProtoMessage()
- func (x *DeleteDefaultBillingInfoRoleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDefaultBillingInfoRoleRequest) Reset()
- func (x *DeleteDefaultBillingInfoRoleRequest) String() string
- type GetAccountGroupRequest
- func (*GetAccountGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountGroupRequest) GetId() string
- func (*GetAccountGroupRequest) ProtoMessage()
- func (x *GetAccountGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountGroupRequest) Reset()
- func (x *GetAccountGroupRequest) String() string
- type GetAccountGroupResponse
- func (*GetAccountGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountGroupResponse) GetAcctGroup() *api.AccountGroup
- func (*GetAccountGroupResponse) ProtoMessage()
- func (x *GetAccountGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountGroupResponse) Reset()
- func (x *GetAccountGroupResponse) String() string
- type GetDefaultBillingInfoRequest
- func (*GetDefaultBillingInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefaultBillingInfoRequest) GetTarget() string
- func (*GetDefaultBillingInfoRequest) ProtoMessage()
- func (x *GetDefaultBillingInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetDefaultBillingInfoRequest) Reset()
- func (x *GetDefaultBillingInfoRequest) String() string
- type GetDefaultBillingInfoTemplateUrlRequest
- func (*GetDefaultBillingInfoTemplateUrlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefaultBillingInfoTemplateUrlRequest) GetRegion() string
- func (*GetDefaultBillingInfoTemplateUrlRequest) ProtoMessage()
- func (x *GetDefaultBillingInfoTemplateUrlRequest) ProtoReflect() protoreflect.Message
- func (x *GetDefaultBillingInfoTemplateUrlRequest) Reset()
- func (x *GetDefaultBillingInfoTemplateUrlRequest) String() string
- type GetDefaultBillingInfoTemplateUrlResponse
- func (*GetDefaultBillingInfoTemplateUrlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefaultBillingInfoTemplateUrlResponse) GetLaunchUrl() string
- func (x *GetDefaultBillingInfoTemplateUrlResponse) GetPrincipal() string
- func (x *GetDefaultBillingInfoTemplateUrlResponse) GetStackName() string
- func (x *GetDefaultBillingInfoTemplateUrlResponse) GetTemplateUrl() string
- func (*GetDefaultBillingInfoTemplateUrlResponse) ProtoMessage()
- func (x *GetDefaultBillingInfoTemplateUrlResponse) ProtoReflect() protoreflect.Message
- func (x *GetDefaultBillingInfoTemplateUrlResponse) Reset()
- func (x *GetDefaultBillingInfoTemplateUrlResponse) String() string
- type GrpcClient
- type ListAccountGroupsRequest
- type ListAccountGroupsResponse
- func (*ListAccountGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountGroupsResponse) GetAccountGroups() []*api.AccountGroup
- func (*ListAccountGroupsResponse) ProtoMessage()
- func (x *ListAccountGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccountGroupsResponse) Reset()
- func (x *ListAccountGroupsResponse) String() string
- type UnimplementedAdminServer
- func (UnimplementedAdminServer) CreateDefaultBillingInfoRole(context.Context, *CreateDefaultBillingInfoRoleRequest) (*DefaultBillingInfo, error)
- func (UnimplementedAdminServer) DeleteDefaultBillingInfoRole(context.Context, *DeleteDefaultBillingInfoRoleRequest) (*emptypb.Empty, error)
- func (UnimplementedAdminServer) GetAccountGroup(context.Context, *GetAccountGroupRequest) (*GetAccountGroupResponse, error)
- func (UnimplementedAdminServer) GetDefaultBillingInfo(context.Context, *GetDefaultBillingInfoRequest) (*DefaultBillingInfo, error)
- func (UnimplementedAdminServer) GetDefaultBillingInfoTemplateUrl(context.Context, *GetDefaultBillingInfoTemplateUrlRequest) (*GetDefaultBillingInfoTemplateUrlResponse, error)
- func (UnimplementedAdminServer) ListAccountGroups(*ListAccountGroupsRequest, Admin_ListAccountGroupsServer) error
- func (UnimplementedAdminServer) UpdateDefaultBillingInfoRole(context.Context, *UpdateDefaultBillingInfoRoleRequest) (*api.Operation, error)
- type UnsafeAdminServer
- type UpdateDefaultBillingInfoRoleRequest
- func (*UpdateDefaultBillingInfoRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDefaultBillingInfoRoleRequest) GetTarget() string
- func (*UpdateDefaultBillingInfoRoleRequest) ProtoMessage()
- func (x *UpdateDefaultBillingInfoRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDefaultBillingInfoRoleRequest) Reset()
- func (x *UpdateDefaultBillingInfoRoleRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var Admin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "blueapi.admin.v1.Admin", HandlerType: (*AdminServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAccountGroup", Handler: _Admin_GetAccountGroup_Handler, }, { MethodName: "GetDefaultBillingInfoTemplateUrl", Handler: _Admin_GetDefaultBillingInfoTemplateUrl_Handler, }, { MethodName: "GetDefaultBillingInfo", Handler: _Admin_GetDefaultBillingInfo_Handler, }, { MethodName: "CreateDefaultBillingInfoRole", Handler: _Admin_CreateDefaultBillingInfoRole_Handler, }, { MethodName: "UpdateDefaultBillingInfoRole", Handler: _Admin_UpdateDefaultBillingInfoRole_Handler, }, { MethodName: "DeleteDefaultBillingInfoRole", Handler: _Admin_DeleteDefaultBillingInfoRole_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListAccountGroups", Handler: _Admin_ListAccountGroups_Handler, ServerStreams: true, }, }, Metadata: "admin/v1/admin.proto", }
Admin_ServiceDesc is the grpc.ServiceDesc for Admin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_admin_v1_admin_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdminHandler ¶
RegisterAdminHandler registers the http handlers for service Admin to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAdminHandlerClient ¶
func RegisterAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AdminClient) error
RegisterAdminHandlerClient registers the http handlers for service Admin to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AdminClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AdminClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AdminClient" to call the correct interceptors.
func RegisterAdminHandlerFromEndpoint ¶
func RegisterAdminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAdminHandlerFromEndpoint is same as RegisterAdminHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAdminHandlerServer ¶
func RegisterAdminHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AdminServer) error
RegisterAdminHandlerServer registers the http handlers for service Admin to "mux". UnaryRPC :call AdminServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAdminHandlerFromEndpoint instead.
func RegisterAdminServer ¶
func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)
Types ¶
type AdminClient ¶
type AdminClient interface { // Lists all account groups. ListAccountGroups(ctx context.Context, in *ListAccountGroupsRequest, opts ...grpc.CallOption) (Admin_ListAccountGroupsClient, error) // Gets an account group. GetAccountGroup(ctx context.Context, in *GetAccountGroupRequest, opts ...grpc.CallOption) (*GetAccountGroupResponse, error) // WORK-IN-PROGRESS: Gets a CloudFormation launch url for enabling cross-account access to your account's billing information. // Upon successful deployment, you need to validate the access by calling 'POST /admin/v1/aws/crossacctaccess/default'. GetDefaultBillingInfoTemplateUrl(ctx context.Context, in *GetDefaultBillingInfoTemplateUrlRequest, opts ...grpc.CallOption) (*GetDefaultBillingInfoTemplateUrlResponse, error) // WORK-IN-PROGRESS: Gets the current role attached to input account. GetDefaultBillingInfo(ctx context.Context, in *GetDefaultBillingInfoRequest, opts ...grpc.CallOption) (*DefaultBillingInfo, error) // WORK-IN-PROGRESS: Starts validation of a cross-account access stack deployment. If successful, // the new IAM role will be registered to the target account. CreateDefaultBillingInfoRole(ctx context.Context, in *CreateDefaultBillingInfoRoleRequest, opts ...grpc.CallOption) (*DefaultBillingInfo, error) // WORK-IN-PROGRESS: Starts an update to an existing CloudFormation for template changes, if any. UpdateDefaultBillingInfoRole(ctx context.Context, in *UpdateDefaultBillingInfoRoleRequest, opts ...grpc.CallOption) (*api.Operation, error) // WORK-IN-PROGRESS: Deletes the current role attached to this target account. This does not delete the // CloudFormation deployment in your account. DeleteDefaultBillingInfoRole(ctx context.Context, in *DeleteDefaultBillingInfoRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AdminClient is the client API for Admin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAdminClient ¶
func NewAdminClient(cc grpc.ClientConnInterface) AdminClient
type AdminServer ¶
type AdminServer interface { // Lists all account groups. ListAccountGroups(*ListAccountGroupsRequest, Admin_ListAccountGroupsServer) error // Gets an account group. GetAccountGroup(context.Context, *GetAccountGroupRequest) (*GetAccountGroupResponse, error) // WORK-IN-PROGRESS: Gets a CloudFormation launch url for enabling cross-account access to your account's billing information. // Upon successful deployment, you need to validate the access by calling 'POST /admin/v1/aws/crossacctaccess/default'. GetDefaultBillingInfoTemplateUrl(context.Context, *GetDefaultBillingInfoTemplateUrlRequest) (*GetDefaultBillingInfoTemplateUrlResponse, error) // WORK-IN-PROGRESS: Gets the current role attached to input account. GetDefaultBillingInfo(context.Context, *GetDefaultBillingInfoRequest) (*DefaultBillingInfo, error) // WORK-IN-PROGRESS: Starts validation of a cross-account access stack deployment. If successful, // the new IAM role will be registered to the target account. CreateDefaultBillingInfoRole(context.Context, *CreateDefaultBillingInfoRoleRequest) (*DefaultBillingInfo, error) // WORK-IN-PROGRESS: Starts an update to an existing CloudFormation for template changes, if any. UpdateDefaultBillingInfoRole(context.Context, *UpdateDefaultBillingInfoRoleRequest) (*api.Operation, error) // WORK-IN-PROGRESS: Deletes the current role attached to this target account. This does not delete the // CloudFormation deployment in your account. DeleteDefaultBillingInfoRole(context.Context, *DeleteDefaultBillingInfoRoleRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
AdminServer is the server API for Admin service. All implementations must embed UnimplementedAdminServer for forward compatibility
type Admin_ListAccountGroupsClient ¶
type Admin_ListAccountGroupsClient interface { Recv() (*ListAccountGroupsResponse, error) grpc.ClientStream }
type Admin_ListAccountGroupsServer ¶
type Admin_ListAccountGroupsServer interface { Send(*ListAccountGroupsResponse) error grpc.ServerStream }
type ClientOptions ¶
type ClientOptions struct {
Conn *conn.GrpcClientConn
}
ClientOptions represents the optional options to NewClient.
type CreateDefaultBillingInfoRoleRequest ¶ added in v0.53.0
type CreateDefaultBillingInfoRoleRequest struct { // Required. The target AWS account to validate. Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
Request message for the Admin.CreateDefaultBillingInfoRole rpc.
func (*CreateDefaultBillingInfoRoleRequest) Descriptor
deprecated
added in
v0.53.0
func (*CreateDefaultBillingInfoRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDefaultBillingInfoRoleRequest.ProtoReflect.Descriptor instead.
func (*CreateDefaultBillingInfoRoleRequest) GetTarget ¶ added in v0.53.0
func (x *CreateDefaultBillingInfoRoleRequest) GetTarget() string
func (*CreateDefaultBillingInfoRoleRequest) ProtoMessage ¶ added in v0.53.0
func (*CreateDefaultBillingInfoRoleRequest) ProtoMessage()
func (*CreateDefaultBillingInfoRoleRequest) ProtoReflect ¶ added in v0.53.0
func (x *CreateDefaultBillingInfoRoleRequest) ProtoReflect() protoreflect.Message
func (*CreateDefaultBillingInfoRoleRequest) Reset ¶ added in v0.53.0
func (x *CreateDefaultBillingInfoRoleRequest) Reset()
func (*CreateDefaultBillingInfoRoleRequest) String ¶ added in v0.53.0
func (x *CreateDefaultBillingInfoRoleRequest) String() string
type DefaultBillingInfo ¶ added in v0.53.1
type DefaultBillingInfo struct { // The queried target account. Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // The role ARN that provides the cross-account access permissions. RoleArn string `protobuf:"bytes,2,opt,name=roleArn,proto3" json:"roleArn,omitempty"` // The id of the CloudFormation stack deployed in the target account. StackId string `protobuf:"bytes,3,opt,name=stackId,proto3" json:"stackId,omitempty"` // The region where the stack is deployed. StackRegion string `protobuf:"bytes,4,opt,name=stackRegion,proto3" json:"stackRegion,omitempty"` // The latest template used to deploy the stack. TemplateUrl string `protobuf:"bytes,5,opt,name=templateUrl,proto3" json:"templateUrl,omitempty"` // This can be 'latest', 'outdated', or 'invalid'. Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Response message for the Admin.GetDefaultBillingInfo, Admin.CreateDefaultBillingInfoRole rpc.
func (*DefaultBillingInfo) Descriptor
deprecated
added in
v0.53.1
func (*DefaultBillingInfo) Descriptor() ([]byte, []int)
Deprecated: Use DefaultBillingInfo.ProtoReflect.Descriptor instead.
func (*DefaultBillingInfo) GetRoleArn ¶ added in v0.53.1
func (x *DefaultBillingInfo) GetRoleArn() string
func (*DefaultBillingInfo) GetStackId ¶ added in v0.53.1
func (x *DefaultBillingInfo) GetStackId() string
func (*DefaultBillingInfo) GetStackRegion ¶ added in v0.53.2
func (x *DefaultBillingInfo) GetStackRegion() string
func (*DefaultBillingInfo) GetStatus ¶ added in v0.53.3
func (x *DefaultBillingInfo) GetStatus() string
func (*DefaultBillingInfo) GetTarget ¶ added in v0.53.1
func (x *DefaultBillingInfo) GetTarget() string
func (*DefaultBillingInfo) GetTemplateUrl ¶ added in v0.53.1
func (x *DefaultBillingInfo) GetTemplateUrl() string
func (*DefaultBillingInfo) ProtoMessage ¶ added in v0.53.1
func (*DefaultBillingInfo) ProtoMessage()
func (*DefaultBillingInfo) ProtoReflect ¶ added in v0.53.1
func (x *DefaultBillingInfo) ProtoReflect() protoreflect.Message
func (*DefaultBillingInfo) Reset ¶ added in v0.53.1
func (x *DefaultBillingInfo) Reset()
func (*DefaultBillingInfo) String ¶ added in v0.53.1
func (x *DefaultBillingInfo) String() string
type DeleteDefaultBillingInfoRoleRequest ¶ added in v0.53.0
type DeleteDefaultBillingInfoRoleRequest struct { // Required. The target AWS account to delete. Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
Request message for the Admin.DeleteDefaultBillingInfoRole rpc.
func (*DeleteDefaultBillingInfoRoleRequest) Descriptor
deprecated
added in
v0.53.0
func (*DeleteDefaultBillingInfoRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDefaultBillingInfoRoleRequest.ProtoReflect.Descriptor instead.
func (*DeleteDefaultBillingInfoRoleRequest) GetTarget ¶ added in v0.53.0
func (x *DeleteDefaultBillingInfoRoleRequest) GetTarget() string
func (*DeleteDefaultBillingInfoRoleRequest) ProtoMessage ¶ added in v0.53.0
func (*DeleteDefaultBillingInfoRoleRequest) ProtoMessage()
func (*DeleteDefaultBillingInfoRoleRequest) ProtoReflect ¶ added in v0.53.0
func (x *DeleteDefaultBillingInfoRoleRequest) ProtoReflect() protoreflect.Message
func (*DeleteDefaultBillingInfoRoleRequest) Reset ¶ added in v0.53.0
func (x *DeleteDefaultBillingInfoRoleRequest) Reset()
func (*DeleteDefaultBillingInfoRoleRequest) String ¶ added in v0.53.0
func (x *DeleteDefaultBillingInfoRoleRequest) String() string
type GetAccountGroupRequest ¶ added in v0.36.3
type GetAccountGroupRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for the Admin.GetAccountGroup rpc.
func (*GetAccountGroupRequest) Descriptor
deprecated
added in
v0.36.3
func (*GetAccountGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountGroupRequest.ProtoReflect.Descriptor instead.
func (*GetAccountGroupRequest) GetId ¶ added in v0.36.3
func (x *GetAccountGroupRequest) GetId() string
func (*GetAccountGroupRequest) ProtoMessage ¶ added in v0.36.3
func (*GetAccountGroupRequest) ProtoMessage()
func (*GetAccountGroupRequest) ProtoReflect ¶ added in v0.36.3
func (x *GetAccountGroupRequest) ProtoReflect() protoreflect.Message
func (*GetAccountGroupRequest) Reset ¶ added in v0.36.3
func (x *GetAccountGroupRequest) Reset()
func (*GetAccountGroupRequest) String ¶ added in v0.36.3
func (x *GetAccountGroupRequest) String() string
type GetAccountGroupResponse ¶ added in v0.36.3
type GetAccountGroupResponse struct { AcctGroup *api.AccountGroup `protobuf:"bytes,1,opt,name=acctGroup,proto3" json:"acctGroup,omitempty"` // contains filtered or unexported fields }
Response message for the Admin.GetAccountGroup rpc.
func (*GetAccountGroupResponse) Descriptor
deprecated
added in
v0.36.3
func (*GetAccountGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountGroupResponse.ProtoReflect.Descriptor instead.
func (*GetAccountGroupResponse) GetAcctGroup ¶ added in v0.36.3
func (x *GetAccountGroupResponse) GetAcctGroup() *api.AccountGroup
func (*GetAccountGroupResponse) ProtoMessage ¶ added in v0.36.3
func (*GetAccountGroupResponse) ProtoMessage()
func (*GetAccountGroupResponse) ProtoReflect ¶ added in v0.36.3
func (x *GetAccountGroupResponse) ProtoReflect() protoreflect.Message
func (*GetAccountGroupResponse) Reset ¶ added in v0.36.3
func (x *GetAccountGroupResponse) Reset()
func (*GetAccountGroupResponse) String ¶ added in v0.36.3
func (x *GetAccountGroupResponse) String() string
type GetDefaultBillingInfoRequest ¶ added in v0.53.0
type GetDefaultBillingInfoRequest struct { // Required. The target AWS account to query. Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
Request message for the Admin.GetDefaultBillingInfo rpc.
func (*GetDefaultBillingInfoRequest) Descriptor
deprecated
added in
v0.53.0
func (*GetDefaultBillingInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultBillingInfoRequest.ProtoReflect.Descriptor instead.
func (*GetDefaultBillingInfoRequest) GetTarget ¶ added in v0.53.0
func (x *GetDefaultBillingInfoRequest) GetTarget() string
func (*GetDefaultBillingInfoRequest) ProtoMessage ¶ added in v0.53.0
func (*GetDefaultBillingInfoRequest) ProtoMessage()
func (*GetDefaultBillingInfoRequest) ProtoReflect ¶ added in v0.53.0
func (x *GetDefaultBillingInfoRequest) ProtoReflect() protoreflect.Message
func (*GetDefaultBillingInfoRequest) Reset ¶ added in v0.53.0
func (x *GetDefaultBillingInfoRequest) Reset()
func (*GetDefaultBillingInfoRequest) String ¶ added in v0.53.0
func (x *GetDefaultBillingInfoRequest) String() string
type GetDefaultBillingInfoTemplateUrlRequest ¶ added in v0.52.0
type GetDefaultBillingInfoTemplateUrlRequest struct { // Optional. Set to the desired target region code. Defaults to 'ap-northeast-1' (Tokyo). // You can still change the final target region in the CloudFormation console before // the stack creation. You can check https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions // for the region list. Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // contains filtered or unexported fields }
Request message for the Admin.GetDefaultBillingInfoTemplateUrl rpc.
func (*GetDefaultBillingInfoTemplateUrlRequest) Descriptor
deprecated
added in
v0.52.0
func (*GetDefaultBillingInfoTemplateUrlRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultBillingInfoTemplateUrlRequest.ProtoReflect.Descriptor instead.
func (*GetDefaultBillingInfoTemplateUrlRequest) GetRegion ¶ added in v0.52.0
func (x *GetDefaultBillingInfoTemplateUrlRequest) GetRegion() string
func (*GetDefaultBillingInfoTemplateUrlRequest) ProtoMessage ¶ added in v0.52.0
func (*GetDefaultBillingInfoTemplateUrlRequest) ProtoMessage()
func (*GetDefaultBillingInfoTemplateUrlRequest) ProtoReflect ¶ added in v0.52.0
func (x *GetDefaultBillingInfoTemplateUrlRequest) ProtoReflect() protoreflect.Message
func (*GetDefaultBillingInfoTemplateUrlRequest) Reset ¶ added in v0.52.0
func (x *GetDefaultBillingInfoTemplateUrlRequest) Reset()
func (*GetDefaultBillingInfoTemplateUrlRequest) String ¶ added in v0.52.0
func (x *GetDefaultBillingInfoTemplateUrlRequest) String() string
type GetDefaultBillingInfoTemplateUrlResponse ¶ added in v0.52.0
type GetDefaultBillingInfoTemplateUrlResponse struct { // The CloudFormation launch url. Open it in your browser. LaunchUrl string `protobuf:"bytes,1,opt,name=launchUrl,proto3" json:"launchUrl,omitempty"` // The latest CloudFormation template. The version is included in the filename. TemplateUrl string `protobuf:"bytes,2,opt,name=templateUrl,proto3" json:"templateUrl,omitempty"` // The default stack name used. Can be modified. StackName string `protobuf:"bytes,3,opt,name=stackName,proto3" json:"stackName,omitempty"` // The AWS account that will receive the access. Do not change. Principal string `protobuf:"bytes,4,opt,name=principal,proto3" json:"principal,omitempty"` // contains filtered or unexported fields }
Response message for the Admin.GetDefaultBillingInfoTemplateUrl rpc.
func (*GetDefaultBillingInfoTemplateUrlResponse) Descriptor
deprecated
added in
v0.52.0
func (*GetDefaultBillingInfoTemplateUrlResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultBillingInfoTemplateUrlResponse.ProtoReflect.Descriptor instead.
func (*GetDefaultBillingInfoTemplateUrlResponse) GetLaunchUrl ¶ added in v0.52.0
func (x *GetDefaultBillingInfoTemplateUrlResponse) GetLaunchUrl() string
func (*GetDefaultBillingInfoTemplateUrlResponse) GetPrincipal ¶ added in v0.52.0
func (x *GetDefaultBillingInfoTemplateUrlResponse) GetPrincipal() string
func (*GetDefaultBillingInfoTemplateUrlResponse) GetStackName ¶ added in v0.52.0
func (x *GetDefaultBillingInfoTemplateUrlResponse) GetStackName() string
func (*GetDefaultBillingInfoTemplateUrlResponse) GetTemplateUrl ¶ added in v0.52.0
func (x *GetDefaultBillingInfoTemplateUrlResponse) GetTemplateUrl() string
func (*GetDefaultBillingInfoTemplateUrlResponse) ProtoMessage ¶ added in v0.52.0
func (*GetDefaultBillingInfoTemplateUrlResponse) ProtoMessage()
func (*GetDefaultBillingInfoTemplateUrlResponse) ProtoReflect ¶ added in v0.52.0
func (x *GetDefaultBillingInfoTemplateUrlResponse) ProtoReflect() protoreflect.Message
func (*GetDefaultBillingInfoTemplateUrlResponse) Reset ¶ added in v0.52.0
func (x *GetDefaultBillingInfoTemplateUrlResponse) Reset()
func (*GetDefaultBillingInfoTemplateUrlResponse) String ¶ added in v0.52.0
func (x *GetDefaultBillingInfoTemplateUrlResponse) String() string
type GrpcClient ¶
type GrpcClient struct { AdminClient // contains filtered or unexported fields }
func NewClient ¶
func NewClient(ctx context.Context, opts ...*ClientOptions) (*GrpcClient, error)
NewClient returns a client connection to the 'admin' service.
func (*GrpcClient) Close ¶
func (c *GrpcClient) Close()
type ListAccountGroupsRequest ¶
type ListAccountGroupsRequest struct {
// contains filtered or unexported fields
}
Request message for the Admin.ListAccountGroups rpc.
func (*ListAccountGroupsRequest) Descriptor
deprecated
func (*ListAccountGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListAccountGroupsRequest) ProtoMessage ¶
func (*ListAccountGroupsRequest) ProtoMessage()
func (*ListAccountGroupsRequest) ProtoReflect ¶
func (x *ListAccountGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListAccountGroupsRequest) Reset ¶
func (x *ListAccountGroupsRequest) Reset()
func (*ListAccountGroupsRequest) String ¶
func (x *ListAccountGroupsRequest) String() string
type ListAccountGroupsResponse ¶
type ListAccountGroupsResponse struct { AccountGroups []*api.AccountGroup `protobuf:"bytes,1,rep,name=accountGroups,proto3" json:"accountGroups,omitempty"` // contains filtered or unexported fields }
Response message for the Admin.ListAccountGroups rpc.
func (*ListAccountGroupsResponse) Descriptor
deprecated
func (*ListAccountGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListAccountGroupsResponse) GetAccountGroups ¶ added in v0.36.1
func (x *ListAccountGroupsResponse) GetAccountGroups() []*api.AccountGroup
func (*ListAccountGroupsResponse) ProtoMessage ¶
func (*ListAccountGroupsResponse) ProtoMessage()
func (*ListAccountGroupsResponse) ProtoReflect ¶
func (x *ListAccountGroupsResponse) ProtoReflect() protoreflect.Message
func (*ListAccountGroupsResponse) Reset ¶
func (x *ListAccountGroupsResponse) Reset()
func (*ListAccountGroupsResponse) String ¶
func (x *ListAccountGroupsResponse) String() string
type UnimplementedAdminServer ¶
type UnimplementedAdminServer struct { }
UnimplementedAdminServer must be embedded to have forward compatible implementations.
func (UnimplementedAdminServer) CreateDefaultBillingInfoRole ¶ added in v0.53.0
func (UnimplementedAdminServer) CreateDefaultBillingInfoRole(context.Context, *CreateDefaultBillingInfoRoleRequest) (*DefaultBillingInfo, error)
func (UnimplementedAdminServer) DeleteDefaultBillingInfoRole ¶ added in v0.53.0
func (UnimplementedAdminServer) DeleteDefaultBillingInfoRole(context.Context, *DeleteDefaultBillingInfoRoleRequest) (*emptypb.Empty, error)
func (UnimplementedAdminServer) GetAccountGroup ¶ added in v0.36.3
func (UnimplementedAdminServer) GetAccountGroup(context.Context, *GetAccountGroupRequest) (*GetAccountGroupResponse, error)
func (UnimplementedAdminServer) GetDefaultBillingInfo ¶ added in v0.53.0
func (UnimplementedAdminServer) GetDefaultBillingInfo(context.Context, *GetDefaultBillingInfoRequest) (*DefaultBillingInfo, error)
func (UnimplementedAdminServer) GetDefaultBillingInfoTemplateUrl ¶ added in v0.52.0
func (UnimplementedAdminServer) GetDefaultBillingInfoTemplateUrl(context.Context, *GetDefaultBillingInfoTemplateUrlRequest) (*GetDefaultBillingInfoTemplateUrlResponse, error)
func (UnimplementedAdminServer) ListAccountGroups ¶
func (UnimplementedAdminServer) ListAccountGroups(*ListAccountGroupsRequest, Admin_ListAccountGroupsServer) error
func (UnimplementedAdminServer) UpdateDefaultBillingInfoRole ¶ added in v0.53.0
func (UnimplementedAdminServer) UpdateDefaultBillingInfoRole(context.Context, *UpdateDefaultBillingInfoRoleRequest) (*api.Operation, error)
type UnsafeAdminServer ¶
type UnsafeAdminServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServer will result in compilation errors.
type UpdateDefaultBillingInfoRoleRequest ¶ added in v0.53.0
type UpdateDefaultBillingInfoRoleRequest struct { // Required. The target AWS account to update. Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
Request message for the Admin.UpdateDefaultBillingInfoRole rpc.
func (*UpdateDefaultBillingInfoRoleRequest) Descriptor
deprecated
added in
v0.53.0
func (*UpdateDefaultBillingInfoRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDefaultBillingInfoRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateDefaultBillingInfoRoleRequest) GetTarget ¶ added in v0.53.0
func (x *UpdateDefaultBillingInfoRoleRequest) GetTarget() string
func (*UpdateDefaultBillingInfoRoleRequest) ProtoMessage ¶ added in v0.53.0
func (*UpdateDefaultBillingInfoRoleRequest) ProtoMessage()
func (*UpdateDefaultBillingInfoRoleRequest) ProtoReflect ¶ added in v0.53.0
func (x *UpdateDefaultBillingInfoRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateDefaultBillingInfoRoleRequest) Reset ¶ added in v0.53.0
func (x *UpdateDefaultBillingInfoRoleRequest) Reset()
func (*UpdateDefaultBillingInfoRoleRequest) String ¶ added in v0.53.0
func (x *UpdateDefaultBillingInfoRoleRequest) String() string