v1

package
v0.3.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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)

View Source
var File_tadpole_aws_svc_v1_aws_proto protoreflect.FileDescriptor

Functions

func RegisterAWSServiceServer

func RegisterAWSServiceServer(s grpc.ServiceRegistrar, srv AWSServiceServer)

Types

type AWSServiceClient

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

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 (*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 (*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 (*GenerateRecommendationsRequest) Reset

func (x *GenerateRecommendationsRequest) Reset()

func (*GenerateRecommendationsRequest) 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 (*GenerateRecommendationsResponse) Reset

func (*GenerateRecommendationsResponse) 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 (*GetOrganizationAccountsRequest) Reset added in v0.3.33

func (x *GetOrganizationAccountsRequest) Reset()

func (*GetOrganizationAccountsRequest) String added in v0.3.33

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 (*GetOrganizationAccountsResponse) ProtoMessage added in v0.3.33

func (*GetOrganizationAccountsResponse) ProtoMessage()

func (*GetOrganizationAccountsResponse) ProtoReflect added in v0.3.33

func (*GetOrganizationAccountsResponse) Reset added in v0.3.33

func (*GetOrganizationAccountsResponse) String added in v0.3.33

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 (*GetOrganizationRegionsRequest) Reset added in v0.3.33

func (x *GetOrganizationRegionsRequest) Reset()

func (*GetOrganizationRegionsRequest) String added in v0.3.33

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 (*GetOrganizationRegionsResponse) Reset added in v0.3.33

func (x *GetOrganizationRegionsResponse) Reset()

func (*GetOrganizationRegionsResponse) String added in v0.3.33

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 (*GetRecommendationTaskRequest) Reset

func (x *GetRecommendationTaskRequest) Reset()

func (*GetRecommendationTaskRequest) 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 (*GetRecommendationTaskResponse) Reset

func (x *GetRecommendationTaskResponse) Reset()

func (*GetRecommendationTaskResponse) 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 (*GetRecommendationsRequest) GetRegion

func (x *GetRecommendationsRequest) GetRegion() string

func (*GetRecommendationsRequest) GetService

func (x *GetRecommendationsRequest) GetService() string

func (*GetRecommendationsRequest) GetStatus

func (*GetRecommendationsRequest) ProtoMessage

func (*GetRecommendationsRequest) ProtoMessage()

func (*GetRecommendationsRequest) ProtoReflect

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 (*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 (*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) 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

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) Enum

func (Recommendation_Kind) EnumDescriptor deprecated

func (Recommendation_Kind) EnumDescriptor() ([]byte, []int)

Deprecated: Use Recommendation_Kind.Descriptor instead.

func (Recommendation_Kind) Number

func (Recommendation_Kind) String

func (x Recommendation_Kind) String() string

func (Recommendation_Kind) Type

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) Enum

func (Recommendation_PeriodKind) EnumDescriptor deprecated

func (Recommendation_PeriodKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use Recommendation_PeriodKind.Descriptor instead.

func (Recommendation_PeriodKind) Number

func (Recommendation_PeriodKind) String

func (x Recommendation_PeriodKind) String() string

func (Recommendation_PeriodKind) Type

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) Enum

func (Recommendation_Status) EnumDescriptor deprecated

func (Recommendation_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Recommendation_Status.Descriptor instead.

func (Recommendation_Status) Number

func (Recommendation_Status) String

func (x Recommendation_Status) String() string

func (Recommendation_Status) Type

type UnimplementedAWSServiceServer

type UnimplementedAWSServiceServer struct {
}

UnimplementedAWSServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAWSServiceServer) GetOrganizationAccounts added in v0.3.33

func (UnimplementedAWSServiceServer) GetOrganizationRegions added in v0.3.33

func (UnimplementedAWSServiceServer) GetUsage

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) Descriptor() ([]byte, []int)

Deprecated: Use Usage.ProtoReflect.Descriptor instead.

func (*Usage) GetCanSave

func (x *Usage) GetCanSave() string

func (*Usage) GetCost

func (x *Usage) GetCost() string

func (*Usage) GetForecasted

func (x *Usage) GetForecasted() bool

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

func (*Usage) Reset

func (x *Usage) Reset()

func (*Usage) String

func (x *Usage) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL