Documentation ¶
Index ¶
- Variables
- func RegisterCostServiceServer(s grpc.ServiceRegistrar, srv CostServiceServer)
- type CostProviderConcise
- func (*CostProviderConcise) Descriptor() ([]byte, []int)deprecated
- func (x *CostProviderConcise) GetId() string
- func (x *CostProviderConcise) GetName() string
- func (*CostProviderConcise) ProtoMessage()
- func (x *CostProviderConcise) ProtoReflect() protoreflect.Message
- func (x *CostProviderConcise) Reset()
- func (x *CostProviderConcise) String() string
- type CostProviderSummary
- func (*CostProviderSummary) Descriptor() ([]byte, []int)deprecated
- func (x *CostProviderSummary) GetCostGroupConnType() string
- func (x *CostProviderSummary) GetCostGroupName() string
- func (x *CostProviderSummary) GetCostPerMbps() float32
- func (x *CostProviderSummary) GetCostPerMbpsVariation() string
- func (x *CostProviderSummary) GetCurrency() string
- func (x *CostProviderSummary) GetDate() string
- func (x *CostProviderSummary) GetEgressTrafficMbps() float32
- func (x *CostProviderSummary) GetEgressTrafficVariation() string
- func (x *CostProviderSummary) GetIngressTrafficMbps() float32
- func (x *CostProviderSummary) GetIngressTrafficVariation() string
- func (x *CostProviderSummary) GetProviderName() string
- func (x *CostProviderSummary) GetSiteMarket() string
- func (x *CostProviderSummary) GetSiteName() string
- func (x *CostProviderSummary) GetStatus() Status
- func (x *CostProviderSummary) GetTotalCost() float32
- func (x *CostProviderSummary) GetTotalCostGroupAdditionalCost() float32
- func (x *CostProviderSummary) GetTotalCostGroupAdditionalInterfaceCost() float32
- func (x *CostProviderSummary) GetTotalCostVariation() string
- func (*CostProviderSummary) ProtoMessage()
- func (x *CostProviderSummary) ProtoReflect() protoreflect.Message
- func (x *CostProviderSummary) Reset()
- func (x *CostProviderSummary) String() string
- type CostServiceClient
- type CostServiceServer
- type GetCostProviderSummaryRequest
- func (*GetCostProviderSummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCostProviderSummaryRequest) GetDate() string
- func (x *GetCostProviderSummaryRequest) GetId() string
- func (*GetCostProviderSummaryRequest) ProtoMessage()
- func (x *GetCostProviderSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *GetCostProviderSummaryRequest) Reset()
- func (x *GetCostProviderSummaryRequest) String() string
- type GetCostProviderSummaryResponse
- func (*GetCostProviderSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCostProviderSummaryResponse) GetInvalidCount() uint32
- func (x *GetCostProviderSummaryResponse) GetProviders() []*CostProviderSummary
- func (*GetCostProviderSummaryResponse) ProtoMessage()
- func (x *GetCostProviderSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *GetCostProviderSummaryResponse) Reset()
- func (x *GetCostProviderSummaryResponse) String() string
- type ListCostProviderSummariesRequest
- func (*ListCostProviderSummariesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCostProviderSummariesRequest) GetDate() string
- func (*ListCostProviderSummariesRequest) ProtoMessage()
- func (x *ListCostProviderSummariesRequest) ProtoReflect() protoreflect.Message
- func (x *ListCostProviderSummariesRequest) Reset()
- func (x *ListCostProviderSummariesRequest) String() string
- type ListCostProviderSummariesResponse
- func (*ListCostProviderSummariesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCostProviderSummariesResponse) GetInvalidCount() uint32
- func (x *ListCostProviderSummariesResponse) GetProviders() []*CostProviderSummary
- func (*ListCostProviderSummariesResponse) ProtoMessage()
- func (x *ListCostProviderSummariesResponse) ProtoReflect() protoreflect.Message
- func (x *ListCostProviderSummariesResponse) Reset()
- func (x *ListCostProviderSummariesResponse) String() string
- type ListCostProvidersRequest
- type ListCostProvidersResponse
- func (*ListCostProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCostProvidersResponse) GetInvalidCount() uint32
- func (x *ListCostProvidersResponse) GetProviders() []*CostProviderConcise
- func (*ListCostProvidersResponse) ProtoMessage()
- func (x *ListCostProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *ListCostProvidersResponse) Reset()
- func (x *ListCostProvidersResponse) String() string
- type Status
- type UnimplementedCostServiceServer
- func (UnimplementedCostServiceServer) GetCostProviderSummary(context.Context, *GetCostProviderSummaryRequest) (*GetCostProviderSummaryResponse, error)
- func (UnimplementedCostServiceServer) ListCostProviderSummaries(context.Context, *ListCostProviderSummariesRequest) (*ListCostProviderSummariesResponse, error)
- func (UnimplementedCostServiceServer) ListCostProviders(context.Context, *ListCostProvidersRequest) (*ListCostProvidersResponse, error)
- type UnsafeCostServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_INCOMPLETE", 2: "STATUS_COMPLETE", } Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_INCOMPLETE": 1, "STATUS_COMPLETE": 2, } )
Enum value maps for Status.
var CostService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kentik.cost.v202308.CostService", HandlerType: (*CostServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListCostProviders", Handler: _CostService_ListCostProviders_Handler, }, { MethodName: "ListCostProviderSummaries", Handler: _CostService_ListCostProviderSummaries_Handler, }, { MethodName: "GetCostProviderSummary", Handler: _CostService_GetCostProviderSummary_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kentik/cost/v202308/cost.proto", }
CostService_ServiceDesc is the grpc.ServiceDesc for CostService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_kentik_cost_v202308_cost_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCostServiceServer ¶
func RegisterCostServiceServer(s grpc.ServiceRegistrar, srv CostServiceServer)
Types ¶
type CostProviderConcise ¶
type CostProviderConcise 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 }
{{.Name}}
func (*CostProviderConcise) Descriptor
deprecated
func (*CostProviderConcise) Descriptor() ([]byte, []int)
Deprecated: Use CostProviderConcise.ProtoReflect.Descriptor instead.
func (*CostProviderConcise) GetId ¶
func (x *CostProviderConcise) GetId() string
func (*CostProviderConcise) GetName ¶
func (x *CostProviderConcise) GetName() string
func (*CostProviderConcise) ProtoMessage ¶
func (*CostProviderConcise) ProtoMessage()
func (*CostProviderConcise) ProtoReflect ¶
func (x *CostProviderConcise) ProtoReflect() protoreflect.Message
func (*CostProviderConcise) Reset ¶
func (x *CostProviderConcise) Reset()
func (*CostProviderConcise) String ¶
func (x *CostProviderConcise) String() string
type CostProviderSummary ¶
type CostProviderSummary struct { Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=kentik.cost.v202308.Status" json:"status,omitempty"` TotalCost float32 `protobuf:"fixed32,3,opt,name=total_cost,json=totalCost,proto3" json:"total_cost,omitempty"` TotalCostVariation string `protobuf:"bytes,4,opt,name=total_cost_variation,json=totalCostVariation,proto3" json:"total_cost_variation,omitempty"` TotalCostGroupAdditionalCost float32 `` /* 153-byte string literal not displayed */ TotalCostGroupAdditionalInterfaceCost float32 `` /* 182-byte string literal not displayed */ Currency string `protobuf:"bytes,7,opt,name=currency,proto3" json:"currency,omitempty"` CostPerMbps float32 `protobuf:"fixed32,8,opt,name=cost_per_mbps,json=costPerMbps,proto3" json:"cost_per_mbps,omitempty"` CostPerMbpsVariation string `protobuf:"bytes,9,opt,name=cost_per_mbps_variation,json=costPerMbpsVariation,proto3" json:"cost_per_mbps_variation,omitempty"` ProviderName string `protobuf:"bytes,10,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"` CostGroupName string `protobuf:"bytes,11,opt,name=cost_group_name,json=costGroupName,proto3" json:"cost_group_name,omitempty"` CostGroupConnType string `protobuf:"bytes,12,opt,name=cost_group_conn_type,json=costGroupConnType,proto3" json:"cost_group_conn_type,omitempty"` SiteName string `protobuf:"bytes,13,opt,name=site_name,json=siteName,proto3" json:"site_name,omitempty"` SiteMarket string `protobuf:"bytes,14,opt,name=site_market,json=siteMarket,proto3" json:"site_market,omitempty"` IngressTrafficMbps float32 `protobuf:"fixed32,15,opt,name=ingress_traffic_mbps,json=ingressTrafficMbps,proto3" json:"ingress_traffic_mbps,omitempty"` IngressTrafficVariation string `` /* 133-byte string literal not displayed */ EgressTrafficMbps float32 `protobuf:"fixed32,17,opt,name=egress_traffic_mbps,json=egressTrafficMbps,proto3" json:"egress_traffic_mbps,omitempty"` EgressTrafficVariation string `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
{{.Name}}
func (*CostProviderSummary) Descriptor
deprecated
func (*CostProviderSummary) Descriptor() ([]byte, []int)
Deprecated: Use CostProviderSummary.ProtoReflect.Descriptor instead.
func (*CostProviderSummary) GetCostGroupConnType ¶
func (x *CostProviderSummary) GetCostGroupConnType() string
func (*CostProviderSummary) GetCostGroupName ¶
func (x *CostProviderSummary) GetCostGroupName() string
func (*CostProviderSummary) GetCostPerMbps ¶
func (x *CostProviderSummary) GetCostPerMbps() float32
func (*CostProviderSummary) GetCostPerMbpsVariation ¶
func (x *CostProviderSummary) GetCostPerMbpsVariation() string
func (*CostProviderSummary) GetCurrency ¶
func (x *CostProviderSummary) GetCurrency() string
func (*CostProviderSummary) GetDate ¶
func (x *CostProviderSummary) GetDate() string
func (*CostProviderSummary) GetEgressTrafficMbps ¶
func (x *CostProviderSummary) GetEgressTrafficMbps() float32
func (*CostProviderSummary) GetEgressTrafficVariation ¶
func (x *CostProviderSummary) GetEgressTrafficVariation() string
func (*CostProviderSummary) GetIngressTrafficMbps ¶
func (x *CostProviderSummary) GetIngressTrafficMbps() float32
func (*CostProviderSummary) GetIngressTrafficVariation ¶
func (x *CostProviderSummary) GetIngressTrafficVariation() string
func (*CostProviderSummary) GetProviderName ¶
func (x *CostProviderSummary) GetProviderName() string
func (*CostProviderSummary) GetSiteMarket ¶
func (x *CostProviderSummary) GetSiteMarket() string
func (*CostProviderSummary) GetSiteName ¶
func (x *CostProviderSummary) GetSiteName() string
func (*CostProviderSummary) GetStatus ¶
func (x *CostProviderSummary) GetStatus() Status
func (*CostProviderSummary) GetTotalCost ¶
func (x *CostProviderSummary) GetTotalCost() float32
func (*CostProviderSummary) GetTotalCostGroupAdditionalCost ¶
func (x *CostProviderSummary) GetTotalCostGroupAdditionalCost() float32
func (*CostProviderSummary) GetTotalCostGroupAdditionalInterfaceCost ¶
func (x *CostProviderSummary) GetTotalCostGroupAdditionalInterfaceCost() float32
func (*CostProviderSummary) GetTotalCostVariation ¶
func (x *CostProviderSummary) GetTotalCostVariation() string
func (*CostProviderSummary) ProtoMessage ¶
func (*CostProviderSummary) ProtoMessage()
func (*CostProviderSummary) ProtoReflect ¶
func (x *CostProviderSummary) ProtoReflect() protoreflect.Message
func (*CostProviderSummary) Reset ¶
func (x *CostProviderSummary) Reset()
func (*CostProviderSummary) String ¶
func (x *CostProviderSummary) String() string
type CostServiceClient ¶
type CostServiceClient interface { ListCostProviders(ctx context.Context, in *ListCostProvidersRequest, opts ...grpc.CallOption) (*ListCostProvidersResponse, error) ListCostProviderSummaries(ctx context.Context, in *ListCostProviderSummariesRequest, opts ...grpc.CallOption) (*ListCostProviderSummariesResponse, error) GetCostProviderSummary(ctx context.Context, in *GetCostProviderSummaryRequest, opts ...grpc.CallOption) (*GetCostProviderSummaryResponse, error) }
CostServiceClient is the client API for CostService 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 NewCostServiceClient ¶
func NewCostServiceClient(cc grpc.ClientConnInterface) CostServiceClient
type CostServiceServer ¶
type CostServiceServer interface { ListCostProviders(context.Context, *ListCostProvidersRequest) (*ListCostProvidersResponse, error) ListCostProviderSummaries(context.Context, *ListCostProviderSummariesRequest) (*ListCostProviderSummariesResponse, error) GetCostProviderSummary(context.Context, *GetCostProviderSummaryRequest) (*GetCostProviderSummaryResponse, error) }
CostServiceServer is the server API for CostService service. All implementations should embed UnimplementedCostServiceServer for forward compatibility
type GetCostProviderSummaryRequest ¶
type GetCostProviderSummaryRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Date string `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*GetCostProviderSummaryRequest) Descriptor
deprecated
func (*GetCostProviderSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCostProviderSummaryRequest.ProtoReflect.Descriptor instead.
func (*GetCostProviderSummaryRequest) GetDate ¶
func (x *GetCostProviderSummaryRequest) GetDate() string
func (*GetCostProviderSummaryRequest) GetId ¶
func (x *GetCostProviderSummaryRequest) GetId() string
func (*GetCostProviderSummaryRequest) ProtoMessage ¶
func (*GetCostProviderSummaryRequest) ProtoMessage()
func (*GetCostProviderSummaryRequest) ProtoReflect ¶
func (x *GetCostProviderSummaryRequest) ProtoReflect() protoreflect.Message
func (*GetCostProviderSummaryRequest) Reset ¶
func (x *GetCostProviderSummaryRequest) Reset()
func (*GetCostProviderSummaryRequest) String ¶
func (x *GetCostProviderSummaryRequest) String() string
type GetCostProviderSummaryResponse ¶
type GetCostProviderSummaryResponse struct { Providers []*CostProviderSummary `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` InvalidCount uint32 `protobuf:"varint,2,opt,name=invalid_count,json=invalidCount,proto3" json:"invalid_count,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*GetCostProviderSummaryResponse) Descriptor
deprecated
func (*GetCostProviderSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCostProviderSummaryResponse.ProtoReflect.Descriptor instead.
func (*GetCostProviderSummaryResponse) GetInvalidCount ¶
func (x *GetCostProviderSummaryResponse) GetInvalidCount() uint32
func (*GetCostProviderSummaryResponse) GetProviders ¶
func (x *GetCostProviderSummaryResponse) GetProviders() []*CostProviderSummary
func (*GetCostProviderSummaryResponse) ProtoMessage ¶
func (*GetCostProviderSummaryResponse) ProtoMessage()
func (*GetCostProviderSummaryResponse) ProtoReflect ¶
func (x *GetCostProviderSummaryResponse) ProtoReflect() protoreflect.Message
func (*GetCostProviderSummaryResponse) Reset ¶
func (x *GetCostProviderSummaryResponse) Reset()
func (*GetCostProviderSummaryResponse) String ¶
func (x *GetCostProviderSummaryResponse) String() string
type ListCostProviderSummariesRequest ¶
type ListCostProviderSummariesRequest struct { Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*ListCostProviderSummariesRequest) Descriptor
deprecated
func (*ListCostProviderSummariesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCostProviderSummariesRequest.ProtoReflect.Descriptor instead.
func (*ListCostProviderSummariesRequest) GetDate ¶
func (x *ListCostProviderSummariesRequest) GetDate() string
func (*ListCostProviderSummariesRequest) ProtoMessage ¶
func (*ListCostProviderSummariesRequest) ProtoMessage()
func (*ListCostProviderSummariesRequest) ProtoReflect ¶
func (x *ListCostProviderSummariesRequest) ProtoReflect() protoreflect.Message
func (*ListCostProviderSummariesRequest) Reset ¶
func (x *ListCostProviderSummariesRequest) Reset()
func (*ListCostProviderSummariesRequest) String ¶
func (x *ListCostProviderSummariesRequest) String() string
type ListCostProviderSummariesResponse ¶
type ListCostProviderSummariesResponse struct { Providers []*CostProviderSummary `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` InvalidCount uint32 `protobuf:"varint,2,opt,name=invalid_count,json=invalidCount,proto3" json:"invalid_count,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*ListCostProviderSummariesResponse) Descriptor
deprecated
func (*ListCostProviderSummariesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCostProviderSummariesResponse.ProtoReflect.Descriptor instead.
func (*ListCostProviderSummariesResponse) GetInvalidCount ¶
func (x *ListCostProviderSummariesResponse) GetInvalidCount() uint32
func (*ListCostProviderSummariesResponse) GetProviders ¶
func (x *ListCostProviderSummariesResponse) GetProviders() []*CostProviderSummary
func (*ListCostProviderSummariesResponse) ProtoMessage ¶
func (*ListCostProviderSummariesResponse) ProtoMessage()
func (*ListCostProviderSummariesResponse) ProtoReflect ¶
func (x *ListCostProviderSummariesResponse) ProtoReflect() protoreflect.Message
func (*ListCostProviderSummariesResponse) Reset ¶
func (x *ListCostProviderSummariesResponse) Reset()
func (*ListCostProviderSummariesResponse) String ¶
func (x *ListCostProviderSummariesResponse) String() string
type ListCostProvidersRequest ¶
type ListCostProvidersRequest struct {
// contains filtered or unexported fields
}
{{.Name}}
func (*ListCostProvidersRequest) Descriptor
deprecated
func (*ListCostProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCostProvidersRequest.ProtoReflect.Descriptor instead.
func (*ListCostProvidersRequest) ProtoMessage ¶
func (*ListCostProvidersRequest) ProtoMessage()
func (*ListCostProvidersRequest) ProtoReflect ¶
func (x *ListCostProvidersRequest) ProtoReflect() protoreflect.Message
func (*ListCostProvidersRequest) Reset ¶
func (x *ListCostProvidersRequest) Reset()
func (*ListCostProvidersRequest) String ¶
func (x *ListCostProvidersRequest) String() string
type ListCostProvidersResponse ¶
type ListCostProvidersResponse struct { Providers []*CostProviderConcise `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` InvalidCount uint32 `protobuf:"varint,2,opt,name=invalid_count,json=invalidCount,proto3" json:"invalid_count,omitempty"` // contains filtered or unexported fields }
{{.Name}}
func (*ListCostProvidersResponse) Descriptor
deprecated
func (*ListCostProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCostProvidersResponse.ProtoReflect.Descriptor instead.
func (*ListCostProvidersResponse) GetInvalidCount ¶
func (x *ListCostProvidersResponse) GetInvalidCount() uint32
func (*ListCostProvidersResponse) GetProviders ¶
func (x *ListCostProvidersResponse) GetProviders() []*CostProviderConcise
func (*ListCostProvidersResponse) ProtoMessage ¶
func (*ListCostProvidersResponse) ProtoMessage()
func (*ListCostProvidersResponse) ProtoReflect ¶
func (x *ListCostProvidersResponse) ProtoReflect() protoreflect.Message
func (*ListCostProvidersResponse) Reset ¶
func (x *ListCostProvidersResponse) Reset()
func (*ListCostProvidersResponse) String ¶
func (x *ListCostProvidersResponse) String() string
type Status ¶
type Status int32
{{.Name}}
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type UnimplementedCostServiceServer ¶
type UnimplementedCostServiceServer struct { }
UnimplementedCostServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedCostServiceServer) GetCostProviderSummary ¶
func (UnimplementedCostServiceServer) GetCostProviderSummary(context.Context, *GetCostProviderSummaryRequest) (*GetCostProviderSummaryResponse, error)
func (UnimplementedCostServiceServer) ListCostProviderSummaries ¶
func (UnimplementedCostServiceServer) ListCostProviderSummaries(context.Context, *ListCostProviderSummariesRequest) (*ListCostProviderSummariesResponse, error)
func (UnimplementedCostServiceServer) ListCostProviders ¶
func (UnimplementedCostServiceServer) ListCostProviders(context.Context, *ListCostProvidersRequest) (*ListCostProvidersResponse, error)
type UnsafeCostServiceServer ¶
type UnsafeCostServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCostServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CostServiceServer will result in compilation errors.