Documentation ¶
Index ¶
- Variables
- func RegisterAWSServiceServer(s grpc.ServiceRegistrar, srv AWSServiceServer)
- type AWSServiceClient
- type AWSServiceServer
- type CreateOrganizationRequest
- func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationRequest) GetExternalId() string
- func (x *CreateOrganizationRequest) GetRoleArn() string
- func (*CreateOrganizationRequest) ProtoMessage()
- func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationRequest) Reset()
- func (x *CreateOrganizationRequest) String() string
- type CreateOrganizationResponse
- func (*CreateOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationResponse) GetOrganizationId() string
- func (*CreateOrganizationResponse) ProtoMessage()
- func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationResponse) Reset()
- func (x *CreateOrganizationResponse) String() string
- type GenerateRecommendationsRequest
- func (*GenerateRecommendationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateRecommendationsRequest) GetOrganizationId() string
- func (*GenerateRecommendationsRequest) ProtoMessage()
- func (x *GenerateRecommendationsRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateRecommendationsRequest) Reset()
- func (x *GenerateRecommendationsRequest) String() string
- type GenerateRecommendationsResponse
- func (*GenerateRecommendationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateRecommendationsResponse) GetTaskId() string
- func (*GenerateRecommendationsResponse) ProtoMessage()
- func (x *GenerateRecommendationsResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateRecommendationsResponse) Reset()
- func (x *GenerateRecommendationsResponse) String() string
- type GetOrganizationAccountsRequest
- func (*GetOrganizationAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationAccountsRequest) GetOrganizationId() string
- func (*GetOrganizationAccountsRequest) ProtoMessage()
- func (x *GetOrganizationAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationAccountsRequest) Reset()
- func (x *GetOrganizationAccountsRequest) String() string
- type GetOrganizationAccountsResponse
- func (*GetOrganizationAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationAccountsResponse) GetAccounts() []*OrganizationAccount
- func (*GetOrganizationAccountsResponse) ProtoMessage()
- func (x *GetOrganizationAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationAccountsResponse) Reset()
- func (x *GetOrganizationAccountsResponse) String() string
- type GetOrganizationRegionsRequest
- func (*GetOrganizationRegionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationRegionsRequest) GetOrganizationId() string
- func (*GetOrganizationRegionsRequest) ProtoMessage()
- func (x *GetOrganizationRegionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationRegionsRequest) Reset()
- func (x *GetOrganizationRegionsRequest) String() string
- type GetOrganizationRegionsResponse
- func (*GetOrganizationRegionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationRegionsResponse) GetRegions() []string
- func (*GetOrganizationRegionsResponse) ProtoMessage()
- func (x *GetOrganizationRegionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationRegionsResponse) Reset()
- func (x *GetOrganizationRegionsResponse) String() string
- type GetRecommendationTaskRequest
- func (*GetRecommendationTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecommendationTaskRequest) GetTaskId() string
- func (*GetRecommendationTaskRequest) ProtoMessage()
- func (x *GetRecommendationTaskRequest) ProtoReflect() protoreflect.Message
- func (x *GetRecommendationTaskRequest) Reset()
- func (x *GetRecommendationTaskRequest) String() string
- type GetRecommendationTaskResponse
- func (*GetRecommendationTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecommendationTaskResponse) GetErrorMessage() string
- func (x *GetRecommendationTaskResponse) GetProgress() int64
- func (*GetRecommendationTaskResponse) ProtoMessage()
- func (x *GetRecommendationTaskResponse) ProtoReflect() protoreflect.Message
- func (x *GetRecommendationTaskResponse) Reset()
- func (x *GetRecommendationTaskResponse) String() string
- type GetRecommendationsRequest
- func (*GetRecommendationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecommendationsRequest) GetAccountId() string
- func (x *GetRecommendationsRequest) GetOrganizationId() string
- func (x *GetRecommendationsRequest) GetPage() *protobuf.PageInput
- func (x *GetRecommendationsRequest) GetRegion() string
- func (x *GetRecommendationsRequest) GetService() string
- func (x *GetRecommendationsRequest) GetStatus() Recommendation_Status
- func (*GetRecommendationsRequest) ProtoMessage()
- func (x *GetRecommendationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRecommendationsRequest) Reset()
- func (x *GetRecommendationsRequest) String() string
- type GetRecommendationsResponse
- func (*GetRecommendationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecommendationsResponse) GetNextPage() *protobuf.PageToken
- func (x *GetRecommendationsResponse) GetRecommendations() []*Recommendation
- func (*GetRecommendationsResponse) ProtoMessage()
- func (x *GetRecommendationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetRecommendationsResponse) Reset()
- func (x *GetRecommendationsResponse) String() string
- type GetUsageRequest
- func (*GetUsageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsageRequest) GetAccountId() string
- func (x *GetUsageRequest) GetFrom() *timestamppb.Timestamp
- func (x *GetUsageRequest) GetGranularity() Granularity
- func (x *GetUsageRequest) GetOrganizationId() string
- func (x *GetUsageRequest) GetRegion() string
- func (x *GetUsageRequest) GetService() string
- func (x *GetUsageRequest) GetTo() *timestamppb.Timestamp
- func (*GetUsageRequest) ProtoMessage()
- func (x *GetUsageRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsageRequest) Reset()
- func (x *GetUsageRequest) String() string
- type GetUsageResponse
- type Granularity
- func (Granularity) Descriptor() protoreflect.EnumDescriptor
- func (x Granularity) Enum() *Granularity
- func (Granularity) EnumDescriptor() ([]byte, []int)deprecated
- func (x Granularity) Number() protoreflect.EnumNumber
- func (x Granularity) String() string
- func (Granularity) Type() protoreflect.EnumType
- type OrganizationAccount
- func (*OrganizationAccount) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationAccount) GetId() string
- func (x *OrganizationAccount) GetName() string
- func (*OrganizationAccount) ProtoMessage()
- func (x *OrganizationAccount) ProtoReflect() protoreflect.Message
- func (x *OrganizationAccount) Reset()
- func (x *OrganizationAccount) String() string
- type Recommendation
- func (*Recommendation) Descriptor() ([]byte, []int)deprecated
- func (x *Recommendation) GetAccountId() string
- func (x *Recommendation) GetId() string
- func (x *Recommendation) GetKind() Recommendation_Kind
- func (x *Recommendation) GetOneTimeSaving() string
- func (x *Recommendation) GetPeriodKind() Recommendation_PeriodKind
- func (x *Recommendation) GetPeriodicSaving() string
- func (x *Recommendation) GetRegion() string
- func (x *Recommendation) GetSavingPeriod() *durationpb.Duration
- func (x *Recommendation) GetService() string
- func (x *Recommendation) GetStatus() Recommendation_Status
- func (x *Recommendation) GetTaskId() string
- func (*Recommendation) ProtoMessage()
- func (x *Recommendation) ProtoReflect() protoreflect.Message
- func (x *Recommendation) Reset()
- func (x *Recommendation) String() string
- type Recommendation_Kind
- func (Recommendation_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x Recommendation_Kind) Enum() *Recommendation_Kind
- func (Recommendation_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Recommendation_Kind) Number() protoreflect.EnumNumber
- func (x Recommendation_Kind) String() string
- func (Recommendation_Kind) Type() protoreflect.EnumType
- type Recommendation_PeriodKind
- func (Recommendation_PeriodKind) Descriptor() protoreflect.EnumDescriptor
- func (x Recommendation_PeriodKind) Enum() *Recommendation_PeriodKind
- func (Recommendation_PeriodKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Recommendation_PeriodKind) Number() protoreflect.EnumNumber
- func (x Recommendation_PeriodKind) String() string
- func (Recommendation_PeriodKind) Type() protoreflect.EnumType
- type Recommendation_Status
- func (Recommendation_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Recommendation_Status) Enum() *Recommendation_Status
- func (Recommendation_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Recommendation_Status) Number() protoreflect.EnumNumber
- func (x Recommendation_Status) String() string
- func (Recommendation_Status) Type() protoreflect.EnumType
- type UnimplementedAWSServiceServer
- func (UnimplementedAWSServiceServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
- func (UnimplementedAWSServiceServer) GenerateRecommendations(context.Context, *GenerateRecommendationsRequest) (*GenerateRecommendationsResponse, error)
- func (UnimplementedAWSServiceServer) GetOrganizationAccounts(context.Context, *GetOrganizationAccountsRequest) (*GetOrganizationAccountsResponse, error)
- func (UnimplementedAWSServiceServer) GetOrganizationRegions(context.Context, *GetOrganizationRegionsRequest) (*GetOrganizationRegionsResponse, error)
- func (UnimplementedAWSServiceServer) GetRecommendationTask(context.Context, *GetRecommendationTaskRequest) (*GetRecommendationTaskResponse, error)
- func (UnimplementedAWSServiceServer) GetRecommendations(context.Context, *GetRecommendationsRequest) (*GetRecommendationsResponse, error)
- func (UnimplementedAWSServiceServer) GetUsage(context.Context, *GetUsageRequest) (*GetUsageResponse, error)
- type UnsafeAWSServiceServer
- type Usage
- func (*Usage) Descriptor() ([]byte, []int)deprecated
- func (x *Usage) GetCanSave() string
- func (x *Usage) GetCost() string
- func (x *Usage) GetForecasted() bool
- func (x *Usage) GetFrom() *timestamppb.Timestamp
- func (x *Usage) GetTo() *timestamppb.Timestamp
- func (*Usage) ProtoMessage()
- func (x *Usage) ProtoReflect() protoreflect.Message
- func (x *Usage) Reset()
- func (x *Usage) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Granularity_name = map[int32]string{ 0: "GRANULARITY_UNSPECIFIED", 1: "GRANULARITY_HOURLY", 2: "GRANULARITY_DAILY", 3: "GRANULARITY_MONTHLY", } Granularity_value = map[string]int32{ "GRANULARITY_UNSPECIFIED": 0, "GRANULARITY_HOURLY": 1, "GRANULARITY_DAILY": 2, "GRANULARITY_MONTHLY": 3, } )
Enum value maps for Granularity.
var ( Recommendation_Kind_name = map[int32]string{ 0: "KIND_UNSPECIFIED", 1: "KIND_SELL_RI", 2: "KIND_BUY_RI", } Recommendation_Kind_value = map[string]int32{ "KIND_UNSPECIFIED": 0, "KIND_SELL_RI": 1, "KIND_BUY_RI": 2, } )
Enum value maps for Recommendation_Kind.
var ( Recommendation_PeriodKind_name = map[int32]string{ 0: "PERIOD_KIND_UNSPECIFIED", 1: "PERIOD_KIND_HOURLY", } Recommendation_PeriodKind_value = map[string]int32{ "PERIOD_KIND_UNSPECIFIED": 0, "PERIOD_KIND_HOURLY": 1, } )
Enum value maps for Recommendation_PeriodKind.
var ( Recommendation_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_CREATED", 2: "STATUS_ACCEPTED", } Recommendation_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_CREATED": 1, "STATUS_ACCEPTED": 2, } )
Enum value maps for Recommendation_Status.
var AWSService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tadpole.aws_service.v1.AWSService", HandlerType: (*AWSServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOrganization", Handler: _AWSService_CreateOrganization_Handler, }, { MethodName: "GetOrganizationAccounts", Handler: _AWSService_GetOrganizationAccounts_Handler, }, { MethodName: "GetOrganizationRegions", Handler: _AWSService_GetOrganizationRegions_Handler, }, { MethodName: "GenerateRecommendations", Handler: _AWSService_GenerateRecommendations_Handler, }, { MethodName: "GetRecommendationTask", Handler: _AWSService_GetRecommendationTask_Handler, }, { MethodName: "GetRecommendations", Handler: _AWSService_GetRecommendations_Handler, }, { MethodName: "GetUsage", Handler: _AWSService_GetUsage_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "tadpole/aws-svc/v1/aws.proto", }
AWSService_ServiceDesc is the grpc.ServiceDesc for AWSService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_tadpole_aws_svc_v1_aws_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAWSServiceServer ¶
func RegisterAWSServiceServer(s grpc.ServiceRegistrar, srv AWSServiceServer)
Types ¶
type AWSServiceClient ¶
type AWSServiceClient interface { CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*CreateOrganizationResponse, error) GetOrganizationAccounts(ctx context.Context, in *GetOrganizationAccountsRequest, opts ...grpc.CallOption) (*GetOrganizationAccountsResponse, error) GetOrganizationRegions(ctx context.Context, in *GetOrganizationRegionsRequest, opts ...grpc.CallOption) (*GetOrganizationRegionsResponse, error) GenerateRecommendations(ctx context.Context, in *GenerateRecommendationsRequest, opts ...grpc.CallOption) (*GenerateRecommendationsResponse, error) GetRecommendationTask(ctx context.Context, in *GetRecommendationTaskRequest, opts ...grpc.CallOption) (*GetRecommendationTaskResponse, error) GetRecommendations(ctx context.Context, in *GetRecommendationsRequest, opts ...grpc.CallOption) (*GetRecommendationsResponse, error) GetUsage(ctx context.Context, in *GetUsageRequest, opts ...grpc.CallOption) (*GetUsageResponse, error) }
AWSServiceClient is the client API for AWSService 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 NewAWSServiceClient ¶
func NewAWSServiceClient(cc grpc.ClientConnInterface) AWSServiceClient
type AWSServiceServer ¶
type AWSServiceServer interface { CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error) GetOrganizationAccounts(context.Context, *GetOrganizationAccountsRequest) (*GetOrganizationAccountsResponse, error) GetOrganizationRegions(context.Context, *GetOrganizationRegionsRequest) (*GetOrganizationRegionsResponse, error) GenerateRecommendations(context.Context, *GenerateRecommendationsRequest) (*GenerateRecommendationsResponse, error) GetRecommendationTask(context.Context, *GetRecommendationTaskRequest) (*GetRecommendationTaskResponse, error) GetRecommendations(context.Context, *GetRecommendationsRequest) (*GetRecommendationsResponse, error) GetUsage(context.Context, *GetUsageRequest) (*GetUsageResponse, error) // contains filtered or unexported methods }
AWSServiceServer is the server API for AWSService service. All implementations must embed UnimplementedAWSServiceServer for forward compatibility
type CreateOrganizationRequest ¶
type CreateOrganizationRequest struct { RoleArn string `protobuf:"bytes,1,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"` ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // contains filtered or unexported fields }
func (*CreateOrganizationRequest) Descriptor
deprecated
func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.
func (*CreateOrganizationRequest) GetExternalId ¶
func (x *CreateOrganizationRequest) GetExternalId() string
func (*CreateOrganizationRequest) GetRoleArn ¶
func (x *CreateOrganizationRequest) GetRoleArn() string
func (*CreateOrganizationRequest) ProtoMessage ¶
func (*CreateOrganizationRequest) ProtoMessage()
func (*CreateOrganizationRequest) ProtoReflect ¶
func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
func (*CreateOrganizationRequest) Reset ¶
func (x *CreateOrganizationRequest) Reset()
func (*CreateOrganizationRequest) String ¶
func (x *CreateOrganizationRequest) String() string
type CreateOrganizationResponse ¶
type CreateOrganizationResponse struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*CreateOrganizationResponse) Descriptor
deprecated
func (*CreateOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationResponse.ProtoReflect.Descriptor instead.
func (*CreateOrganizationResponse) GetOrganizationId ¶ added in v0.3.33
func (x *CreateOrganizationResponse) GetOrganizationId() string
func (*CreateOrganizationResponse) ProtoMessage ¶
func (*CreateOrganizationResponse) ProtoMessage()
func (*CreateOrganizationResponse) ProtoReflect ¶
func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message
func (*CreateOrganizationResponse) Reset ¶
func (x *CreateOrganizationResponse) Reset()
func (*CreateOrganizationResponse) String ¶
func (x *CreateOrganizationResponse) String() string
type GenerateRecommendationsRequest ¶
type GenerateRecommendationsRequest struct { // This data should come from jwt. OrganizationId string `protobuf:"bytes,10,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*GenerateRecommendationsRequest) Descriptor
deprecated
func (*GenerateRecommendationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateRecommendationsRequest.ProtoReflect.Descriptor instead.
func (*GenerateRecommendationsRequest) GetOrganizationId ¶
func (x *GenerateRecommendationsRequest) GetOrganizationId() string
func (*GenerateRecommendationsRequest) ProtoMessage ¶
func (*GenerateRecommendationsRequest) ProtoMessage()
func (*GenerateRecommendationsRequest) ProtoReflect ¶
func (x *GenerateRecommendationsRequest) ProtoReflect() protoreflect.Message
func (*GenerateRecommendationsRequest) Reset ¶
func (x *GenerateRecommendationsRequest) Reset()
func (*GenerateRecommendationsRequest) String ¶
func (x *GenerateRecommendationsRequest) String() string
type GenerateRecommendationsResponse ¶
type GenerateRecommendationsResponse struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // contains filtered or unexported fields }
func (*GenerateRecommendationsResponse) Descriptor
deprecated
func (*GenerateRecommendationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateRecommendationsResponse.ProtoReflect.Descriptor instead.
func (*GenerateRecommendationsResponse) GetTaskId ¶
func (x *GenerateRecommendationsResponse) GetTaskId() string
func (*GenerateRecommendationsResponse) ProtoMessage ¶
func (*GenerateRecommendationsResponse) ProtoMessage()
func (*GenerateRecommendationsResponse) ProtoReflect ¶
func (x *GenerateRecommendationsResponse) ProtoReflect() protoreflect.Message
func (*GenerateRecommendationsResponse) Reset ¶
func (x *GenerateRecommendationsResponse) Reset()
func (*GenerateRecommendationsResponse) String ¶
func (x *GenerateRecommendationsResponse) String() string
type GetOrganizationAccountsRequest ¶ added in v0.3.33
type GetOrganizationAccountsRequest struct { // This data should come from jwt. OrganizationId string `protobuf:"bytes,10,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationAccountsRequest) Descriptor
deprecated
added in
v0.3.33
func (*GetOrganizationAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationAccountsRequest.ProtoReflect.Descriptor instead.
func (*GetOrganizationAccountsRequest) GetOrganizationId ¶ added in v0.3.33
func (x *GetOrganizationAccountsRequest) GetOrganizationId() string
func (*GetOrganizationAccountsRequest) ProtoMessage ¶ added in v0.3.33
func (*GetOrganizationAccountsRequest) ProtoMessage()
func (*GetOrganizationAccountsRequest) ProtoReflect ¶ added in v0.3.33
func (x *GetOrganizationAccountsRequest) ProtoReflect() protoreflect.Message
func (*GetOrganizationAccountsRequest) Reset ¶ added in v0.3.33
func (x *GetOrganizationAccountsRequest) Reset()
func (*GetOrganizationAccountsRequest) String ¶ added in v0.3.33
func (x *GetOrganizationAccountsRequest) String() string
type GetOrganizationAccountsResponse ¶ added in v0.3.33
type GetOrganizationAccountsResponse struct { Accounts []*OrganizationAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationAccountsResponse) Descriptor
deprecated
added in
v0.3.33
func (*GetOrganizationAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationAccountsResponse.ProtoReflect.Descriptor instead.
func (*GetOrganizationAccountsResponse) GetAccounts ¶ added in v0.3.33
func (x *GetOrganizationAccountsResponse) GetAccounts() []*OrganizationAccount
func (*GetOrganizationAccountsResponse) ProtoMessage ¶ added in v0.3.33
func (*GetOrganizationAccountsResponse) ProtoMessage()
func (*GetOrganizationAccountsResponse) ProtoReflect ¶ added in v0.3.33
func (x *GetOrganizationAccountsResponse) ProtoReflect() protoreflect.Message
func (*GetOrganizationAccountsResponse) Reset ¶ added in v0.3.33
func (x *GetOrganizationAccountsResponse) Reset()
func (*GetOrganizationAccountsResponse) String ¶ added in v0.3.33
func (x *GetOrganizationAccountsResponse) String() string
type GetOrganizationRegionsRequest ¶ added in v0.3.33
type GetOrganizationRegionsRequest struct { // This data should come from jwt. OrganizationId string `protobuf:"bytes,10,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationRegionsRequest) Descriptor
deprecated
added in
v0.3.33
func (*GetOrganizationRegionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationRegionsRequest.ProtoReflect.Descriptor instead.
func (*GetOrganizationRegionsRequest) GetOrganizationId ¶ added in v0.3.33
func (x *GetOrganizationRegionsRequest) GetOrganizationId() string
func (*GetOrganizationRegionsRequest) ProtoMessage ¶ added in v0.3.33
func (*GetOrganizationRegionsRequest) ProtoMessage()
func (*GetOrganizationRegionsRequest) ProtoReflect ¶ added in v0.3.33
func (x *GetOrganizationRegionsRequest) ProtoReflect() protoreflect.Message
func (*GetOrganizationRegionsRequest) Reset ¶ added in v0.3.33
func (x *GetOrganizationRegionsRequest) Reset()
func (*GetOrganizationRegionsRequest) String ¶ added in v0.3.33
func (x *GetOrganizationRegionsRequest) String() string
type GetOrganizationRegionsResponse ¶ added in v0.3.33
type GetOrganizationRegionsResponse struct { Regions []string `protobuf:"bytes,1,rep,name=regions,proto3" json:"regions,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationRegionsResponse) Descriptor
deprecated
added in
v0.3.33
func (*GetOrganizationRegionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationRegionsResponse.ProtoReflect.Descriptor instead.
func (*GetOrganizationRegionsResponse) GetRegions ¶ added in v0.3.33
func (x *GetOrganizationRegionsResponse) GetRegions() []string
func (*GetOrganizationRegionsResponse) ProtoMessage ¶ added in v0.3.33
func (*GetOrganizationRegionsResponse) ProtoMessage()
func (*GetOrganizationRegionsResponse) ProtoReflect ¶ added in v0.3.33
func (x *GetOrganizationRegionsResponse) ProtoReflect() protoreflect.Message
func (*GetOrganizationRegionsResponse) Reset ¶ added in v0.3.33
func (x *GetOrganizationRegionsResponse) Reset()
func (*GetOrganizationRegionsResponse) String ¶ added in v0.3.33
func (x *GetOrganizationRegionsResponse) String() string
type GetRecommendationTaskRequest ¶
type GetRecommendationTaskRequest struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // contains filtered or unexported fields }
func (*GetRecommendationTaskRequest) Descriptor
deprecated
func (*GetRecommendationTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRecommendationTaskRequest.ProtoReflect.Descriptor instead.
func (*GetRecommendationTaskRequest) GetTaskId ¶
func (x *GetRecommendationTaskRequest) GetTaskId() string
func (*GetRecommendationTaskRequest) ProtoMessage ¶
func (*GetRecommendationTaskRequest) ProtoMessage()
func (*GetRecommendationTaskRequest) ProtoReflect ¶
func (x *GetRecommendationTaskRequest) ProtoReflect() protoreflect.Message
func (*GetRecommendationTaskRequest) Reset ¶
func (x *GetRecommendationTaskRequest) Reset()
func (*GetRecommendationTaskRequest) String ¶
func (x *GetRecommendationTaskRequest) String() string
type GetRecommendationTaskResponse ¶
type GetRecommendationTaskResponse struct { Progress int64 `protobuf:"varint,1,opt,name=progress,proto3" json:"progress,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*GetRecommendationTaskResponse) Descriptor
deprecated
func (*GetRecommendationTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRecommendationTaskResponse.ProtoReflect.Descriptor instead.
func (*GetRecommendationTaskResponse) GetErrorMessage ¶
func (x *GetRecommendationTaskResponse) GetErrorMessage() string
func (*GetRecommendationTaskResponse) GetProgress ¶
func (x *GetRecommendationTaskResponse) GetProgress() int64
func (*GetRecommendationTaskResponse) ProtoMessage ¶
func (*GetRecommendationTaskResponse) ProtoMessage()
func (*GetRecommendationTaskResponse) ProtoReflect ¶
func (x *GetRecommendationTaskResponse) ProtoReflect() protoreflect.Message
func (*GetRecommendationTaskResponse) Reset ¶
func (x *GetRecommendationTaskResponse) Reset()
func (*GetRecommendationTaskResponse) String ¶
func (x *GetRecommendationTaskResponse) String() string
type GetRecommendationsRequest ¶
type GetRecommendationsRequest struct { Status *Recommendation_Status `protobuf:"varint,1,opt,name=status,proto3,enum=tadpole.aws_service.v1.Recommendation_Status,oneof" json:"status,omitempty"` AccountId *string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3,oneof" json:"account_id,omitempty"` Region *string `protobuf:"bytes,3,opt,name=region,proto3,oneof" json:"region,omitempty"` Service *string `protobuf:"bytes,4,opt,name=service,proto3,oneof" json:"service,omitempty"` Page *protobuf.PageInput `protobuf:"bytes,10,opt,name=page,proto3" json:"page,omitempty"` // This data should come from jwt. OrganizationId string `protobuf:"bytes,11,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*GetRecommendationsRequest) Descriptor
deprecated
func (*GetRecommendationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRecommendationsRequest.ProtoReflect.Descriptor instead.
func (*GetRecommendationsRequest) GetAccountId ¶
func (x *GetRecommendationsRequest) GetAccountId() string
func (*GetRecommendationsRequest) GetOrganizationId ¶
func (x *GetRecommendationsRequest) GetOrganizationId() string
func (*GetRecommendationsRequest) GetPage ¶
func (x *GetRecommendationsRequest) GetPage() *protobuf.PageInput
func (*GetRecommendationsRequest) GetRegion ¶
func (x *GetRecommendationsRequest) GetRegion() string
func (*GetRecommendationsRequest) GetService ¶
func (x *GetRecommendationsRequest) GetService() string
func (*GetRecommendationsRequest) GetStatus ¶
func (x *GetRecommendationsRequest) GetStatus() Recommendation_Status
func (*GetRecommendationsRequest) ProtoMessage ¶
func (*GetRecommendationsRequest) ProtoMessage()
func (*GetRecommendationsRequest) ProtoReflect ¶
func (x *GetRecommendationsRequest) ProtoReflect() protoreflect.Message
func (*GetRecommendationsRequest) Reset ¶
func (x *GetRecommendationsRequest) Reset()
func (*GetRecommendationsRequest) String ¶
func (x *GetRecommendationsRequest) String() string
type GetRecommendationsResponse ¶
type GetRecommendationsResponse struct { Recommendations []*Recommendation `protobuf:"bytes,1,rep,name=recommendations,proto3" json:"recommendations,omitempty"` NextPage *protobuf.PageToken `protobuf:"bytes,2,opt,name=next_page,json=nextPage,proto3" json:"next_page,omitempty"` // contains filtered or unexported fields }
func (*GetRecommendationsResponse) Descriptor
deprecated
func (*GetRecommendationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRecommendationsResponse.ProtoReflect.Descriptor instead.
func (*GetRecommendationsResponse) GetNextPage ¶
func (x *GetRecommendationsResponse) GetNextPage() *protobuf.PageToken
func (*GetRecommendationsResponse) GetRecommendations ¶
func (x *GetRecommendationsResponse) GetRecommendations() []*Recommendation
func (*GetRecommendationsResponse) ProtoMessage ¶
func (*GetRecommendationsResponse) ProtoMessage()
func (*GetRecommendationsResponse) ProtoReflect ¶
func (x *GetRecommendationsResponse) ProtoReflect() protoreflect.Message
func (*GetRecommendationsResponse) Reset ¶
func (x *GetRecommendationsResponse) Reset()
func (*GetRecommendationsResponse) String ¶
func (x *GetRecommendationsResponse) String() string
type GetUsageRequest ¶
type GetUsageRequest struct { From *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Granularity Granularity `protobuf:"varint,3,opt,name=granularity,proto3,enum=tadpole.aws_service.v1.Granularity" json:"granularity,omitempty"` Region *string `protobuf:"bytes,4,opt,name=region,proto3,oneof" json:"region,omitempty"` AccountId *string `protobuf:"bytes,5,opt,name=account_id,json=accountId,proto3,oneof" json:"account_id,omitempty"` Service *string `protobuf:"bytes,6,opt,name=service,proto3,oneof" json:"service,omitempty"` // This data should come from jwt. OrganizationId string `protobuf:"bytes,10,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*GetUsageRequest) Descriptor
deprecated
func (*GetUsageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsageRequest.ProtoReflect.Descriptor instead.
func (*GetUsageRequest) GetAccountId ¶
func (x *GetUsageRequest) GetAccountId() string
func (*GetUsageRequest) GetFrom ¶
func (x *GetUsageRequest) GetFrom() *timestamppb.Timestamp
func (*GetUsageRequest) GetGranularity ¶
func (x *GetUsageRequest) GetGranularity() Granularity
func (*GetUsageRequest) GetOrganizationId ¶
func (x *GetUsageRequest) GetOrganizationId() string
func (*GetUsageRequest) GetRegion ¶
func (x *GetUsageRequest) GetRegion() string
func (*GetUsageRequest) GetService ¶
func (x *GetUsageRequest) GetService() string
func (*GetUsageRequest) GetTo ¶
func (x *GetUsageRequest) GetTo() *timestamppb.Timestamp
func (*GetUsageRequest) ProtoMessage ¶
func (*GetUsageRequest) ProtoMessage()
func (*GetUsageRequest) ProtoReflect ¶
func (x *GetUsageRequest) ProtoReflect() protoreflect.Message
func (*GetUsageRequest) Reset ¶
func (x *GetUsageRequest) Reset()
func (*GetUsageRequest) String ¶
func (x *GetUsageRequest) String() string
type GetUsageResponse ¶
type GetUsageResponse struct { Usage []*Usage `protobuf:"bytes,1,rep,name=usage,proto3" json:"usage,omitempty"` // contains filtered or unexported fields }
func (*GetUsageResponse) Descriptor
deprecated
func (*GetUsageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsageResponse.ProtoReflect.Descriptor instead.
func (*GetUsageResponse) GetUsage ¶
func (x *GetUsageResponse) GetUsage() []*Usage
func (*GetUsageResponse) ProtoMessage ¶
func (*GetUsageResponse) ProtoMessage()
func (*GetUsageResponse) ProtoReflect ¶
func (x *GetUsageResponse) ProtoReflect() protoreflect.Message
func (*GetUsageResponse) Reset ¶
func (x *GetUsageResponse) Reset()
func (*GetUsageResponse) String ¶
func (x *GetUsageResponse) String() string
type Granularity ¶
type Granularity int32
const ( Granularity_GRANULARITY_UNSPECIFIED Granularity = 0 Granularity_GRANULARITY_HOURLY Granularity = 1 Granularity_GRANULARITY_DAILY Granularity = 2 Granularity_GRANULARITY_MONTHLY Granularity = 3 )
func (Granularity) Descriptor ¶
func (Granularity) Descriptor() protoreflect.EnumDescriptor
func (Granularity) Enum ¶
func (x Granularity) Enum() *Granularity
func (Granularity) EnumDescriptor
deprecated
func (Granularity) EnumDescriptor() ([]byte, []int)
Deprecated: Use Granularity.Descriptor instead.
func (Granularity) Number ¶
func (x Granularity) Number() protoreflect.EnumNumber
func (Granularity) String ¶
func (x Granularity) String() string
func (Granularity) Type ¶
func (Granularity) Type() protoreflect.EnumType
type OrganizationAccount ¶ added in v0.3.33
type OrganizationAccount struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*OrganizationAccount) Descriptor
deprecated
added in
v0.3.33
func (*OrganizationAccount) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationAccount.ProtoReflect.Descriptor instead.
func (*OrganizationAccount) GetId ¶ added in v0.3.33
func (x *OrganizationAccount) GetId() string
func (*OrganizationAccount) GetName ¶ added in v0.3.33
func (x *OrganizationAccount) GetName() string
func (*OrganizationAccount) ProtoMessage ¶ added in v0.3.33
func (*OrganizationAccount) ProtoMessage()
func (*OrganizationAccount) ProtoReflect ¶ added in v0.3.33
func (x *OrganizationAccount) ProtoReflect() protoreflect.Message
func (*OrganizationAccount) Reset ¶ added in v0.3.33
func (x *OrganizationAccount) Reset()
func (*OrganizationAccount) String ¶ added in v0.3.33
func (x *OrganizationAccount) String() string
type Recommendation ¶
type Recommendation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` AccountId *string `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3,oneof" json:"account_id,omitempty"` Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` Service string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"` OneTimeSaving string `protobuf:"bytes,6,opt,name=one_time_saving,json=oneTimeSaving,proto3" json:"one_time_saving,omitempty"` PeriodicSaving string `protobuf:"bytes,7,opt,name=periodic_saving,json=periodicSaving,proto3" json:"periodic_saving,omitempty"` PeriodKind Recommendation_PeriodKind `` /* 146-byte string literal not displayed */ SavingPeriod *durationpb.Duration `protobuf:"bytes,9,opt,name=saving_period,json=savingPeriod,proto3" json:"saving_period,omitempty"` Kind Recommendation_Kind `protobuf:"varint,10,opt,name=kind,proto3,enum=tadpole.aws_service.v1.Recommendation_Kind" json:"kind,omitempty"` Status Recommendation_Status `protobuf:"varint,11,opt,name=status,proto3,enum=tadpole.aws_service.v1.Recommendation_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Recommendation) Descriptor
deprecated
func (*Recommendation) Descriptor() ([]byte, []int)
Deprecated: Use Recommendation.ProtoReflect.Descriptor instead.
func (*Recommendation) GetAccountId ¶
func (x *Recommendation) GetAccountId() string
func (*Recommendation) GetId ¶
func (x *Recommendation) GetId() string
func (*Recommendation) GetKind ¶
func (x *Recommendation) GetKind() Recommendation_Kind
func (*Recommendation) GetOneTimeSaving ¶
func (x *Recommendation) GetOneTimeSaving() string
func (*Recommendation) GetPeriodKind ¶
func (x *Recommendation) GetPeriodKind() Recommendation_PeriodKind
func (*Recommendation) GetPeriodicSaving ¶
func (x *Recommendation) GetPeriodicSaving() string
func (*Recommendation) GetRegion ¶
func (x *Recommendation) GetRegion() string
func (*Recommendation) GetSavingPeriod ¶
func (x *Recommendation) GetSavingPeriod() *durationpb.Duration
func (*Recommendation) GetService ¶
func (x *Recommendation) GetService() string
func (*Recommendation) GetStatus ¶
func (x *Recommendation) GetStatus() Recommendation_Status
func (*Recommendation) GetTaskId ¶
func (x *Recommendation) GetTaskId() string
func (*Recommendation) ProtoMessage ¶
func (*Recommendation) ProtoMessage()
func (*Recommendation) ProtoReflect ¶
func (x *Recommendation) ProtoReflect() protoreflect.Message
func (*Recommendation) Reset ¶
func (x *Recommendation) Reset()
func (*Recommendation) String ¶
func (x *Recommendation) String() string
type Recommendation_Kind ¶
type Recommendation_Kind int32
const ( Recommendation_KIND_UNSPECIFIED Recommendation_Kind = 0 Recommendation_KIND_SELL_RI Recommendation_Kind = 1 Recommendation_KIND_BUY_RI Recommendation_Kind = 2 )
func (Recommendation_Kind) Descriptor ¶
func (Recommendation_Kind) Descriptor() protoreflect.EnumDescriptor
func (Recommendation_Kind) Enum ¶
func (x Recommendation_Kind) Enum() *Recommendation_Kind
func (Recommendation_Kind) EnumDescriptor
deprecated
func (Recommendation_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Recommendation_Kind.Descriptor instead.
func (Recommendation_Kind) Number ¶
func (x Recommendation_Kind) Number() protoreflect.EnumNumber
func (Recommendation_Kind) String ¶
func (x Recommendation_Kind) String() string
func (Recommendation_Kind) Type ¶
func (Recommendation_Kind) Type() protoreflect.EnumType
type Recommendation_PeriodKind ¶
type Recommendation_PeriodKind int32
const ( Recommendation_PERIOD_KIND_UNSPECIFIED Recommendation_PeriodKind = 0 Recommendation_PERIOD_KIND_HOURLY Recommendation_PeriodKind = 1 )
func (Recommendation_PeriodKind) Descriptor ¶
func (Recommendation_PeriodKind) Descriptor() protoreflect.EnumDescriptor
func (Recommendation_PeriodKind) Enum ¶
func (x Recommendation_PeriodKind) Enum() *Recommendation_PeriodKind
func (Recommendation_PeriodKind) EnumDescriptor
deprecated
func (Recommendation_PeriodKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Recommendation_PeriodKind.Descriptor instead.
func (Recommendation_PeriodKind) Number ¶
func (x Recommendation_PeriodKind) Number() protoreflect.EnumNumber
func (Recommendation_PeriodKind) String ¶
func (x Recommendation_PeriodKind) String() string
func (Recommendation_PeriodKind) Type ¶
func (Recommendation_PeriodKind) Type() protoreflect.EnumType
type Recommendation_Status ¶
type Recommendation_Status int32
const ( Recommendation_STATUS_UNSPECIFIED Recommendation_Status = 0 Recommendation_STATUS_CREATED Recommendation_Status = 1 Recommendation_STATUS_ACCEPTED Recommendation_Status = 2 )
func (Recommendation_Status) Descriptor ¶
func (Recommendation_Status) Descriptor() protoreflect.EnumDescriptor
func (Recommendation_Status) Enum ¶
func (x Recommendation_Status) Enum() *Recommendation_Status
func (Recommendation_Status) EnumDescriptor
deprecated
func (Recommendation_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Recommendation_Status.Descriptor instead.
func (Recommendation_Status) Number ¶
func (x Recommendation_Status) Number() protoreflect.EnumNumber
func (Recommendation_Status) String ¶
func (x Recommendation_Status) String() string
func (Recommendation_Status) Type ¶
func (Recommendation_Status) Type() protoreflect.EnumType
type UnimplementedAWSServiceServer ¶
type UnimplementedAWSServiceServer struct { }
UnimplementedAWSServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAWSServiceServer) CreateOrganization ¶
func (UnimplementedAWSServiceServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
func (UnimplementedAWSServiceServer) GenerateRecommendations ¶
func (UnimplementedAWSServiceServer) GenerateRecommendations(context.Context, *GenerateRecommendationsRequest) (*GenerateRecommendationsResponse, error)
func (UnimplementedAWSServiceServer) GetOrganizationAccounts ¶ added in v0.3.33
func (UnimplementedAWSServiceServer) GetOrganizationAccounts(context.Context, *GetOrganizationAccountsRequest) (*GetOrganizationAccountsResponse, error)
func (UnimplementedAWSServiceServer) GetOrganizationRegions ¶ added in v0.3.33
func (UnimplementedAWSServiceServer) GetOrganizationRegions(context.Context, *GetOrganizationRegionsRequest) (*GetOrganizationRegionsResponse, error)
func (UnimplementedAWSServiceServer) GetRecommendationTask ¶
func (UnimplementedAWSServiceServer) GetRecommendationTask(context.Context, *GetRecommendationTaskRequest) (*GetRecommendationTaskResponse, error)
func (UnimplementedAWSServiceServer) GetRecommendations ¶
func (UnimplementedAWSServiceServer) GetRecommendations(context.Context, *GetRecommendationsRequest) (*GetRecommendationsResponse, error)
func (UnimplementedAWSServiceServer) GetUsage ¶
func (UnimplementedAWSServiceServer) GetUsage(context.Context, *GetUsageRequest) (*GetUsageResponse, error)
type UnsafeAWSServiceServer ¶
type UnsafeAWSServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAWSServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AWSServiceServer will result in compilation errors.
type Usage ¶
type Usage struct { From *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Cost string `protobuf:"bytes,3,opt,name=cost,proto3" json:"cost,omitempty"` CanSave string `protobuf:"bytes,4,opt,name=can_save,json=canSave,proto3" json:"can_save,omitempty"` Forecasted bool `protobuf:"varint,5,opt,name=forecasted,proto3" json:"forecasted,omitempty"` // contains filtered or unexported fields }
func (*Usage) Descriptor
deprecated
func (*Usage) GetCanSave ¶
func (*Usage) GetForecasted ¶
func (*Usage) GetFrom ¶
func (x *Usage) GetFrom() *timestamppb.Timestamp
func (*Usage) GetTo ¶
func (x *Usage) GetTo() *timestamppb.Timestamp
func (*Usage) ProtoMessage ¶
func (*Usage) ProtoMessage()
func (*Usage) ProtoReflect ¶
func (x *Usage) ProtoReflect() protoreflect.Message