v1

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ClusterService_Added_FullMethodName    = "/metalstack.io.accounting.api.v1.ClusterService/Added"
	ClusterService_Modified_FullMethodName = "/metalstack.io.accounting.api.v1.ClusterService/Modified"
	ClusterService_Deleted_FullMethodName  = "/metalstack.io.accounting.api.v1.ClusterService/Deleted"
	ClusterService_Usage_FullMethodName    = "/metalstack.io.accounting.api.v1.ClusterService/Usage"
)
View Source
const (
	InfoService_Projects_FullMethodName = "/metalstack.io.accounting.api.v1.InfoService/Projects"
	InfoService_Tenants_FullMethodName  = "/metalstack.io.accounting.api.v1.InfoService/Tenants"
)
View Source
const (
	IPService_Added_FullMethodName    = "/metalstack.io.accounting.api.v1.IPService/Added"
	IPService_Modified_FullMethodName = "/metalstack.io.accounting.api.v1.IPService/Modified"
	IPService_Deleted_FullMethodName  = "/metalstack.io.accounting.api.v1.IPService/Deleted"
	IPService_Usage_FullMethodName    = "/metalstack.io.accounting.api.v1.IPService/Usage"
)
View Source
const (
	MachineService_Added_FullMethodName    = "/metalstack.io.accounting.api.v1.MachineService/Added"
	MachineService_Modified_FullMethodName = "/metalstack.io.accounting.api.v1.MachineService/Modified"
	MachineService_Deleted_FullMethodName  = "/metalstack.io.accounting.api.v1.MachineService/Deleted"
	MachineService_Usage_FullMethodName    = "/metalstack.io.accounting.api.v1.MachineService/Usage"
)
View Source
const (
	MachineReservationService_Added_FullMethodName    = "/metalstack.io.accounting.api.v1.MachineReservationService/Added"
	MachineReservationService_Modified_FullMethodName = "/metalstack.io.accounting.api.v1.MachineReservationService/Modified"
	MachineReservationService_Deleted_FullMethodName  = "/metalstack.io.accounting.api.v1.MachineReservationService/Deleted"
	MachineReservationService_Usage_FullMethodName    = "/metalstack.io.accounting.api.v1.MachineReservationService/Usage"
)
View Source
const (
	NetworkTrafficService_Modified_FullMethodName = "/metalstack.io.accounting.api.v1.NetworkTrafficService/Modified"
	NetworkTrafficService_Usage_FullMethodName    = "/metalstack.io.accounting.api.v1.NetworkTrafficService/Usage"
)
View Source
const (
	PodService_Added_FullMethodName    = "/metalstack.io.accounting.api.v1.PodService/Added"
	PodService_Modified_FullMethodName = "/metalstack.io.accounting.api.v1.PodService/Modified"
	PodService_Deleted_FullMethodName  = "/metalstack.io.accounting.api.v1.PodService/Deleted"
	PodService_Usage_FullMethodName    = "/metalstack.io.accounting.api.v1.PodService/Usage"
)
View Source
const (
	PostgresService_Added_FullMethodName    = "/metalstack.io.accounting.api.v1.PostgresService/Added"
	PostgresService_Modified_FullMethodName = "/metalstack.io.accounting.api.v1.PostgresService/Modified"
	PostgresService_Deleted_FullMethodName  = "/metalstack.io.accounting.api.v1.PostgresService/Deleted"
	PostgresService_Usage_FullMethodName    = "/metalstack.io.accounting.api.v1.PostgresService/Usage"
)
View Source
const (
	ProductOptionService_Modified_FullMethodName = "/metalstack.io.accounting.api.v1.ProductOptionService/Modified"
	ProductOptionService_Usage_FullMethodName    = "/metalstack.io.accounting.api.v1.ProductOptionService/Usage"
)
View Source
const (
	S3Service_BucketStats_FullMethodName = "/metalstack.io.accounting.api.v1.S3Service/BucketStats"
	S3Service_Usage_FullMethodName       = "/metalstack.io.accounting.api.v1.S3Service/Usage"
)
View Source
const (
	VolumeService_Added_FullMethodName    = "/metalstack.io.accounting.api.v1.VolumeService/Added"
	VolumeService_Modified_FullMethodName = "/metalstack.io.accounting.api.v1.VolumeService/Modified"
	VolumeService_Deleted_FullMethodName  = "/metalstack.io.accounting.api.v1.VolumeService/Deleted"
	VolumeService_Usage_FullMethodName    = "/metalstack.io.accounting.api.v1.VolumeService/Usage"
)

Variables

View Source
var (
	ProductOption_name = map[int32]string{
		0: "PRODUCT_OPTION_UNSPECIFIED",
		1: "PRODUCT_OPTION_AUDIT_EXTENSION",
		2: "PRODUCT_OPTION_HA_CONTROL_PLANE",
		3: "PRODUCT_OPTION_MONITORING_STACK",
		4: "PRODUCT_OPTION_LOGGING_STACK",
		5: "PRODUCT_OPTION_CLUSTER_ISOLATION",
	}
	ProductOption_value = map[string]int32{
		"PRODUCT_OPTION_UNSPECIFIED":       0,
		"PRODUCT_OPTION_AUDIT_EXTENSION":   1,
		"PRODUCT_OPTION_HA_CONTROL_PLANE":  2,
		"PRODUCT_OPTION_MONITORING_STACK":  3,
		"PRODUCT_OPTION_LOGGING_STACK":     4,
		"PRODUCT_OPTION_CLUSTER_ISOLATION": 5,
	}
)

Enum value maps for ProductOption.

View Source
var ClusterService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metalstack.io.accounting.api.v1.ClusterService",
	HandlerType: (*ClusterServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Added",
			Handler:    _ClusterService_Added_Handler,
		},
		{
			MethodName: "Modified",
			Handler:    _ClusterService_Modified_Handler,
		},
		{
			MethodName: "Deleted",
			Handler:    _ClusterService_Deleted_Handler,
		},
		{
			MethodName: "Usage",
			Handler:    _ClusterService_Usage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metalstack/io/accounting/api/v1/cluster.proto",
}

ClusterService_ServiceDesc is the grpc.ServiceDesc for ClusterService 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_metalstack_io_accounting_api_v1_cluster_proto protoreflect.FileDescriptor
View Source
var File_metalstack_io_accounting_api_v1_common_proto protoreflect.FileDescriptor
View Source
var File_metalstack_io_accounting_api_v1_info_proto protoreflect.FileDescriptor
View Source
var File_metalstack_io_accounting_api_v1_ip_proto protoreflect.FileDescriptor
View Source
var File_metalstack_io_accounting_api_v1_machine_proto protoreflect.FileDescriptor
View Source
var File_metalstack_io_accounting_api_v1_machine_reservation_proto protoreflect.FileDescriptor
View Source
var File_metalstack_io_accounting_api_v1_network_traffic_proto protoreflect.FileDescriptor
View Source
var File_metalstack_io_accounting_api_v1_pod_proto protoreflect.FileDescriptor
View Source
var File_metalstack_io_accounting_api_v1_postgres_proto protoreflect.FileDescriptor
View Source
var File_metalstack_io_accounting_api_v1_product_option_proto protoreflect.FileDescriptor
View Source
var File_metalstack_io_accounting_api_v1_s3_proto protoreflect.FileDescriptor
View Source
var File_metalstack_io_accounting_api_v1_volume_proto protoreflect.FileDescriptor
View Source
var IPService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metalstack.io.accounting.api.v1.IPService",
	HandlerType: (*IPServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Added",
			Handler:    _IPService_Added_Handler,
		},
		{
			MethodName: "Modified",
			Handler:    _IPService_Modified_Handler,
		},
		{
			MethodName: "Deleted",
			Handler:    _IPService_Deleted_Handler,
		},
		{
			MethodName: "Usage",
			Handler:    _IPService_Usage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metalstack/io/accounting/api/v1/ip.proto",
}

IPService_ServiceDesc is the grpc.ServiceDesc for IPService 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 InfoService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metalstack.io.accounting.api.v1.InfoService",
	HandlerType: (*InfoServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Projects",
			Handler:    _InfoService_Projects_Handler,
		},
		{
			MethodName: "Tenants",
			Handler:    _InfoService_Tenants_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metalstack/io/accounting/api/v1/info.proto",
}

InfoService_ServiceDesc is the grpc.ServiceDesc for InfoService 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 MachineReservationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metalstack.io.accounting.api.v1.MachineReservationService",
	HandlerType: (*MachineReservationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Added",
			Handler:    _MachineReservationService_Added_Handler,
		},
		{
			MethodName: "Modified",
			Handler:    _MachineReservationService_Modified_Handler,
		},
		{
			MethodName: "Deleted",
			Handler:    _MachineReservationService_Deleted_Handler,
		},
		{
			MethodName: "Usage",
			Handler:    _MachineReservationService_Usage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metalstack/io/accounting/api/v1/machine_reservation.proto",
}

MachineReservationService_ServiceDesc is the grpc.ServiceDesc for MachineReservationService 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 MachineService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metalstack.io.accounting.api.v1.MachineService",
	HandlerType: (*MachineServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Added",
			Handler:    _MachineService_Added_Handler,
		},
		{
			MethodName: "Modified",
			Handler:    _MachineService_Modified_Handler,
		},
		{
			MethodName: "Deleted",
			Handler:    _MachineService_Deleted_Handler,
		},
		{
			MethodName: "Usage",
			Handler:    _MachineService_Usage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metalstack/io/accounting/api/v1/machine.proto",
}

MachineService_ServiceDesc is the grpc.ServiceDesc for MachineService 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 NetworkTrafficService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metalstack.io.accounting.api.v1.NetworkTrafficService",
	HandlerType: (*NetworkTrafficServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Modified",
			Handler:    _NetworkTrafficService_Modified_Handler,
		},
		{
			MethodName: "Usage",
			Handler:    _NetworkTrafficService_Usage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metalstack/io/accounting/api/v1/network_traffic.proto",
}

NetworkTrafficService_ServiceDesc is the grpc.ServiceDesc for NetworkTrafficService 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 PodService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metalstack.io.accounting.api.v1.PodService",
	HandlerType: (*PodServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Added",
			Handler:    _PodService_Added_Handler,
		},
		{
			MethodName: "Modified",
			Handler:    _PodService_Modified_Handler,
		},
		{
			MethodName: "Deleted",
			Handler:    _PodService_Deleted_Handler,
		},
		{
			MethodName: "Usage",
			Handler:    _PodService_Usage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metalstack/io/accounting/api/v1/pod.proto",
}

PodService_ServiceDesc is the grpc.ServiceDesc for PodService 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 PostgresService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metalstack.io.accounting.api.v1.PostgresService",
	HandlerType: (*PostgresServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Added",
			Handler:    _PostgresService_Added_Handler,
		},
		{
			MethodName: "Modified",
			Handler:    _PostgresService_Modified_Handler,
		},
		{
			MethodName: "Deleted",
			Handler:    _PostgresService_Deleted_Handler,
		},
		{
			MethodName: "Usage",
			Handler:    _PostgresService_Usage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metalstack/io/accounting/api/v1/postgres.proto",
}

PostgresService_ServiceDesc is the grpc.ServiceDesc for PostgresService 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 ProductOptionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metalstack.io.accounting.api.v1.ProductOptionService",
	HandlerType: (*ProductOptionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Modified",
			Handler:    _ProductOptionService_Modified_Handler,
		},
		{
			MethodName: "Usage",
			Handler:    _ProductOptionService_Usage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metalstack/io/accounting/api/v1/product_option.proto",
}

ProductOptionService_ServiceDesc is the grpc.ServiceDesc for ProductOptionService 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 S3Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metalstack.io.accounting.api.v1.S3Service",
	HandlerType: (*S3ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "BucketStats",
			Handler:    _S3Service_BucketStats_Handler,
		},
		{
			MethodName: "Usage",
			Handler:    _S3Service_Usage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metalstack/io/accounting/api/v1/s3.proto",
}

S3Service_ServiceDesc is the grpc.ServiceDesc for S3Service 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 VolumeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metalstack.io.accounting.api.v1.VolumeService",
	HandlerType: (*VolumeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Added",
			Handler:    _VolumeService_Added_Handler,
		},
		{
			MethodName: "Modified",
			Handler:    _VolumeService_Modified_Handler,
		},
		{
			MethodName: "Deleted",
			Handler:    _VolumeService_Deleted_Handler,
		},
		{
			MethodName: "Usage",
			Handler:    _VolumeService_Usage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "metalstack/io/accounting/api/v1/volume.proto",
}

VolumeService_ServiceDesc is the grpc.ServiceDesc for VolumeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterClusterServiceServer

func RegisterClusterServiceServer(s grpc.ServiceRegistrar, srv ClusterServiceServer)

func RegisterIPServiceServer

func RegisterIPServiceServer(s grpc.ServiceRegistrar, srv IPServiceServer)

func RegisterInfoServiceServer

func RegisterInfoServiceServer(s grpc.ServiceRegistrar, srv InfoServiceServer)

func RegisterMachineReservationServiceServer added in v0.11.0

func RegisterMachineReservationServiceServer(s grpc.ServiceRegistrar, srv MachineReservationServiceServer)

func RegisterMachineServiceServer added in v0.9.0

func RegisterMachineServiceServer(s grpc.ServiceRegistrar, srv MachineServiceServer)

func RegisterNetworkTrafficServiceServer

func RegisterNetworkTrafficServiceServer(s grpc.ServiceRegistrar, srv NetworkTrafficServiceServer)

func RegisterPodServiceServer

func RegisterPodServiceServer(s grpc.ServiceRegistrar, srv PodServiceServer)

func RegisterPostgresServiceServer

func RegisterPostgresServiceServer(s grpc.ServiceRegistrar, srv PostgresServiceServer)

func RegisterProductOptionServiceServer added in v0.9.0

func RegisterProductOptionServiceServer(s grpc.ServiceRegistrar, srv ProductOptionServiceServer)

func RegisterS3ServiceServer

func RegisterS3ServiceServer(s grpc.ServiceRegistrar, srv S3ServiceServer)

func RegisterVolumeServiceServer

func RegisterVolumeServiceServer(s grpc.ServiceRegistrar, srv VolumeServiceServer)

Types

type ClusterReport

type ClusterReport struct {
	Report      *Report                `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"`
	Start       *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	End         *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	Annotations []string               `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty"`
	Purpose     string                 `protobuf:"bytes,5,opt,name=purpose,proto3" json:"purpose,omitempty"`
	Workers     []*ClusterWorkerGroup  `protobuf:"bytes,6,rep,name=workers,proto3" json:"workers,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterReport) Descriptor deprecated

func (*ClusterReport) Descriptor() ([]byte, []int)

Deprecated: Use ClusterReport.ProtoReflect.Descriptor instead.

func (*ClusterReport) GetAnnotations

func (x *ClusterReport) GetAnnotations() []string

func (*ClusterReport) GetEnd

func (x *ClusterReport) GetEnd() *timestamppb.Timestamp

func (*ClusterReport) GetPurpose

func (x *ClusterReport) GetPurpose() string

func (*ClusterReport) GetReport

func (x *ClusterReport) GetReport() *Report

func (*ClusterReport) GetStart

func (x *ClusterReport) GetStart() *timestamppb.Timestamp

func (*ClusterReport) GetWorkers

func (x *ClusterReport) GetWorkers() []*ClusterWorkerGroup

func (*ClusterReport) ProtoMessage

func (*ClusterReport) ProtoMessage()

func (*ClusterReport) ProtoReflect

func (x *ClusterReport) ProtoReflect() protoreflect.Message

func (*ClusterReport) Reset

func (x *ClusterReport) Reset()

func (*ClusterReport) String

func (x *ClusterReport) String() string

type ClusterServiceClient

type ClusterServiceClient interface {
	Added(ctx context.Context, in *ClusterReport, opts ...grpc.CallOption) (*Empty, error)
	Modified(ctx context.Context, in *ClusterReport, opts ...grpc.CallOption) (*Empty, error)
	Deleted(ctx context.Context, in *ClusterReport, opts ...grpc.CallOption) (*Empty, error)
	Usage(ctx context.Context, in *ClusterUsageRequest, opts ...grpc.CallOption) (*ClusterUsageResponse, error)
}

ClusterServiceClient is the client API for ClusterService 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.

type ClusterServiceServer

type ClusterServiceServer interface {
	Added(context.Context, *ClusterReport) (*Empty, error)
	Modified(context.Context, *ClusterReport) (*Empty, error)
	Deleted(context.Context, *ClusterReport) (*Empty, error)
	Usage(context.Context, *ClusterUsageRequest) (*ClusterUsageResponse, error)
}

ClusterServiceServer is the server API for ClusterService service. All implementations should embed UnimplementedClusterServiceServer for forward compatibility.

type ClusterUsage

type ClusterUsage struct {
	Partition           string                 `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Tenant              string                 `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid           string                 `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Clusterid           string                 `protobuf:"bytes,4,opt,name=clusterid,proto3" json:"clusterid,omitempty"`
	Clustername         string                 `protobuf:"bytes,5,opt,name=clustername,proto3" json:"clustername,omitempty"`
	ClusterStart        *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=cluster_start,json=clusterStart,proto3" json:"cluster_start,omitempty"`
	ClusterEnd          *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=cluster_end,json=clusterEnd,proto3" json:"cluster_end,omitempty"`
	Lifetime            *durationpb.Duration   `protobuf:"bytes,8,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	Warnings            []string               `protobuf:"bytes,9,rep,name=warnings,proto3" json:"warnings,omitempty"`
	Projectname         string                 `protobuf:"bytes,10,opt,name=projectname,proto3" json:"projectname,omitempty"`
	Annotations         []string               `protobuf:"bytes,11,rep,name=annotations,proto3" json:"annotations,omitempty"`
	Tenantname          string                 `protobuf:"bytes,12,opt,name=tenantname,proto3" json:"tenantname,omitempty"`
	Contractnumber      string                 `protobuf:"bytes,13,opt,name=contractnumber,proto3" json:"contractnumber,omitempty"`
	Debtorid            string                 `protobuf:"bytes,14,opt,name=debtorid,proto3" json:"debtorid,omitempty"`
	Purpose             string                 `protobuf:"bytes,15,opt,name=purpose,proto3" json:"purpose,omitempty"`
	AverageWorkerGroups string                 `protobuf:"bytes,16,opt,name=average_worker_groups,json=averageWorkerGroups,proto3" json:"average_worker_groups,omitempty"`
	Workers             []*ClusterWorkerGroup  `protobuf:"bytes,17,rep,name=workers,proto3" json:"workers,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterUsage) Descriptor deprecated

func (*ClusterUsage) Descriptor() ([]byte, []int)

Deprecated: Use ClusterUsage.ProtoReflect.Descriptor instead.

func (*ClusterUsage) GetAnnotations

func (x *ClusterUsage) GetAnnotations() []string

func (*ClusterUsage) GetAverageWorkerGroups

func (x *ClusterUsage) GetAverageWorkerGroups() string

func (*ClusterUsage) GetClusterEnd

func (x *ClusterUsage) GetClusterEnd() *timestamppb.Timestamp

func (*ClusterUsage) GetClusterStart

func (x *ClusterUsage) GetClusterStart() *timestamppb.Timestamp

func (*ClusterUsage) GetClusterid

func (x *ClusterUsage) GetClusterid() string

func (*ClusterUsage) GetClustername

func (x *ClusterUsage) GetClustername() string

func (*ClusterUsage) GetContractnumber

func (x *ClusterUsage) GetContractnumber() string

func (*ClusterUsage) GetDebtorid

func (x *ClusterUsage) GetDebtorid() string

func (*ClusterUsage) GetLifetime

func (x *ClusterUsage) GetLifetime() *durationpb.Duration

func (*ClusterUsage) GetPartition

func (x *ClusterUsage) GetPartition() string

func (*ClusterUsage) GetProjectid

func (x *ClusterUsage) GetProjectid() string

func (*ClusterUsage) GetProjectname

func (x *ClusterUsage) GetProjectname() string

func (*ClusterUsage) GetPurpose

func (x *ClusterUsage) GetPurpose() string

func (*ClusterUsage) GetTenant

func (x *ClusterUsage) GetTenant() string

func (*ClusterUsage) GetTenantname

func (x *ClusterUsage) GetTenantname() string

func (*ClusterUsage) GetWarnings

func (x *ClusterUsage) GetWarnings() []string

func (*ClusterUsage) GetWorkers

func (x *ClusterUsage) GetWorkers() []*ClusterWorkerGroup

func (*ClusterUsage) ProtoMessage

func (*ClusterUsage) ProtoMessage()

func (*ClusterUsage) ProtoReflect

func (x *ClusterUsage) ProtoReflect() protoreflect.Message

func (*ClusterUsage) Reset

func (x *ClusterUsage) Reset()

func (*ClusterUsage) String

func (x *ClusterUsage) String() string

type ClusterUsageAccumuluated

type ClusterUsageAccumuluated struct {
	Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterUsageAccumuluated) Descriptor deprecated

func (*ClusterUsageAccumuluated) Descriptor() ([]byte, []int)

Deprecated: Use ClusterUsageAccumuluated.ProtoReflect.Descriptor instead.

func (*ClusterUsageAccumuluated) GetLifetime

func (x *ClusterUsageAccumuluated) GetLifetime() *durationpb.Duration

func (*ClusterUsageAccumuluated) ProtoMessage

func (*ClusterUsageAccumuluated) ProtoMessage()

func (*ClusterUsageAccumuluated) ProtoReflect

func (x *ClusterUsageAccumuluated) ProtoReflect() protoreflect.Message

func (*ClusterUsageAccumuluated) Reset

func (x *ClusterUsageAccumuluated) Reset()

func (*ClusterUsageAccumuluated) String

func (x *ClusterUsageAccumuluated) String() string

type ClusterUsageRequest

type ClusterUsageRequest struct {
	Query *UsageQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterUsageRequest) Descriptor deprecated

func (*ClusterUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use ClusterUsageRequest.ProtoReflect.Descriptor instead.

func (*ClusterUsageRequest) GetQuery

func (x *ClusterUsageRequest) GetQuery() *UsageQuery

func (*ClusterUsageRequest) ProtoMessage

func (*ClusterUsageRequest) ProtoMessage()

func (*ClusterUsageRequest) ProtoReflect

func (x *ClusterUsageRequest) ProtoReflect() protoreflect.Message

func (*ClusterUsageRequest) Reset

func (x *ClusterUsageRequest) Reset()

func (*ClusterUsageRequest) String

func (x *ClusterUsageRequest) String() string

type ClusterUsageResponse

type ClusterUsageResponse 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"`
	Usage            []*ClusterUsage           `protobuf:"bytes,3,rep,name=usage,proto3" json:"usage,omitempty"`
	AccumulatedUsage *ClusterUsageAccumuluated `protobuf:"bytes,4,opt,name=accumulated_usage,json=accumulatedUsage,proto3" json:"accumulated_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterUsageResponse) Descriptor deprecated

func (*ClusterUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use ClusterUsageResponse.ProtoReflect.Descriptor instead.

func (*ClusterUsageResponse) GetAccumulatedUsage

func (x *ClusterUsageResponse) GetAccumulatedUsage() *ClusterUsageAccumuluated

func (*ClusterUsageResponse) GetFrom

func (*ClusterUsageResponse) GetTo

func (*ClusterUsageResponse) GetUsage

func (x *ClusterUsageResponse) GetUsage() []*ClusterUsage

func (*ClusterUsageResponse) ProtoMessage

func (*ClusterUsageResponse) ProtoMessage()

func (*ClusterUsageResponse) ProtoReflect

func (x *ClusterUsageResponse) ProtoReflect() protoreflect.Message

func (*ClusterUsageResponse) Reset

func (x *ClusterUsageResponse) Reset()

func (*ClusterUsageResponse) String

func (x *ClusterUsageResponse) String() string

type ClusterWorkerGroup

type ClusterWorkerGroup struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type  string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterWorkerGroup) Descriptor deprecated

func (*ClusterWorkerGroup) Descriptor() ([]byte, []int)

Deprecated: Use ClusterWorkerGroup.ProtoReflect.Descriptor instead.

func (*ClusterWorkerGroup) GetCount

func (x *ClusterWorkerGroup) GetCount() uint32

func (*ClusterWorkerGroup) GetName

func (x *ClusterWorkerGroup) GetName() string

func (*ClusterWorkerGroup) GetType

func (x *ClusterWorkerGroup) GetType() string

func (*ClusterWorkerGroup) ProtoMessage

func (*ClusterWorkerGroup) ProtoMessage()

func (*ClusterWorkerGroup) ProtoReflect

func (x *ClusterWorkerGroup) ProtoReflect() protoreflect.Message

func (*ClusterWorkerGroup) Reset

func (x *ClusterWorkerGroup) Reset()

func (*ClusterWorkerGroup) String

func (x *ClusterWorkerGroup) String() string

type Container

type Container struct {
	PodName       string `protobuf:"bytes,1,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
	PodUuid       string `protobuf:"bytes,2,opt,name=pod_uuid,json=podUuid,proto3" json:"pod_uuid,omitempty"`
	ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"`
	Image         string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	Cpus          string `protobuf:"bytes,5,opt,name=cpus,proto3" json:"cpus,omitempty"`
	Memory        string `protobuf:"bytes,6,opt,name=memory,proto3" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

func (*Container) Descriptor deprecated

func (*Container) Descriptor() ([]byte, []int)

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetContainerName

func (x *Container) GetContainerName() string

func (*Container) GetCpus

func (x *Container) GetCpus() string

func (*Container) GetImage

func (x *Container) GetImage() string

func (*Container) GetMemory

func (x *Container) GetMemory() string

func (*Container) GetPodName

func (x *Container) GetPodName() string

func (*Container) GetPodUuid

func (x *Container) GetPodUuid() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

func (x *Container) ProtoReflect() protoreflect.Message

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

type ContainerUsage

type ContainerUsage struct {
	Partition      string                 `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Tenant         string                 `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid      string                 `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Clusterid      string                 `protobuf:"bytes,4,opt,name=clusterid,proto3" json:"clusterid,omitempty"`
	Clustername    string                 `protobuf:"bytes,5,opt,name=clustername,proto3" json:"clustername,omitempty"`
	Namespace      string                 `protobuf:"bytes,6,opt,name=namespace,proto3" json:"namespace,omitempty"`
	PodUuid        string                 `protobuf:"bytes,7,opt,name=pod_uuid,json=podUuid,proto3" json:"pod_uuid,omitempty"`
	PodName        string                 `protobuf:"bytes,8,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
	PodStart       *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=pod_start,json=podStart,proto3" json:"pod_start,omitempty"`
	PodEnd         *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=pod_end,json=podEnd,proto3" json:"pod_end,omitempty"`
	ContainerName  string                 `protobuf:"bytes,11,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"`
	Lifetime       *durationpb.Duration   `protobuf:"bytes,12,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	CpuSeconds     string                 `protobuf:"bytes,13,opt,name=cpu_seconds,json=cpuSeconds,proto3" json:"cpu_seconds,omitempty"`
	MemorySeconds  string                 `protobuf:"bytes,14,opt,name=memory_seconds,json=memorySeconds,proto3" json:"memory_seconds,omitempty"`
	Warnings       []string               `protobuf:"bytes,15,rep,name=warnings,proto3" json:"warnings,omitempty"`
	ContainerImage string                 `protobuf:"bytes,16,opt,name=container_image,json=containerImage,proto3" json:"container_image,omitempty"`
	Annotations    []string               `protobuf:"bytes,17,rep,name=annotations,proto3" json:"annotations,omitempty"`
	Projectname    string                 `protobuf:"bytes,18,opt,name=projectname,proto3" json:"projectname,omitempty"`
	Tenantname     string                 `protobuf:"bytes,19,opt,name=tenantname,proto3" json:"tenantname,omitempty"`
	Contractnumber string                 `protobuf:"bytes,20,opt,name=contractnumber,proto3" json:"contractnumber,omitempty"`
	Debtorid       string                 `protobuf:"bytes,21,opt,name=debtorid,proto3" json:"debtorid,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerUsage) Descriptor deprecated

func (*ContainerUsage) Descriptor() ([]byte, []int)

Deprecated: Use ContainerUsage.ProtoReflect.Descriptor instead.

func (*ContainerUsage) GetAnnotations

func (x *ContainerUsage) GetAnnotations() []string

func (*ContainerUsage) GetClusterid

func (x *ContainerUsage) GetClusterid() string

func (*ContainerUsage) GetClustername

func (x *ContainerUsage) GetClustername() string

func (*ContainerUsage) GetContainerImage

func (x *ContainerUsage) GetContainerImage() string

func (*ContainerUsage) GetContainerName

func (x *ContainerUsage) GetContainerName() string

func (*ContainerUsage) GetContractnumber

func (x *ContainerUsage) GetContractnumber() string

func (*ContainerUsage) GetCpuSeconds

func (x *ContainerUsage) GetCpuSeconds() string

func (*ContainerUsage) GetDebtorid

func (x *ContainerUsage) GetDebtorid() string

func (*ContainerUsage) GetLifetime

func (x *ContainerUsage) GetLifetime() *durationpb.Duration

func (*ContainerUsage) GetMemorySeconds

func (x *ContainerUsage) GetMemorySeconds() string

func (*ContainerUsage) GetNamespace

func (x *ContainerUsage) GetNamespace() string

func (*ContainerUsage) GetPartition

func (x *ContainerUsage) GetPartition() string

func (*ContainerUsage) GetPodEnd

func (x *ContainerUsage) GetPodEnd() *timestamppb.Timestamp

func (*ContainerUsage) GetPodName

func (x *ContainerUsage) GetPodName() string

func (*ContainerUsage) GetPodStart

func (x *ContainerUsage) GetPodStart() *timestamppb.Timestamp

func (*ContainerUsage) GetPodUuid

func (x *ContainerUsage) GetPodUuid() string

func (*ContainerUsage) GetProjectid

func (x *ContainerUsage) GetProjectid() string

func (*ContainerUsage) GetProjectname

func (x *ContainerUsage) GetProjectname() string

func (*ContainerUsage) GetTenant

func (x *ContainerUsage) GetTenant() string

func (*ContainerUsage) GetTenantname

func (x *ContainerUsage) GetTenantname() string

func (*ContainerUsage) GetWarnings

func (x *ContainerUsage) GetWarnings() []string

func (*ContainerUsage) ProtoMessage

func (*ContainerUsage) ProtoMessage()

func (*ContainerUsage) ProtoReflect

func (x *ContainerUsage) ProtoReflect() protoreflect.Message

func (*ContainerUsage) Reset

func (x *ContainerUsage) Reset()

func (*ContainerUsage) String

func (x *ContainerUsage) String() string

type ContainerUsageAccumuluated

type ContainerUsageAccumuluated struct {
	Lifetime      *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	CpuSeconds    string               `protobuf:"bytes,2,opt,name=cpu_seconds,json=cpuSeconds,proto3" json:"cpu_seconds,omitempty"`
	MemorySeconds string               `protobuf:"bytes,3,opt,name=memory_seconds,json=memorySeconds,proto3" json:"memory_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerUsageAccumuluated) Descriptor deprecated

func (*ContainerUsageAccumuluated) Descriptor() ([]byte, []int)

Deprecated: Use ContainerUsageAccumuluated.ProtoReflect.Descriptor instead.

func (*ContainerUsageAccumuluated) GetCpuSeconds

func (x *ContainerUsageAccumuluated) GetCpuSeconds() string

func (*ContainerUsageAccumuluated) GetLifetime

func (*ContainerUsageAccumuluated) GetMemorySeconds

func (x *ContainerUsageAccumuluated) GetMemorySeconds() string

func (*ContainerUsageAccumuluated) ProtoMessage

func (*ContainerUsageAccumuluated) ProtoMessage()

func (*ContainerUsageAccumuluated) ProtoReflect

func (*ContainerUsageAccumuluated) Reset

func (x *ContainerUsageAccumuluated) Reset()

func (*ContainerUsageAccumuluated) String

func (x *ContainerUsageAccumuluated) String() string

type ContainerUsageRequest

type ContainerUsageRequest struct {
	Query       *UsageQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Namespace   *string     `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	Annotations []string    `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerUsageRequest) Descriptor deprecated

func (*ContainerUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use ContainerUsageRequest.ProtoReflect.Descriptor instead.

func (*ContainerUsageRequest) GetAnnotations

func (x *ContainerUsageRequest) GetAnnotations() []string

func (*ContainerUsageRequest) GetNamespace

func (x *ContainerUsageRequest) GetNamespace() string

func (*ContainerUsageRequest) GetQuery

func (x *ContainerUsageRequest) GetQuery() *UsageQuery

func (*ContainerUsageRequest) ProtoMessage

func (*ContainerUsageRequest) ProtoMessage()

func (*ContainerUsageRequest) ProtoReflect

func (x *ContainerUsageRequest) ProtoReflect() protoreflect.Message

func (*ContainerUsageRequest) Reset

func (x *ContainerUsageRequest) Reset()

func (*ContainerUsageRequest) String

func (x *ContainerUsageRequest) String() string

type ContainerUsageResponse

type ContainerUsageResponse 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"`
	Usage            []*ContainerUsage           `protobuf:"bytes,3,rep,name=usage,proto3" json:"usage,omitempty"`
	AccumulatedUsage *ContainerUsageAccumuluated `protobuf:"bytes,4,opt,name=accumulated_usage,json=accumulatedUsage,proto3" json:"accumulated_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerUsageResponse) Descriptor deprecated

func (*ContainerUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use ContainerUsageResponse.ProtoReflect.Descriptor instead.

func (*ContainerUsageResponse) GetAccumulatedUsage

func (x *ContainerUsageResponse) GetAccumulatedUsage() *ContainerUsageAccumuluated

func (*ContainerUsageResponse) GetFrom

func (*ContainerUsageResponse) GetTo

func (*ContainerUsageResponse) GetUsage

func (x *ContainerUsageResponse) GetUsage() []*ContainerUsage

func (*ContainerUsageResponse) ProtoMessage

func (*ContainerUsageResponse) ProtoMessage()

func (*ContainerUsageResponse) ProtoReflect

func (x *ContainerUsageResponse) ProtoReflect() protoreflect.Message

func (*ContainerUsageResponse) Reset

func (x *ContainerUsageResponse) Reset()

func (*ContainerUsageResponse) String

func (x *ContainerUsageResponse) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type IP

type IP struct {
	Address     string                 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Tenant      string                 `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid   string                 `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Uuid        string                 `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Start       *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start,proto3" json:"start,omitempty"`
	End         *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end,proto3" json:"end,omitempty"`
	Annotations []string               `protobuf:"bytes,7,rep,name=annotations,proto3" json:"annotations,omitempty"`
	Projectname string                 `protobuf:"bytes,8,opt,name=projectname,proto3" json:"projectname,omitempty"`
	// contains filtered or unexported fields
}

func (*IP) Descriptor deprecated

func (*IP) Descriptor() ([]byte, []int)

Deprecated: Use IP.ProtoReflect.Descriptor instead.

func (*IP) GetAddress

func (x *IP) GetAddress() string

func (*IP) GetAnnotations

func (x *IP) GetAnnotations() []string

func (*IP) GetEnd

func (x *IP) GetEnd() *timestamppb.Timestamp

func (*IP) GetProjectid

func (x *IP) GetProjectid() string

func (*IP) GetProjectname

func (x *IP) GetProjectname() string

func (*IP) GetStart

func (x *IP) GetStart() *timestamppb.Timestamp

func (*IP) GetTenant

func (x *IP) GetTenant() string

func (*IP) GetUuid

func (x *IP) GetUuid() string

func (*IP) ProtoMessage

func (*IP) ProtoMessage()

func (*IP) ProtoReflect

func (x *IP) ProtoReflect() protoreflect.Message

func (*IP) Reset

func (x *IP) Reset()

func (*IP) String

func (x *IP) String() string

type IPReport

type IPReport struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Ips       []*IP                  `protobuf:"bytes,5,rep,name=ips,proto3" json:"ips,omitempty"`
	// contains filtered or unexported fields
}

func (*IPReport) Descriptor deprecated

func (*IPReport) Descriptor() ([]byte, []int)

Deprecated: Use IPReport.ProtoReflect.Descriptor instead.

func (*IPReport) GetIps

func (x *IPReport) GetIps() []*IP

func (*IPReport) GetTimestamp

func (x *IPReport) GetTimestamp() *timestamppb.Timestamp

func (*IPReport) ProtoMessage

func (*IPReport) ProtoMessage()

func (*IPReport) ProtoReflect

func (x *IPReport) ProtoReflect() protoreflect.Message

func (*IPReport) Reset

func (x *IPReport) Reset()

func (*IPReport) String

func (x *IPReport) String() string

type IPServiceClient

type IPServiceClient interface {
	Added(ctx context.Context, in *IPReport, opts ...grpc.CallOption) (*Empty, error)
	Modified(ctx context.Context, in *IPReport, opts ...grpc.CallOption) (*Empty, error)
	Deleted(ctx context.Context, in *IPReport, opts ...grpc.CallOption) (*Empty, error)
	Usage(ctx context.Context, in *IPUsageRequest, opts ...grpc.CallOption) (*IPUsageResponse, error)
}

IPServiceClient is the client API for IPService 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 NewIPServiceClient

func NewIPServiceClient(cc grpc.ClientConnInterface) IPServiceClient

type IPServiceServer

type IPServiceServer interface {
	Added(context.Context, *IPReport) (*Empty, error)
	Modified(context.Context, *IPReport) (*Empty, error)
	Deleted(context.Context, *IPReport) (*Empty, error)
	Usage(context.Context, *IPUsageRequest) (*IPUsageResponse, error)
}

IPServiceServer is the server API for IPService service. All implementations should embed UnimplementedIPServiceServer for forward compatibility.

type IPUsage

type IPUsage struct {
	Tenant         string                 `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid      string                 `protobuf:"bytes,2,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Ip             string                 `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	IpStart        *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=ip_start,json=ipStart,proto3" json:"ip_start,omitempty"`
	IpEnd          *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=ip_end,json=ipEnd,proto3" json:"ip_end,omitempty"`
	Lifetime       *durationpb.Duration   `protobuf:"bytes,6,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	Warnings       []string               `protobuf:"bytes,7,rep,name=warnings,proto3" json:"warnings,omitempty"`
	Uuid           string                 `protobuf:"bytes,8,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Projectname    string                 `protobuf:"bytes,9,opt,name=projectname,proto3" json:"projectname,omitempty"`
	Annotations    []string               `protobuf:"bytes,10,rep,name=annotations,proto3" json:"annotations,omitempty"`
	Tenantname     string                 `protobuf:"bytes,11,opt,name=tenantname,proto3" json:"tenantname,omitempty"`
	Contractnumber string                 `protobuf:"bytes,12,opt,name=contractnumber,proto3" json:"contractnumber,omitempty"`
	Debtorid       string                 `protobuf:"bytes,13,opt,name=debtorid,proto3" json:"debtorid,omitempty"`
	// contains filtered or unexported fields
}

func (*IPUsage) Descriptor deprecated

func (*IPUsage) Descriptor() ([]byte, []int)

Deprecated: Use IPUsage.ProtoReflect.Descriptor instead.

func (*IPUsage) GetAnnotations

func (x *IPUsage) GetAnnotations() []string

func (*IPUsage) GetContractnumber

func (x *IPUsage) GetContractnumber() string

func (*IPUsage) GetDebtorid

func (x *IPUsage) GetDebtorid() string

func (*IPUsage) GetIp

func (x *IPUsage) GetIp() string

func (*IPUsage) GetIpEnd

func (x *IPUsage) GetIpEnd() *timestamppb.Timestamp

func (*IPUsage) GetIpStart

func (x *IPUsage) GetIpStart() *timestamppb.Timestamp

func (*IPUsage) GetLifetime

func (x *IPUsage) GetLifetime() *durationpb.Duration

func (*IPUsage) GetProjectid

func (x *IPUsage) GetProjectid() string

func (*IPUsage) GetProjectname

func (x *IPUsage) GetProjectname() string

func (*IPUsage) GetTenant

func (x *IPUsage) GetTenant() string

func (*IPUsage) GetTenantname

func (x *IPUsage) GetTenantname() string

func (*IPUsage) GetUuid

func (x *IPUsage) GetUuid() string

func (*IPUsage) GetWarnings

func (x *IPUsage) GetWarnings() []string

func (*IPUsage) ProtoMessage

func (*IPUsage) ProtoMessage()

func (*IPUsage) ProtoReflect

func (x *IPUsage) ProtoReflect() protoreflect.Message

func (*IPUsage) Reset

func (x *IPUsage) Reset()

func (*IPUsage) String

func (x *IPUsage) String() string

type IPUsageAccumuluated

type IPUsageAccumuluated struct {
	Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	// contains filtered or unexported fields
}

func (*IPUsageAccumuluated) Descriptor deprecated

func (*IPUsageAccumuluated) Descriptor() ([]byte, []int)

Deprecated: Use IPUsageAccumuluated.ProtoReflect.Descriptor instead.

func (*IPUsageAccumuluated) GetLifetime

func (x *IPUsageAccumuluated) GetLifetime() *durationpb.Duration

func (*IPUsageAccumuluated) ProtoMessage

func (*IPUsageAccumuluated) ProtoMessage()

func (*IPUsageAccumuluated) ProtoReflect

func (x *IPUsageAccumuluated) ProtoReflect() protoreflect.Message

func (*IPUsageAccumuluated) Reset

func (x *IPUsageAccumuluated) Reset()

func (*IPUsageAccumuluated) String

func (x *IPUsageAccumuluated) String() string

type IPUsageRequest

type IPUsageRequest 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"`
	Tenant      *string                `protobuf:"bytes,3,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"`
	Projectid   *string                `protobuf:"bytes,4,opt,name=projectid,proto3,oneof" json:"projectid,omitempty"`
	Annotations []string               `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*IPUsageRequest) Descriptor deprecated

func (*IPUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use IPUsageRequest.ProtoReflect.Descriptor instead.

func (*IPUsageRequest) GetAnnotations

func (x *IPUsageRequest) GetAnnotations() []string

func (*IPUsageRequest) GetFrom

func (x *IPUsageRequest) GetFrom() *timestamppb.Timestamp

func (*IPUsageRequest) GetProjectid

func (x *IPUsageRequest) GetProjectid() string

func (*IPUsageRequest) GetTenant

func (x *IPUsageRequest) GetTenant() string

func (*IPUsageRequest) GetTo

func (x *IPUsageRequest) GetTo() *timestamppb.Timestamp

func (*IPUsageRequest) ProtoMessage

func (*IPUsageRequest) ProtoMessage()

func (*IPUsageRequest) ProtoReflect

func (x *IPUsageRequest) ProtoReflect() protoreflect.Message

func (*IPUsageRequest) Reset

func (x *IPUsageRequest) Reset()

func (*IPUsageRequest) String

func (x *IPUsageRequest) String() string

type IPUsageResponse

type IPUsageResponse 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"`
	Usage            []*IPUsage             `protobuf:"bytes,3,rep,name=usage,proto3" json:"usage,omitempty"`
	AccumulatedUsage *IPUsageAccumuluated   `protobuf:"bytes,4,opt,name=accumulated_usage,json=accumulatedUsage,proto3" json:"accumulated_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*IPUsageResponse) Descriptor deprecated

func (*IPUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use IPUsageResponse.ProtoReflect.Descriptor instead.

func (*IPUsageResponse) GetAccumulatedUsage

func (x *IPUsageResponse) GetAccumulatedUsage() *IPUsageAccumuluated

func (*IPUsageResponse) GetFrom

func (x *IPUsageResponse) GetFrom() *timestamppb.Timestamp

func (*IPUsageResponse) GetTo

func (*IPUsageResponse) GetUsage

func (x *IPUsageResponse) GetUsage() []*IPUsage

func (*IPUsageResponse) ProtoMessage

func (*IPUsageResponse) ProtoMessage()

func (*IPUsageResponse) ProtoReflect

func (x *IPUsageResponse) ProtoReflect() protoreflect.Message

func (*IPUsageResponse) Reset

func (x *IPUsageResponse) Reset()

func (*IPUsageResponse) String

func (x *IPUsageResponse) String() string

type InfoServiceClient

type InfoServiceClient interface {
	Projects(ctx context.Context, in *ProjectInfoRequest, opts ...grpc.CallOption) (*ProjectInfoResponse, error)
	Tenants(ctx context.Context, in *TenantInfoRequest, opts ...grpc.CallOption) (*TenantInfoResponse, error)
}

InfoServiceClient is the client API for InfoService 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.

type InfoServiceServer

type InfoServiceServer interface {
	Projects(context.Context, *ProjectInfoRequest) (*ProjectInfoResponse, error)
	Tenants(context.Context, *TenantInfoRequest) (*TenantInfoResponse, error)
}

InfoServiceServer is the server API for InfoService service. All implementations should embed UnimplementedInfoServiceServer for forward compatibility.

type KubernetesResourceReport

type KubernetesResourceReport struct {
	Report    *Report                `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"`
	Namespace string                 `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	StartDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	EndDate   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesResourceReport) Descriptor deprecated

func (*KubernetesResourceReport) Descriptor() ([]byte, []int)

Deprecated: Use KubernetesResourceReport.ProtoReflect.Descriptor instead.

func (*KubernetesResourceReport) GetEndDate

func (*KubernetesResourceReport) GetNamespace

func (x *KubernetesResourceReport) GetNamespace() string

func (*KubernetesResourceReport) GetReport

func (x *KubernetesResourceReport) GetReport() *Report

func (*KubernetesResourceReport) GetStartDate

func (x *KubernetesResourceReport) GetStartDate() *timestamppb.Timestamp

func (*KubernetesResourceReport) ProtoMessage

func (*KubernetesResourceReport) ProtoMessage()

func (*KubernetesResourceReport) ProtoReflect

func (x *KubernetesResourceReport) ProtoReflect() protoreflect.Message

func (*KubernetesResourceReport) Reset

func (x *KubernetesResourceReport) Reset()

func (*KubernetesResourceReport) String

func (x *KubernetesResourceReport) String() string

type MachineReport added in v0.9.0

type MachineReport struct {
	Report         *Report                `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"`
	Start          *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	End            *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	Machineid      string                 `protobuf:"bytes,4,opt,name=machineid,proto3" json:"machineid,omitempty"`
	Machinename    string                 `protobuf:"bytes,5,opt,name=machinename,proto3" json:"machinename,omitempty"`
	Sizeid         string                 `protobuf:"bytes,6,opt,name=sizeid,proto3" json:"sizeid,omitempty"`
	Imageid        string                 `protobuf:"bytes,7,opt,name=imageid,proto3" json:"imageid,omitempty"`
	Allocationuuid string                 `protobuf:"bytes,8,opt,name=allocationuuid,proto3" json:"allocationuuid,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineReport) Descriptor deprecated added in v0.9.0

func (*MachineReport) Descriptor() ([]byte, []int)

Deprecated: Use MachineReport.ProtoReflect.Descriptor instead.

func (*MachineReport) GetAllocationuuid added in v0.9.1

func (x *MachineReport) GetAllocationuuid() string

func (*MachineReport) GetEnd added in v0.9.0

func (x *MachineReport) GetEnd() *timestamppb.Timestamp

func (*MachineReport) GetImageid added in v0.9.0

func (x *MachineReport) GetImageid() string

func (*MachineReport) GetMachineid added in v0.9.0

func (x *MachineReport) GetMachineid() string

func (*MachineReport) GetMachinename added in v0.9.0

func (x *MachineReport) GetMachinename() string

func (*MachineReport) GetReport added in v0.9.0

func (x *MachineReport) GetReport() *Report

func (*MachineReport) GetSizeid added in v0.9.0

func (x *MachineReport) GetSizeid() string

func (*MachineReport) GetStart added in v0.9.0

func (x *MachineReport) GetStart() *timestamppb.Timestamp

func (*MachineReport) ProtoMessage added in v0.9.0

func (*MachineReport) ProtoMessage()

func (*MachineReport) ProtoReflect added in v0.9.0

func (x *MachineReport) ProtoReflect() protoreflect.Message

func (*MachineReport) Reset added in v0.9.0

func (x *MachineReport) Reset()

func (*MachineReport) String added in v0.9.0

func (x *MachineReport) String() string

type MachineReservationReport added in v0.11.0

type MachineReservationReport struct {
	Partition    string                 `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Tenant       string                 `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid    string                 `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Timestamp    *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Projectname  string                 `protobuf:"bytes,6,opt,name=projectname,proto3" json:"projectname,omitempty"`
	Id           string                 `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"`
	Sizeid       string                 `protobuf:"bytes,8,opt,name=sizeid,proto3" json:"sizeid,omitempty"`
	Amount       int32                  `protobuf:"varint,9,opt,name=amount,proto3" json:"amount,omitempty"`
	UsedAmount   int32                  `protobuf:"varint,10,opt,name=used_amount,json=usedAmount,proto3" json:"used_amount,omitempty"`
	UnusedAmount int32                  `protobuf:"varint,11,opt,name=unused_amount,json=unusedAmount,proto3" json:"unused_amount,omitempty"`
	Labels       map[string]string      `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MachineReservationReport) Descriptor deprecated added in v0.11.0

func (*MachineReservationReport) Descriptor() ([]byte, []int)

Deprecated: Use MachineReservationReport.ProtoReflect.Descriptor instead.

func (*MachineReservationReport) GetAmount added in v0.11.0

func (x *MachineReservationReport) GetAmount() int32

func (*MachineReservationReport) GetId added in v0.11.0

func (x *MachineReservationReport) GetId() string

func (*MachineReservationReport) GetLabels added in v0.11.0

func (x *MachineReservationReport) GetLabels() map[string]string

func (*MachineReservationReport) GetPartition added in v0.11.0

func (x *MachineReservationReport) GetPartition() string

func (*MachineReservationReport) GetProjectid added in v0.11.0

func (x *MachineReservationReport) GetProjectid() string

func (*MachineReservationReport) GetProjectname added in v0.11.0

func (x *MachineReservationReport) GetProjectname() string

func (*MachineReservationReport) GetSizeid added in v0.11.0

func (x *MachineReservationReport) GetSizeid() string

func (*MachineReservationReport) GetTenant added in v0.11.0

func (x *MachineReservationReport) GetTenant() string

func (*MachineReservationReport) GetTimestamp added in v0.11.0

func (x *MachineReservationReport) GetTimestamp() *timestamppb.Timestamp

func (*MachineReservationReport) GetUnusedAmount added in v0.11.0

func (x *MachineReservationReport) GetUnusedAmount() int32

func (*MachineReservationReport) GetUsedAmount added in v0.11.0

func (x *MachineReservationReport) GetUsedAmount() int32

func (*MachineReservationReport) ProtoMessage added in v0.11.0

func (*MachineReservationReport) ProtoMessage()

func (*MachineReservationReport) ProtoReflect added in v0.11.0

func (x *MachineReservationReport) ProtoReflect() protoreflect.Message

func (*MachineReservationReport) Reset added in v0.11.0

func (x *MachineReservationReport) Reset()

func (*MachineReservationReport) String added in v0.11.0

func (x *MachineReservationReport) String() string

type MachineReservationServiceClient added in v0.11.0

type MachineReservationServiceClient interface {
	Added(ctx context.Context, in *MachineReservationReport, opts ...grpc.CallOption) (*Empty, error)
	Modified(ctx context.Context, in *MachineReservationReport, opts ...grpc.CallOption) (*Empty, error)
	Deleted(ctx context.Context, in *MachineReservationReport, opts ...grpc.CallOption) (*Empty, error)
	Usage(ctx context.Context, in *MachineReservationUsageRequest, opts ...grpc.CallOption) (*MachineReservationUsageResponse, error)
}

MachineReservationServiceClient is the client API for MachineReservationService 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 NewMachineReservationServiceClient added in v0.11.0

func NewMachineReservationServiceClient(cc grpc.ClientConnInterface) MachineReservationServiceClient

type MachineReservationServiceServer added in v0.11.0

MachineReservationServiceServer is the server API for MachineReservationService service. All implementations should embed UnimplementedMachineReservationServiceServer for forward compatibility.

type MachineReservationUsage added in v0.11.0

type MachineReservationUsage struct {
	Partition          string `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Tenant             string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid          string `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Id                 string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	Sizeid             string `protobuf:"bytes,5,opt,name=sizeid,proto3" json:"sizeid,omitempty"`
	ReservationSeconds string `protobuf:"bytes,6,opt,name=reservation_seconds,json=reservationSeconds,proto3" json:"reservation_seconds,omitempty"`
	Average            string `protobuf:"bytes,7,opt,name=average,proto3" json:"average,omitempty"`
	Projectname        string `protobuf:"bytes,8,opt,name=projectname,proto3" json:"projectname,omitempty"`
	Tenantname         string `protobuf:"bytes,9,opt,name=tenantname,proto3" json:"tenantname,omitempty"`
	Contractnumber     string `protobuf:"bytes,10,opt,name=contractnumber,proto3" json:"contractnumber,omitempty"`
	Debtorid           string `protobuf:"bytes,11,opt,name=debtorid,proto3" json:"debtorid,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineReservationUsage) Descriptor deprecated added in v0.11.0

func (*MachineReservationUsage) Descriptor() ([]byte, []int)

Deprecated: Use MachineReservationUsage.ProtoReflect.Descriptor instead.

func (*MachineReservationUsage) GetAverage added in v0.11.0

func (x *MachineReservationUsage) GetAverage() string

func (*MachineReservationUsage) GetContractnumber added in v0.11.0

func (x *MachineReservationUsage) GetContractnumber() string

func (*MachineReservationUsage) GetDebtorid added in v0.11.0

func (x *MachineReservationUsage) GetDebtorid() string

func (*MachineReservationUsage) GetId added in v0.11.0

func (x *MachineReservationUsage) GetId() string

func (*MachineReservationUsage) GetPartition added in v0.11.0

func (x *MachineReservationUsage) GetPartition() string

func (*MachineReservationUsage) GetProjectid added in v0.11.0

func (x *MachineReservationUsage) GetProjectid() string

func (*MachineReservationUsage) GetProjectname added in v0.11.0

func (x *MachineReservationUsage) GetProjectname() string

func (*MachineReservationUsage) GetReservationSeconds added in v0.11.0

func (x *MachineReservationUsage) GetReservationSeconds() string

func (*MachineReservationUsage) GetSizeid added in v0.11.0

func (x *MachineReservationUsage) GetSizeid() string

func (*MachineReservationUsage) GetTenant added in v0.11.0

func (x *MachineReservationUsage) GetTenant() string

func (*MachineReservationUsage) GetTenantname added in v0.11.0

func (x *MachineReservationUsage) GetTenantname() string

func (*MachineReservationUsage) ProtoMessage added in v0.11.0

func (*MachineReservationUsage) ProtoMessage()

func (*MachineReservationUsage) ProtoReflect added in v0.11.0

func (x *MachineReservationUsage) ProtoReflect() protoreflect.Message

func (*MachineReservationUsage) Reset added in v0.11.0

func (x *MachineReservationUsage) Reset()

func (*MachineReservationUsage) String added in v0.11.0

func (x *MachineReservationUsage) String() string

type MachineReservationUsageAccumuluated added in v0.11.0

type MachineReservationUsageAccumuluated struct {
	ReservationSeconds string `protobuf:"bytes,1,opt,name=reservation_seconds,json=reservationSeconds,proto3" json:"reservation_seconds,omitempty"`
	Average            string `protobuf:"bytes,2,opt,name=average,proto3" json:"average,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineReservationUsageAccumuluated) Descriptor deprecated added in v0.11.0

func (*MachineReservationUsageAccumuluated) Descriptor() ([]byte, []int)

Deprecated: Use MachineReservationUsageAccumuluated.ProtoReflect.Descriptor instead.

func (*MachineReservationUsageAccumuluated) GetAverage added in v0.11.0

func (*MachineReservationUsageAccumuluated) GetReservationSeconds added in v0.11.0

func (x *MachineReservationUsageAccumuluated) GetReservationSeconds() string

func (*MachineReservationUsageAccumuluated) ProtoMessage added in v0.11.0

func (*MachineReservationUsageAccumuluated) ProtoMessage()

func (*MachineReservationUsageAccumuluated) ProtoReflect added in v0.11.0

func (*MachineReservationUsageAccumuluated) Reset added in v0.11.0

func (*MachineReservationUsageAccumuluated) String added in v0.11.0

type MachineReservationUsageRequest added in v0.11.0

type MachineReservationUsageRequest struct {
	Query     *UsageQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Id        *string     `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Sizeid    *string     `protobuf:"bytes,3,opt,name=sizeid,proto3,oneof" json:"sizeid,omitempty"`
	Partition *string     `protobuf:"bytes,4,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineReservationUsageRequest) Descriptor deprecated added in v0.11.0

func (*MachineReservationUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use MachineReservationUsageRequest.ProtoReflect.Descriptor instead.

func (*MachineReservationUsageRequest) GetId added in v0.11.0

func (*MachineReservationUsageRequest) GetPartition added in v0.11.0

func (x *MachineReservationUsageRequest) GetPartition() string

func (*MachineReservationUsageRequest) GetQuery added in v0.11.0

func (*MachineReservationUsageRequest) GetSizeid added in v0.11.0

func (x *MachineReservationUsageRequest) GetSizeid() string

func (*MachineReservationUsageRequest) ProtoMessage added in v0.11.0

func (*MachineReservationUsageRequest) ProtoMessage()

func (*MachineReservationUsageRequest) ProtoReflect added in v0.11.0

func (*MachineReservationUsageRequest) Reset added in v0.11.0

func (x *MachineReservationUsageRequest) Reset()

func (*MachineReservationUsageRequest) String added in v0.11.0

type MachineReservationUsageResponse added in v0.11.0

type MachineReservationUsageResponse 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"`
	Usage            []*MachineReservationUsage           `protobuf:"bytes,3,rep,name=usage,proto3" json:"usage,omitempty"`
	AccumulatedUsage *MachineReservationUsageAccumuluated `protobuf:"bytes,4,opt,name=accumulated_usage,json=accumulatedUsage,proto3" json:"accumulated_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineReservationUsageResponse) Descriptor deprecated added in v0.11.0

func (*MachineReservationUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use MachineReservationUsageResponse.ProtoReflect.Descriptor instead.

func (*MachineReservationUsageResponse) GetAccumulatedUsage added in v0.11.0

func (*MachineReservationUsageResponse) GetFrom added in v0.11.0

func (*MachineReservationUsageResponse) GetTo added in v0.11.0

func (*MachineReservationUsageResponse) GetUsage added in v0.11.0

func (*MachineReservationUsageResponse) ProtoMessage added in v0.11.0

func (*MachineReservationUsageResponse) ProtoMessage()

func (*MachineReservationUsageResponse) ProtoReflect added in v0.11.0

func (*MachineReservationUsageResponse) Reset added in v0.11.0

func (*MachineReservationUsageResponse) String added in v0.11.0

type MachineServiceClient added in v0.9.0

type MachineServiceClient interface {
	Added(ctx context.Context, in *MachineReport, opts ...grpc.CallOption) (*Empty, error)
	Modified(ctx context.Context, in *MachineReport, opts ...grpc.CallOption) (*Empty, error)
	Deleted(ctx context.Context, in *MachineReport, opts ...grpc.CallOption) (*Empty, error)
	Usage(ctx context.Context, in *MachineUsageRequest, opts ...grpc.CallOption) (*MachineUsageResponse, error)
}

MachineServiceClient is the client API for MachineService 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 NewMachineServiceClient added in v0.9.0

func NewMachineServiceClient(cc grpc.ClientConnInterface) MachineServiceClient

type MachineServiceServer added in v0.9.0

type MachineServiceServer interface {
	Added(context.Context, *MachineReport) (*Empty, error)
	Modified(context.Context, *MachineReport) (*Empty, error)
	Deleted(context.Context, *MachineReport) (*Empty, error)
	Usage(context.Context, *MachineUsageRequest) (*MachineUsageResponse, error)
}

MachineServiceServer is the server API for MachineService service. All implementations should embed UnimplementedMachineServiceServer for forward compatibility.

type MachineUsage added in v0.9.0

type MachineUsage struct {
	Partition      string                 `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Tenant         string                 `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid      string                 `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Machineid      string                 `protobuf:"bytes,4,opt,name=machineid,proto3" json:"machineid,omitempty"`
	Machinename    string                 `protobuf:"bytes,5,opt,name=machinename,proto3" json:"machinename,omitempty"`
	Sizeid         string                 `protobuf:"bytes,6,opt,name=sizeid,proto3" json:"sizeid,omitempty"`
	Imageid        string                 `protobuf:"bytes,7,opt,name=imageid,proto3" json:"imageid,omitempty"`
	Clusterid      string                 `protobuf:"bytes,8,opt,name=clusterid,proto3" json:"clusterid,omitempty"`
	Clustername    string                 `protobuf:"bytes,9,opt,name=clustername,proto3" json:"clustername,omitempty"`
	Start          *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=start,proto3" json:"start,omitempty"`
	End            *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=end,proto3" json:"end,omitempty"`
	Lifetime       *durationpb.Duration   `protobuf:"bytes,12,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	Projectname    string                 `protobuf:"bytes,13,opt,name=projectname,proto3" json:"projectname,omitempty"`
	Tenantname     string                 `protobuf:"bytes,14,opt,name=tenantname,proto3" json:"tenantname,omitempty"`
	Contractnumber string                 `protobuf:"bytes,15,opt,name=contractnumber,proto3" json:"contractnumber,omitempty"`
	Debtorid       string                 `protobuf:"bytes,16,opt,name=debtorid,proto3" json:"debtorid,omitempty"`
	Allocationuuid string                 `protobuf:"bytes,17,opt,name=allocationuuid,proto3" json:"allocationuuid,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineUsage) Descriptor deprecated added in v0.9.0

func (*MachineUsage) Descriptor() ([]byte, []int)

Deprecated: Use MachineUsage.ProtoReflect.Descriptor instead.

func (*MachineUsage) GetAllocationuuid added in v0.9.1

func (x *MachineUsage) GetAllocationuuid() string

func (*MachineUsage) GetClusterid added in v0.9.0

func (x *MachineUsage) GetClusterid() string

func (*MachineUsage) GetClustername added in v0.9.0

func (x *MachineUsage) GetClustername() string

func (*MachineUsage) GetContractnumber added in v0.9.0

func (x *MachineUsage) GetContractnumber() string

func (*MachineUsage) GetDebtorid added in v0.9.0

func (x *MachineUsage) GetDebtorid() string

func (*MachineUsage) GetEnd added in v0.9.0

func (x *MachineUsage) GetEnd() *timestamppb.Timestamp

func (*MachineUsage) GetImageid added in v0.9.0

func (x *MachineUsage) GetImageid() string

func (*MachineUsage) GetLifetime added in v0.9.0

func (x *MachineUsage) GetLifetime() *durationpb.Duration

func (*MachineUsage) GetMachineid added in v0.9.0

func (x *MachineUsage) GetMachineid() string

func (*MachineUsage) GetMachinename added in v0.9.0

func (x *MachineUsage) GetMachinename() string

func (*MachineUsage) GetPartition added in v0.9.0

func (x *MachineUsage) GetPartition() string

func (*MachineUsage) GetProjectid added in v0.9.0

func (x *MachineUsage) GetProjectid() string

func (*MachineUsage) GetProjectname added in v0.9.0

func (x *MachineUsage) GetProjectname() string

func (*MachineUsage) GetSizeid added in v0.9.0

func (x *MachineUsage) GetSizeid() string

func (*MachineUsage) GetStart added in v0.9.0

func (x *MachineUsage) GetStart() *timestamppb.Timestamp

func (*MachineUsage) GetTenant added in v0.9.0

func (x *MachineUsage) GetTenant() string

func (*MachineUsage) GetTenantname added in v0.9.0

func (x *MachineUsage) GetTenantname() string

func (*MachineUsage) ProtoMessage added in v0.9.0

func (*MachineUsage) ProtoMessage()

func (*MachineUsage) ProtoReflect added in v0.9.0

func (x *MachineUsage) ProtoReflect() protoreflect.Message

func (*MachineUsage) Reset added in v0.9.0

func (x *MachineUsage) Reset()

func (*MachineUsage) String added in v0.9.0

func (x *MachineUsage) String() string

type MachineUsageAccumuluated added in v0.9.0

type MachineUsageAccumuluated struct {
	Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineUsageAccumuluated) Descriptor deprecated added in v0.9.0

func (*MachineUsageAccumuluated) Descriptor() ([]byte, []int)

Deprecated: Use MachineUsageAccumuluated.ProtoReflect.Descriptor instead.

func (*MachineUsageAccumuluated) GetLifetime added in v0.9.0

func (x *MachineUsageAccumuluated) GetLifetime() *durationpb.Duration

func (*MachineUsageAccumuluated) ProtoMessage added in v0.9.0

func (*MachineUsageAccumuluated) ProtoMessage()

func (*MachineUsageAccumuluated) ProtoReflect added in v0.9.0

func (x *MachineUsageAccumuluated) ProtoReflect() protoreflect.Message

func (*MachineUsageAccumuluated) Reset added in v0.9.0

func (x *MachineUsageAccumuluated) Reset()

func (*MachineUsageAccumuluated) String added in v0.9.0

func (x *MachineUsageAccumuluated) String() string

type MachineUsageRequest added in v0.9.0

type MachineUsageRequest struct {
	Query          *UsageQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Sizeid         *string     `protobuf:"bytes,2,opt,name=sizeid,proto3,oneof" json:"sizeid,omitempty"`
	Machineid      *string     `protobuf:"bytes,3,opt,name=machineid,proto3,oneof" json:"machineid,omitempty"`
	Partition      *string     `protobuf:"bytes,4,opt,name=partition,proto3,oneof" json:"partition,omitempty"`
	Allocationuuid *string     `protobuf:"bytes,5,opt,name=allocationuuid,proto3,oneof" json:"allocationuuid,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineUsageRequest) Descriptor deprecated added in v0.9.0

func (*MachineUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use MachineUsageRequest.ProtoReflect.Descriptor instead.

func (*MachineUsageRequest) GetAllocationuuid added in v0.9.1

func (x *MachineUsageRequest) GetAllocationuuid() string

func (*MachineUsageRequest) GetMachineid added in v0.9.0

func (x *MachineUsageRequest) GetMachineid() string

func (*MachineUsageRequest) GetPartition added in v0.9.0

func (x *MachineUsageRequest) GetPartition() string

func (*MachineUsageRequest) GetQuery added in v0.9.0

func (x *MachineUsageRequest) GetQuery() *UsageQuery

func (*MachineUsageRequest) GetSizeid added in v0.9.0

func (x *MachineUsageRequest) GetSizeid() string

func (*MachineUsageRequest) ProtoMessage added in v0.9.0

func (*MachineUsageRequest) ProtoMessage()

func (*MachineUsageRequest) ProtoReflect added in v0.9.0

func (x *MachineUsageRequest) ProtoReflect() protoreflect.Message

func (*MachineUsageRequest) Reset added in v0.9.0

func (x *MachineUsageRequest) Reset()

func (*MachineUsageRequest) String added in v0.9.0

func (x *MachineUsageRequest) String() string

type MachineUsageResponse added in v0.9.0

type MachineUsageResponse 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"`
	Usage            []*MachineUsage           `protobuf:"bytes,3,rep,name=usage,proto3" json:"usage,omitempty"`
	AccumulatedUsage *MachineUsageAccumuluated `protobuf:"bytes,4,opt,name=accumulated_usage,json=accumulatedUsage,proto3" json:"accumulated_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineUsageResponse) Descriptor deprecated added in v0.9.0

func (*MachineUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use MachineUsageResponse.ProtoReflect.Descriptor instead.

func (*MachineUsageResponse) GetAccumulatedUsage added in v0.9.0

func (x *MachineUsageResponse) GetAccumulatedUsage() *MachineUsageAccumuluated

func (*MachineUsageResponse) GetFrom added in v0.9.0

func (*MachineUsageResponse) GetTo added in v0.9.0

func (*MachineUsageResponse) GetUsage added in v0.9.0

func (x *MachineUsageResponse) GetUsage() []*MachineUsage

func (*MachineUsageResponse) ProtoMessage added in v0.9.0

func (*MachineUsageResponse) ProtoMessage()

func (*MachineUsageResponse) ProtoReflect added in v0.9.0

func (x *MachineUsageResponse) ProtoReflect() protoreflect.Message

func (*MachineUsageResponse) Reset added in v0.9.0

func (x *MachineUsageResponse) Reset()

func (*MachineUsageResponse) String added in v0.9.0

func (x *MachineUsageResponse) String() string

type NetworkTraffic

type NetworkTraffic struct {
	Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	In     uint64 `protobuf:"varint,2,opt,name=in,proto3" json:"in,omitempty"`
	Out    uint64 `protobuf:"varint,3,opt,name=out,proto3" json:"out,omitempty"`
	// Deprecated: Marked as deprecated in metalstack/io/accounting/api/v1/network_traffic.proto.
	Total uint64 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkTraffic) Descriptor deprecated

func (*NetworkTraffic) Descriptor() ([]byte, []int)

Deprecated: Use NetworkTraffic.ProtoReflect.Descriptor instead.

func (*NetworkTraffic) GetDevice

func (x *NetworkTraffic) GetDevice() string

func (*NetworkTraffic) GetIn

func (x *NetworkTraffic) GetIn() uint64

func (*NetworkTraffic) GetOut

func (x *NetworkTraffic) GetOut() uint64

func (*NetworkTraffic) GetTotal deprecated

func (x *NetworkTraffic) GetTotal() uint64

Deprecated: Marked as deprecated in metalstack/io/accounting/api/v1/network_traffic.proto.

func (*NetworkTraffic) ProtoMessage

func (*NetworkTraffic) ProtoMessage()

func (*NetworkTraffic) ProtoReflect

func (x *NetworkTraffic) ProtoReflect() protoreflect.Message

func (*NetworkTraffic) Reset

func (x *NetworkTraffic) Reset()

func (*NetworkTraffic) String

func (x *NetworkTraffic) String() string

type NetworkTrafficReport

type NetworkTrafficReport struct {
	Report         *Report           `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"`
	TrafficReports []*NetworkTraffic `protobuf:"bytes,2,rep,name=traffic_reports,json=trafficReports,proto3" json:"traffic_reports,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkTrafficReport) Descriptor deprecated

func (*NetworkTrafficReport) Descriptor() ([]byte, []int)

Deprecated: Use NetworkTrafficReport.ProtoReflect.Descriptor instead.

func (*NetworkTrafficReport) GetReport

func (x *NetworkTrafficReport) GetReport() *Report

func (*NetworkTrafficReport) GetTrafficReports

func (x *NetworkTrafficReport) GetTrafficReports() []*NetworkTraffic

func (*NetworkTrafficReport) ProtoMessage

func (*NetworkTrafficReport) ProtoMessage()

func (*NetworkTrafficReport) ProtoReflect

func (x *NetworkTrafficReport) ProtoReflect() protoreflect.Message

func (*NetworkTrafficReport) Reset

func (x *NetworkTrafficReport) Reset()

func (*NetworkTrafficReport) String

func (x *NetworkTrafficReport) String() string

type NetworkTrafficServiceClient

type NetworkTrafficServiceClient interface {
	Modified(ctx context.Context, in *NetworkTrafficReport, opts ...grpc.CallOption) (*Empty, error)
	Usage(ctx context.Context, in *NetworkUsageRequest, opts ...grpc.CallOption) (*NetworkUsageResponse, error)
}

NetworkTrafficServiceClient is the client API for NetworkTrafficService 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.

type NetworkTrafficServiceServer

type NetworkTrafficServiceServer interface {
	Modified(context.Context, *NetworkTrafficReport) (*Empty, error)
	Usage(context.Context, *NetworkUsageRequest) (*NetworkUsageResponse, error)
}

NetworkTrafficServiceServer is the server API for NetworkTrafficService service. All implementations should embed UnimplementedNetworkTrafficServiceServer for forward compatibility.

type NetworkUsage

type NetworkUsage struct {
	Partition      string               `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Tenant         string               `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid      string               `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Clusterid      string               `protobuf:"bytes,4,opt,name=clusterid,proto3" json:"clusterid,omitempty"`
	Clustername    string               `protobuf:"bytes,5,opt,name=clustername,proto3" json:"clustername,omitempty"`
	Device         string               `protobuf:"bytes,6,opt,name=device,proto3" json:"device,omitempty"`
	InBytes        string               `protobuf:"bytes,7,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"`
	OutBytes       string               `protobuf:"bytes,8,opt,name=out_bytes,json=outBytes,proto3" json:"out_bytes,omitempty"`
	Lifetime       *durationpb.Duration `protobuf:"bytes,11,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	Warnings       []string             `protobuf:"bytes,12,rep,name=warnings,proto3" json:"warnings,omitempty"`
	TotalBytes     string               `protobuf:"bytes,13,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	Projectname    string               `protobuf:"bytes,14,opt,name=projectname,proto3" json:"projectname,omitempty"`
	Annotations    []string             `protobuf:"bytes,15,rep,name=annotations,proto3" json:"annotations,omitempty"`
	Tenantname     string               `protobuf:"bytes,16,opt,name=tenantname,proto3" json:"tenantname,omitempty"`
	Contractnumber string               `protobuf:"bytes,17,opt,name=contractnumber,proto3" json:"contractnumber,omitempty"`
	Debtorid       string               `protobuf:"bytes,18,opt,name=debtorid,proto3" json:"debtorid,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkUsage) Descriptor deprecated

func (*NetworkUsage) Descriptor() ([]byte, []int)

Deprecated: Use NetworkUsage.ProtoReflect.Descriptor instead.

func (*NetworkUsage) GetAnnotations

func (x *NetworkUsage) GetAnnotations() []string

func (*NetworkUsage) GetClusterid

func (x *NetworkUsage) GetClusterid() string

func (*NetworkUsage) GetClustername

func (x *NetworkUsage) GetClustername() string

func (*NetworkUsage) GetContractnumber

func (x *NetworkUsage) GetContractnumber() string

func (*NetworkUsage) GetDebtorid

func (x *NetworkUsage) GetDebtorid() string

func (*NetworkUsage) GetDevice

func (x *NetworkUsage) GetDevice() string

func (*NetworkUsage) GetInBytes

func (x *NetworkUsage) GetInBytes() string

func (*NetworkUsage) GetLifetime

func (x *NetworkUsage) GetLifetime() *durationpb.Duration

func (*NetworkUsage) GetOutBytes

func (x *NetworkUsage) GetOutBytes() string

func (*NetworkUsage) GetPartition

func (x *NetworkUsage) GetPartition() string

func (*NetworkUsage) GetProjectid

func (x *NetworkUsage) GetProjectid() string

func (*NetworkUsage) GetProjectname

func (x *NetworkUsage) GetProjectname() string

func (*NetworkUsage) GetTenant

func (x *NetworkUsage) GetTenant() string

func (*NetworkUsage) GetTenantname

func (x *NetworkUsage) GetTenantname() string

func (*NetworkUsage) GetTotalBytes

func (x *NetworkUsage) GetTotalBytes() string

func (*NetworkUsage) GetWarnings

func (x *NetworkUsage) GetWarnings() []string

func (*NetworkUsage) ProtoMessage

func (*NetworkUsage) ProtoMessage()

func (*NetworkUsage) ProtoReflect

func (x *NetworkUsage) ProtoReflect() protoreflect.Message

func (*NetworkUsage) Reset

func (x *NetworkUsage) Reset()

func (*NetworkUsage) String

func (x *NetworkUsage) String() string

type NetworkUsageAccumuluated

type NetworkUsageAccumuluated struct {
	Lifetime   *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	InBytes    string               `protobuf:"bytes,2,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"`
	OutBytes   string               `protobuf:"bytes,3,opt,name=out_bytes,json=outBytes,proto3" json:"out_bytes,omitempty"`
	TotalBytes string               `protobuf:"bytes,4,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkUsageAccumuluated) Descriptor deprecated

func (*NetworkUsageAccumuluated) Descriptor() ([]byte, []int)

Deprecated: Use NetworkUsageAccumuluated.ProtoReflect.Descriptor instead.

func (*NetworkUsageAccumuluated) GetInBytes

func (x *NetworkUsageAccumuluated) GetInBytes() string

func (*NetworkUsageAccumuluated) GetLifetime

func (x *NetworkUsageAccumuluated) GetLifetime() *durationpb.Duration

func (*NetworkUsageAccumuluated) GetOutBytes

func (x *NetworkUsageAccumuluated) GetOutBytes() string

func (*NetworkUsageAccumuluated) GetTotalBytes

func (x *NetworkUsageAccumuluated) GetTotalBytes() string

func (*NetworkUsageAccumuluated) ProtoMessage

func (*NetworkUsageAccumuluated) ProtoMessage()

func (*NetworkUsageAccumuluated) ProtoReflect

func (x *NetworkUsageAccumuluated) ProtoReflect() protoreflect.Message

func (*NetworkUsageAccumuluated) Reset

func (x *NetworkUsageAccumuluated) Reset()

func (*NetworkUsageAccumuluated) String

func (x *NetworkUsageAccumuluated) String() string

type NetworkUsageRequest

type NetworkUsageRequest struct {
	Query  *UsageQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Device *string     `protobuf:"bytes,2,opt,name=device,proto3,oneof" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkUsageRequest) Descriptor deprecated

func (*NetworkUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use NetworkUsageRequest.ProtoReflect.Descriptor instead.

func (*NetworkUsageRequest) GetDevice

func (x *NetworkUsageRequest) GetDevice() string

func (*NetworkUsageRequest) GetQuery

func (x *NetworkUsageRequest) GetQuery() *UsageQuery

func (*NetworkUsageRequest) ProtoMessage

func (*NetworkUsageRequest) ProtoMessage()

func (*NetworkUsageRequest) ProtoReflect

func (x *NetworkUsageRequest) ProtoReflect() protoreflect.Message

func (*NetworkUsageRequest) Reset

func (x *NetworkUsageRequest) Reset()

func (*NetworkUsageRequest) String

func (x *NetworkUsageRequest) String() string

type NetworkUsageResponse

type NetworkUsageResponse 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"`
	Usage            []*NetworkUsage           `protobuf:"bytes,3,rep,name=usage,proto3" json:"usage,omitempty"`
	AccumulatedUsage *NetworkUsageAccumuluated `protobuf:"bytes,4,opt,name=accumulated_usage,json=accumulatedUsage,proto3" json:"accumulated_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkUsageResponse) Descriptor deprecated

func (*NetworkUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use NetworkUsageResponse.ProtoReflect.Descriptor instead.

func (*NetworkUsageResponse) GetAccumulatedUsage

func (x *NetworkUsageResponse) GetAccumulatedUsage() *NetworkUsageAccumuluated

func (*NetworkUsageResponse) GetFrom

func (*NetworkUsageResponse) GetTo

func (*NetworkUsageResponse) GetUsage

func (x *NetworkUsageResponse) GetUsage() []*NetworkUsage

func (*NetworkUsageResponse) ProtoMessage

func (*NetworkUsageResponse) ProtoMessage()

func (*NetworkUsageResponse) ProtoReflect

func (x *NetworkUsageResponse) ProtoReflect() protoreflect.Message

func (*NetworkUsageResponse) Reset

func (x *NetworkUsageResponse) Reset()

func (*NetworkUsageResponse) String

func (x *NetworkUsageResponse) String() string

type PodReport

type PodReport struct {
	KubernetesReport *KubernetesResourceReport `protobuf:"bytes,1,opt,name=kubernetes_report,json=kubernetesReport,proto3" json:"kubernetes_report,omitempty"`
	Containers       []*Container              `protobuf:"bytes,2,rep,name=containers,proto3" json:"containers,omitempty"`
	Annotations      []string                  `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*PodReport) Descriptor deprecated

func (*PodReport) Descriptor() ([]byte, []int)

Deprecated: Use PodReport.ProtoReflect.Descriptor instead.

func (*PodReport) GetAnnotations

func (x *PodReport) GetAnnotations() []string

func (*PodReport) GetContainers

func (x *PodReport) GetContainers() []*Container

func (*PodReport) GetKubernetesReport

func (x *PodReport) GetKubernetesReport() *KubernetesResourceReport

func (*PodReport) ProtoMessage

func (*PodReport) ProtoMessage()

func (*PodReport) ProtoReflect

func (x *PodReport) ProtoReflect() protoreflect.Message

func (*PodReport) Reset

func (x *PodReport) Reset()

func (*PodReport) String

func (x *PodReport) String() string

type PodServiceClient

type PodServiceClient interface {
	Added(ctx context.Context, in *PodReport, opts ...grpc.CallOption) (*Empty, error)
	Modified(ctx context.Context, in *PodReport, opts ...grpc.CallOption) (*Empty, error)
	Deleted(ctx context.Context, in *PodReport, opts ...grpc.CallOption) (*Empty, error)
	Usage(ctx context.Context, in *ContainerUsageRequest, opts ...grpc.CallOption) (*ContainerUsageResponse, error)
}

PodServiceClient is the client API for PodService 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 NewPodServiceClient

func NewPodServiceClient(cc grpc.ClientConnInterface) PodServiceClient

type PodServiceServer

type PodServiceServer interface {
	Added(context.Context, *PodReport) (*Empty, error)
	Modified(context.Context, *PodReport) (*Empty, error)
	Deleted(context.Context, *PodReport) (*Empty, error)
	Usage(context.Context, *ContainerUsageRequest) (*ContainerUsageResponse, error)
}

PodServiceServer is the server API for PodService service. All implementations should embed UnimplementedPodServiceServer for forward compatibility.

type Postgres

type Postgres struct {
	Tenant      string                 `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid   string                 `protobuf:"bytes,2,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Partition   string                 `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"`
	Id          string                 `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	Description string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Version     string                 `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	Cpu         string                 `protobuf:"bytes,7,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory      string                 `protobuf:"bytes,8,opt,name=memory,proto3" json:"memory,omitempty"`
	Storage     string                 `protobuf:"bytes,9,opt,name=storage,proto3" json:"storage,omitempty"`
	Replicas    int32                  `protobuf:"varint,10,opt,name=replicas,proto3" json:"replicas,omitempty"`
	Timestamp   *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Start       *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=start,proto3" json:"start,omitempty"`
	End         *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=end,proto3" json:"end,omitempty"`
	Annotations []string               `protobuf:"bytes,14,rep,name=annotations,proto3" json:"annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*Postgres) Descriptor deprecated

func (*Postgres) Descriptor() ([]byte, []int)

Deprecated: Use Postgres.ProtoReflect.Descriptor instead.

func (*Postgres) GetAnnotations

func (x *Postgres) GetAnnotations() []string

func (*Postgres) GetCpu

func (x *Postgres) GetCpu() string

func (*Postgres) GetDescription

func (x *Postgres) GetDescription() string

func (*Postgres) GetEnd

func (x *Postgres) GetEnd() *timestamppb.Timestamp

func (*Postgres) GetId

func (x *Postgres) GetId() string

func (*Postgres) GetMemory

func (x *Postgres) GetMemory() string

func (*Postgres) GetPartition

func (x *Postgres) GetPartition() string

func (*Postgres) GetProjectid

func (x *Postgres) GetProjectid() string

func (*Postgres) GetReplicas

func (x *Postgres) GetReplicas() int32

func (*Postgres) GetStart

func (x *Postgres) GetStart() *timestamppb.Timestamp

func (*Postgres) GetStorage

func (x *Postgres) GetStorage() string

func (*Postgres) GetTenant

func (x *Postgres) GetTenant() string

func (*Postgres) GetTimestamp

func (x *Postgres) GetTimestamp() *timestamppb.Timestamp

func (*Postgres) GetVersion

func (x *Postgres) GetVersion() string

func (*Postgres) ProtoMessage

func (*Postgres) ProtoMessage()

func (*Postgres) ProtoReflect

func (x *Postgres) ProtoReflect() protoreflect.Message

func (*Postgres) Reset

func (x *Postgres) Reset()

func (*Postgres) String

func (x *Postgres) String() string

type PostgresReport

type PostgresReport struct {
	Postgres *Postgres `protobuf:"bytes,1,opt,name=postgres,proto3" json:"postgres,omitempty"`
	// contains filtered or unexported fields
}

func (*PostgresReport) Descriptor deprecated

func (*PostgresReport) Descriptor() ([]byte, []int)

Deprecated: Use PostgresReport.ProtoReflect.Descriptor instead.

func (*PostgresReport) GetPostgres

func (x *PostgresReport) GetPostgres() *Postgres

func (*PostgresReport) ProtoMessage

func (*PostgresReport) ProtoMessage()

func (*PostgresReport) ProtoReflect

func (x *PostgresReport) ProtoReflect() protoreflect.Message

func (*PostgresReport) Reset

func (x *PostgresReport) Reset()

func (*PostgresReport) String

func (x *PostgresReport) String() string

type PostgresServiceClient

type PostgresServiceClient interface {
	Added(ctx context.Context, in *PostgresReport, opts ...grpc.CallOption) (*Empty, error)
	Modified(ctx context.Context, in *PostgresReport, opts ...grpc.CallOption) (*Empty, error)
	Deleted(ctx context.Context, in *PostgresReport, opts ...grpc.CallOption) (*Empty, error)
	Usage(ctx context.Context, in *PostgresUsageRequest, opts ...grpc.CallOption) (*PostgresUsageResponse, error)
}

PostgresServiceClient is the client API for PostgresService 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.

type PostgresServiceServer

type PostgresServiceServer interface {
	Added(context.Context, *PostgresReport) (*Empty, error)
	Modified(context.Context, *PostgresReport) (*Empty, error)
	Deleted(context.Context, *PostgresReport) (*Empty, error)
	Usage(context.Context, *PostgresUsageRequest) (*PostgresUsageResponse, error)
}

PostgresServiceServer is the server API for PostgresService service. All implementations should embed UnimplementedPostgresServiceServer for forward compatibility.

type PostgresUsage

type PostgresUsage struct {
	Id             string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Description    string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Projectid      string                 `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Tenant         string                 `protobuf:"bytes,4,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Partition      string                 `protobuf:"bytes,5,opt,name=partition,proto3" json:"partition,omitempty"`
	Start          *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start,proto3" json:"start,omitempty"`
	End            *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end,proto3" json:"end,omitempty"`
	Lifetime       *durationpb.Duration   `protobuf:"bytes,8,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	CpuSeconds     string                 `protobuf:"bytes,9,opt,name=cpu_seconds,json=cpuSeconds,proto3" json:"cpu_seconds,omitempty"`
	MemorySeconds  string                 `protobuf:"bytes,10,opt,name=memory_seconds,json=memorySeconds,proto3" json:"memory_seconds,omitempty"`
	StorageSeconds string                 `protobuf:"bytes,11,opt,name=storage_seconds,json=storageSeconds,proto3" json:"storage_seconds,omitempty"`
	Replicas       int32                  `protobuf:"varint,12,opt,name=replicas,proto3" json:"replicas,omitempty"`
	Warnings       []string               `protobuf:"bytes,13,rep,name=warnings,proto3" json:"warnings,omitempty"`
	Annotations    []string               `protobuf:"bytes,14,rep,name=annotations,proto3" json:"annotations,omitempty"`
	Tenantname     string                 `protobuf:"bytes,15,opt,name=tenantname,proto3" json:"tenantname,omitempty"`
	Contractnumber string                 `protobuf:"bytes,16,opt,name=contractnumber,proto3" json:"contractnumber,omitempty"`
	Debtorid       string                 `protobuf:"bytes,17,opt,name=debtorid,proto3" json:"debtorid,omitempty"`
	Projectname    string                 `protobuf:"bytes,18,opt,name=projectname,proto3" json:"projectname,omitempty"`
	// contains filtered or unexported fields
}

func (*PostgresUsage) Descriptor deprecated

func (*PostgresUsage) Descriptor() ([]byte, []int)

Deprecated: Use PostgresUsage.ProtoReflect.Descriptor instead.

func (*PostgresUsage) GetAnnotations

func (x *PostgresUsage) GetAnnotations() []string

func (*PostgresUsage) GetContractnumber

func (x *PostgresUsage) GetContractnumber() string

func (*PostgresUsage) GetCpuSeconds

func (x *PostgresUsage) GetCpuSeconds() string

func (*PostgresUsage) GetDebtorid

func (x *PostgresUsage) GetDebtorid() string

func (*PostgresUsage) GetDescription

func (x *PostgresUsage) GetDescription() string

func (*PostgresUsage) GetEnd

func (x *PostgresUsage) GetEnd() *timestamppb.Timestamp

func (*PostgresUsage) GetId

func (x *PostgresUsage) GetId() string

func (*PostgresUsage) GetLifetime

func (x *PostgresUsage) GetLifetime() *durationpb.Duration

func (*PostgresUsage) GetMemorySeconds

func (x *PostgresUsage) GetMemorySeconds() string

func (*PostgresUsage) GetPartition

func (x *PostgresUsage) GetPartition() string

func (*PostgresUsage) GetProjectid

func (x *PostgresUsage) GetProjectid() string

func (*PostgresUsage) GetProjectname

func (x *PostgresUsage) GetProjectname() string

func (*PostgresUsage) GetReplicas

func (x *PostgresUsage) GetReplicas() int32

func (*PostgresUsage) GetStart

func (x *PostgresUsage) GetStart() *timestamppb.Timestamp

func (*PostgresUsage) GetStorageSeconds

func (x *PostgresUsage) GetStorageSeconds() string

func (*PostgresUsage) GetTenant

func (x *PostgresUsage) GetTenant() string

func (*PostgresUsage) GetTenantname

func (x *PostgresUsage) GetTenantname() string

func (*PostgresUsage) GetWarnings

func (x *PostgresUsage) GetWarnings() []string

func (*PostgresUsage) ProtoMessage

func (*PostgresUsage) ProtoMessage()

func (*PostgresUsage) ProtoReflect

func (x *PostgresUsage) ProtoReflect() protoreflect.Message

func (*PostgresUsage) Reset

func (x *PostgresUsage) Reset()

func (*PostgresUsage) String

func (x *PostgresUsage) String() string

type PostgresUsageAccumuluated

type PostgresUsageAccumuluated struct {
	Lifetime       *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	CpuSeconds     string               `protobuf:"bytes,2,opt,name=cpu_seconds,json=cpuSeconds,proto3" json:"cpu_seconds,omitempty"`
	MemorySeconds  string               `protobuf:"bytes,3,opt,name=memory_seconds,json=memorySeconds,proto3" json:"memory_seconds,omitempty"`
	StorageSeconds string               `protobuf:"bytes,4,opt,name=storage_seconds,json=storageSeconds,proto3" json:"storage_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*PostgresUsageAccumuluated) Descriptor deprecated

func (*PostgresUsageAccumuluated) Descriptor() ([]byte, []int)

Deprecated: Use PostgresUsageAccumuluated.ProtoReflect.Descriptor instead.

func (*PostgresUsageAccumuluated) GetCpuSeconds

func (x *PostgresUsageAccumuluated) GetCpuSeconds() string

func (*PostgresUsageAccumuluated) GetLifetime

func (x *PostgresUsageAccumuluated) GetLifetime() *durationpb.Duration

func (*PostgresUsageAccumuluated) GetMemorySeconds

func (x *PostgresUsageAccumuluated) GetMemorySeconds() string

func (*PostgresUsageAccumuluated) GetStorageSeconds

func (x *PostgresUsageAccumuluated) GetStorageSeconds() string

func (*PostgresUsageAccumuluated) ProtoMessage

func (*PostgresUsageAccumuluated) ProtoMessage()

func (*PostgresUsageAccumuluated) ProtoReflect

func (*PostgresUsageAccumuluated) Reset

func (x *PostgresUsageAccumuluated) Reset()

func (*PostgresUsageAccumuluated) String

func (x *PostgresUsageAccumuluated) String() string

type PostgresUsageRequest

type PostgresUsageRequest 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"`
	Tenant      *string                `protobuf:"bytes,3,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"`
	Projectid   *string                `protobuf:"bytes,4,opt,name=projectid,proto3,oneof" json:"projectid,omitempty"`
	Id          *string                `protobuf:"bytes,5,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Annotations []string               `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*PostgresUsageRequest) Descriptor deprecated

func (*PostgresUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use PostgresUsageRequest.ProtoReflect.Descriptor instead.

func (*PostgresUsageRequest) GetAnnotations

func (x *PostgresUsageRequest) GetAnnotations() []string

func (*PostgresUsageRequest) GetFrom

func (*PostgresUsageRequest) GetId

func (x *PostgresUsageRequest) GetId() string

func (*PostgresUsageRequest) GetProjectid

func (x *PostgresUsageRequest) GetProjectid() string

func (*PostgresUsageRequest) GetTenant

func (x *PostgresUsageRequest) GetTenant() string

func (*PostgresUsageRequest) GetTo

func (*PostgresUsageRequest) ProtoMessage

func (*PostgresUsageRequest) ProtoMessage()

func (*PostgresUsageRequest) ProtoReflect

func (x *PostgresUsageRequest) ProtoReflect() protoreflect.Message

func (*PostgresUsageRequest) Reset

func (x *PostgresUsageRequest) Reset()

func (*PostgresUsageRequest) String

func (x *PostgresUsageRequest) String() string

type PostgresUsageResponse

type PostgresUsageResponse 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"`
	Usage            []*PostgresUsage           `protobuf:"bytes,3,rep,name=usage,proto3" json:"usage,omitempty"`
	AccumulatedUsage *PostgresUsageAccumuluated `protobuf:"bytes,4,opt,name=accumulated_usage,json=accumulatedUsage,proto3" json:"accumulated_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*PostgresUsageResponse) Descriptor deprecated

func (*PostgresUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use PostgresUsageResponse.ProtoReflect.Descriptor instead.

func (*PostgresUsageResponse) GetAccumulatedUsage

func (x *PostgresUsageResponse) GetAccumulatedUsage() *PostgresUsageAccumuluated

func (*PostgresUsageResponse) GetFrom

func (*PostgresUsageResponse) GetTo

func (*PostgresUsageResponse) GetUsage

func (x *PostgresUsageResponse) GetUsage() []*PostgresUsage

func (*PostgresUsageResponse) ProtoMessage

func (*PostgresUsageResponse) ProtoMessage()

func (*PostgresUsageResponse) ProtoReflect

func (x *PostgresUsageResponse) ProtoReflect() protoreflect.Message

func (*PostgresUsageResponse) Reset

func (x *PostgresUsageResponse) Reset()

func (*PostgresUsageResponse) String

func (x *PostgresUsageResponse) String() string

type ProductOption added in v0.9.0

type ProductOption int32
const (
	ProductOption_PRODUCT_OPTION_UNSPECIFIED       ProductOption = 0
	ProductOption_PRODUCT_OPTION_AUDIT_EXTENSION   ProductOption = 1
	ProductOption_PRODUCT_OPTION_HA_CONTROL_PLANE  ProductOption = 2
	ProductOption_PRODUCT_OPTION_MONITORING_STACK  ProductOption = 3
	ProductOption_PRODUCT_OPTION_LOGGING_STACK     ProductOption = 4
	ProductOption_PRODUCT_OPTION_CLUSTER_ISOLATION ProductOption = 5
)

func (ProductOption) Descriptor added in v0.9.0

func (ProductOption) Enum added in v0.9.0

func (x ProductOption) Enum() *ProductOption

func (ProductOption) EnumDescriptor deprecated added in v0.9.0

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

Deprecated: Use ProductOption.Descriptor instead.

func (ProductOption) Number added in v0.9.0

func (ProductOption) String added in v0.9.0

func (x ProductOption) String() string

func (ProductOption) Type added in v0.9.0

type ProductOptionReport added in v0.9.0

type ProductOptionReport struct {
	Report      *Report       `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"`
	Id          ProductOption `protobuf:"varint,2,opt,name=id,proto3,enum=metalstack.io.accounting.api.v1.ProductOption" json:"id,omitempty"`
	Annotations []string      `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductOptionReport) Descriptor deprecated added in v0.9.0

func (*ProductOptionReport) Descriptor() ([]byte, []int)

Deprecated: Use ProductOptionReport.ProtoReflect.Descriptor instead.

func (*ProductOptionReport) GetAnnotations added in v0.9.0

func (x *ProductOptionReport) GetAnnotations() []string

func (*ProductOptionReport) GetId added in v0.9.0

func (*ProductOptionReport) GetReport added in v0.9.0

func (x *ProductOptionReport) GetReport() *Report

func (*ProductOptionReport) ProtoMessage added in v0.9.0

func (*ProductOptionReport) ProtoMessage()

func (*ProductOptionReport) ProtoReflect added in v0.9.0

func (x *ProductOptionReport) ProtoReflect() protoreflect.Message

func (*ProductOptionReport) Reset added in v0.9.0

func (x *ProductOptionReport) Reset()

func (*ProductOptionReport) String added in v0.9.0

func (x *ProductOptionReport) String() string

type ProductOptionServiceClient added in v0.9.0

type ProductOptionServiceClient interface {
	Modified(ctx context.Context, in *ProductOptionReport, opts ...grpc.CallOption) (*Empty, error)
	Usage(ctx context.Context, in *ProductOptionUsageRequest, opts ...grpc.CallOption) (*ProductOptionUsageResponse, error)
}

ProductOptionServiceClient is the client API for ProductOptionService 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 NewProductOptionServiceClient added in v0.9.0

func NewProductOptionServiceClient(cc grpc.ClientConnInterface) ProductOptionServiceClient

type ProductOptionServiceServer added in v0.9.0

type ProductOptionServiceServer interface {
	Modified(context.Context, *ProductOptionReport) (*Empty, error)
	Usage(context.Context, *ProductOptionUsageRequest) (*ProductOptionUsageResponse, error)
}

ProductOptionServiceServer is the server API for ProductOptionService service. All implementations should embed UnimplementedProductOptionServiceServer for forward compatibility.

type ProductOptionUsage added in v0.9.0

type ProductOptionUsage struct {
	Partition      string               `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Tenant         string               `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid      string               `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Clusterid      string               `protobuf:"bytes,4,opt,name=clusterid,proto3" json:"clusterid,omitempty"`
	Clustername    string               `protobuf:"bytes,5,opt,name=clustername,proto3" json:"clustername,omitempty"`
	Lifetime       *durationpb.Duration `protobuf:"bytes,6,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	Id             ProductOption        `protobuf:"varint,7,opt,name=id,proto3,enum=metalstack.io.accounting.api.v1.ProductOption" json:"id,omitempty"`
	Projectname    string               `protobuf:"bytes,8,opt,name=projectname,proto3" json:"projectname,omitempty"`
	Annotations    []string             `protobuf:"bytes,9,rep,name=annotations,proto3" json:"annotations,omitempty"`
	Tenantname     string               `protobuf:"bytes,10,opt,name=tenantname,proto3" json:"tenantname,omitempty"`
	Contractnumber string               `protobuf:"bytes,11,opt,name=contractnumber,proto3" json:"contractnumber,omitempty"`
	Debtorid       string               `protobuf:"bytes,12,opt,name=debtorid,proto3" json:"debtorid,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductOptionUsage) Descriptor deprecated added in v0.9.0

func (*ProductOptionUsage) Descriptor() ([]byte, []int)

Deprecated: Use ProductOptionUsage.ProtoReflect.Descriptor instead.

func (*ProductOptionUsage) GetAnnotations added in v0.9.0

func (x *ProductOptionUsage) GetAnnotations() []string

func (*ProductOptionUsage) GetClusterid added in v0.9.0

func (x *ProductOptionUsage) GetClusterid() string

func (*ProductOptionUsage) GetClustername added in v0.9.0

func (x *ProductOptionUsage) GetClustername() string

func (*ProductOptionUsage) GetContractnumber added in v0.9.0

func (x *ProductOptionUsage) GetContractnumber() string

func (*ProductOptionUsage) GetDebtorid added in v0.9.0

func (x *ProductOptionUsage) GetDebtorid() string

func (*ProductOptionUsage) GetId added in v0.9.0

func (x *ProductOptionUsage) GetId() ProductOption

func (*ProductOptionUsage) GetLifetime added in v0.9.0

func (x *ProductOptionUsage) GetLifetime() *durationpb.Duration

func (*ProductOptionUsage) GetPartition added in v0.9.0

func (x *ProductOptionUsage) GetPartition() string

func (*ProductOptionUsage) GetProjectid added in v0.9.0

func (x *ProductOptionUsage) GetProjectid() string

func (*ProductOptionUsage) GetProjectname added in v0.9.0

func (x *ProductOptionUsage) GetProjectname() string

func (*ProductOptionUsage) GetTenant added in v0.9.0

func (x *ProductOptionUsage) GetTenant() string

func (*ProductOptionUsage) GetTenantname added in v0.9.0

func (x *ProductOptionUsage) GetTenantname() string

func (*ProductOptionUsage) ProtoMessage added in v0.9.0

func (*ProductOptionUsage) ProtoMessage()

func (*ProductOptionUsage) ProtoReflect added in v0.9.0

func (x *ProductOptionUsage) ProtoReflect() protoreflect.Message

func (*ProductOptionUsage) Reset added in v0.9.0

func (x *ProductOptionUsage) Reset()

func (*ProductOptionUsage) String added in v0.9.0

func (x *ProductOptionUsage) String() string

type ProductOptionUsageAccumuluated added in v0.9.0

type ProductOptionUsageAccumuluated struct {
	Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductOptionUsageAccumuluated) Descriptor deprecated added in v0.9.0

func (*ProductOptionUsageAccumuluated) Descriptor() ([]byte, []int)

Deprecated: Use ProductOptionUsageAccumuluated.ProtoReflect.Descriptor instead.

func (*ProductOptionUsageAccumuluated) GetLifetime added in v0.9.0

func (*ProductOptionUsageAccumuluated) ProtoMessage added in v0.9.0

func (*ProductOptionUsageAccumuluated) ProtoMessage()

func (*ProductOptionUsageAccumuluated) ProtoReflect added in v0.9.0

func (*ProductOptionUsageAccumuluated) Reset added in v0.9.0

func (x *ProductOptionUsageAccumuluated) Reset()

func (*ProductOptionUsageAccumuluated) String added in v0.9.0

type ProductOptionUsageRequest added in v0.9.0

type ProductOptionUsageRequest struct {
	Query *UsageQuery    `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Id    *ProductOption `protobuf:"varint,2,opt,name=id,proto3,enum=metalstack.io.accounting.api.v1.ProductOption,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductOptionUsageRequest) Descriptor deprecated added in v0.9.0

func (*ProductOptionUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProductOptionUsageRequest.ProtoReflect.Descriptor instead.

func (*ProductOptionUsageRequest) GetId added in v0.9.0

func (*ProductOptionUsageRequest) GetQuery added in v0.9.0

func (x *ProductOptionUsageRequest) GetQuery() *UsageQuery

func (*ProductOptionUsageRequest) ProtoMessage added in v0.9.0

func (*ProductOptionUsageRequest) ProtoMessage()

func (*ProductOptionUsageRequest) ProtoReflect added in v0.9.0

func (*ProductOptionUsageRequest) Reset added in v0.9.0

func (x *ProductOptionUsageRequest) Reset()

func (*ProductOptionUsageRequest) String added in v0.9.0

func (x *ProductOptionUsageRequest) String() string

type ProductOptionUsageResponse added in v0.9.0

type ProductOptionUsageResponse 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"`
	Usage            []*ProductOptionUsage           `protobuf:"bytes,3,rep,name=usage,proto3" json:"usage,omitempty"`
	AccumulatedUsage *ProductOptionUsageAccumuluated `protobuf:"bytes,4,opt,name=accumulated_usage,json=accumulatedUsage,proto3" json:"accumulated_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductOptionUsageResponse) Descriptor deprecated added in v0.9.0

func (*ProductOptionUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProductOptionUsageResponse.ProtoReflect.Descriptor instead.

func (*ProductOptionUsageResponse) GetAccumulatedUsage added in v0.9.0

func (*ProductOptionUsageResponse) GetFrom added in v0.9.0

func (*ProductOptionUsageResponse) GetTo added in v0.9.0

func (*ProductOptionUsageResponse) GetUsage added in v0.9.0

func (*ProductOptionUsageResponse) ProtoMessage added in v0.9.0

func (*ProductOptionUsageResponse) ProtoMessage()

func (*ProductOptionUsageResponse) ProtoReflect added in v0.9.0

func (*ProductOptionUsageResponse) Reset added in v0.9.0

func (x *ProductOptionUsageResponse) Reset()

func (*ProductOptionUsageResponse) String added in v0.9.0

func (x *ProductOptionUsageResponse) String() string

type Project

type Project struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tenant string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*Project) Descriptor deprecated

func (*Project) Descriptor() ([]byte, []int)

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetId

func (x *Project) GetId() string

func (*Project) GetTenant

func (x *Project) GetTenant() string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

func (x *Project) ProtoReflect() protoreflect.Message

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type ProjectInfoRequest

type ProjectInfoRequest struct {
	Q *TimeQuery `protobuf:"bytes,1,opt,name=q,proto3" json:"q,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectInfoRequest) Descriptor deprecated

func (*ProjectInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProjectInfoRequest.ProtoReflect.Descriptor instead.

func (*ProjectInfoRequest) GetQ

func (x *ProjectInfoRequest) GetQ() *TimeQuery

func (*ProjectInfoRequest) ProtoMessage

func (*ProjectInfoRequest) ProtoMessage()

func (*ProjectInfoRequest) ProtoReflect

func (x *ProjectInfoRequest) ProtoReflect() protoreflect.Message

func (*ProjectInfoRequest) Reset

func (x *ProjectInfoRequest) Reset()

func (*ProjectInfoRequest) String

func (x *ProjectInfoRequest) String() string

type ProjectInfoResponse

type ProjectInfoResponse struct {
	Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectInfoResponse) Descriptor deprecated

func (*ProjectInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProjectInfoResponse.ProtoReflect.Descriptor instead.

func (*ProjectInfoResponse) GetProjects

func (x *ProjectInfoResponse) GetProjects() []*Project

func (*ProjectInfoResponse) ProtoMessage

func (*ProjectInfoResponse) ProtoMessage()

func (*ProjectInfoResponse) ProtoReflect

func (x *ProjectInfoResponse) ProtoReflect() protoreflect.Message

func (*ProjectInfoResponse) Reset

func (x *ProjectInfoResponse) Reset()

func (*ProjectInfoResponse) String

func (x *ProjectInfoResponse) String() string

type Report

type Report struct {
	Partition   string                 `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Tenant      string                 `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid   string                 `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Clusterid   string                 `protobuf:"bytes,4,opt,name=clusterid,proto3" json:"clusterid,omitempty"`
	Clustername string                 `protobuf:"bytes,5,opt,name=clustername,proto3" json:"clustername,omitempty"`
	Timestamp   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Projectname string                 `protobuf:"bytes,7,opt,name=projectname,proto3" json:"projectname,omitempty"`
	// contains filtered or unexported fields
}

func (*Report) Descriptor deprecated

func (*Report) Descriptor() ([]byte, []int)

Deprecated: Use Report.ProtoReflect.Descriptor instead.

func (*Report) GetClusterid

func (x *Report) GetClusterid() string

func (*Report) GetClustername

func (x *Report) GetClustername() string

func (*Report) GetPartition

func (x *Report) GetPartition() string

func (*Report) GetProjectid

func (x *Report) GetProjectid() string

func (*Report) GetProjectname

func (x *Report) GetProjectname() string

func (*Report) GetTenant

func (x *Report) GetTenant() string

func (*Report) GetTimestamp

func (x *Report) GetTimestamp() *timestamppb.Timestamp

func (*Report) ProtoMessage

func (*Report) ProtoMessage()

func (*Report) ProtoReflect

func (x *Report) ProtoReflect() protoreflect.Message

func (*Report) Reset

func (x *Report) Reset()

func (*Report) String

func (x *Report) String() string

type S3Bucket

type S3Bucket struct {
	User            string                 `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Tenant          string                 `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid       string                 `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Partition       string                 `protobuf:"bytes,4,opt,name=partition,proto3" json:"partition,omitempty"`
	BucketName      string                 `protobuf:"bytes,5,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	BucketId        string                 `protobuf:"bytes,6,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
	Size            uint64                 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	NumberOfObjects uint64                 `protobuf:"varint,9,opt,name=number_of_objects,json=numberOfObjects,proto3" json:"number_of_objects,omitempty"`
	Timestamp       *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	CreationTime    *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	Projectname     string                 `protobuf:"bytes,12,opt,name=projectname,proto3" json:"projectname,omitempty"`
	// contains filtered or unexported fields
}

func (*S3Bucket) Descriptor deprecated

func (*S3Bucket) Descriptor() ([]byte, []int)

Deprecated: Use S3Bucket.ProtoReflect.Descriptor instead.

func (*S3Bucket) GetBucketId

func (x *S3Bucket) GetBucketId() string

func (*S3Bucket) GetBucketName

func (x *S3Bucket) GetBucketName() string

func (*S3Bucket) GetCreationTime

func (x *S3Bucket) GetCreationTime() *timestamppb.Timestamp

func (*S3Bucket) GetNumberOfObjects

func (x *S3Bucket) GetNumberOfObjects() uint64

func (*S3Bucket) GetPartition

func (x *S3Bucket) GetPartition() string

func (*S3Bucket) GetProjectid

func (x *S3Bucket) GetProjectid() string

func (*S3Bucket) GetProjectname

func (x *S3Bucket) GetProjectname() string

func (*S3Bucket) GetSize

func (x *S3Bucket) GetSize() uint64

func (*S3Bucket) GetTenant

func (x *S3Bucket) GetTenant() string

func (*S3Bucket) GetTimestamp

func (x *S3Bucket) GetTimestamp() *timestamppb.Timestamp

func (*S3Bucket) GetUser

func (x *S3Bucket) GetUser() string

func (*S3Bucket) ProtoMessage

func (*S3Bucket) ProtoMessage()

func (*S3Bucket) ProtoReflect

func (x *S3Bucket) ProtoReflect() protoreflect.Message

func (*S3Bucket) Reset

func (x *S3Bucket) Reset()

func (*S3Bucket) String

func (x *S3Bucket) String() string

type S3BucketReport

type S3BucketReport struct {
	Buckets []*S3Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
	// contains filtered or unexported fields
}

func (*S3BucketReport) Descriptor deprecated

func (*S3BucketReport) Descriptor() ([]byte, []int)

Deprecated: Use S3BucketReport.ProtoReflect.Descriptor instead.

func (*S3BucketReport) GetBuckets

func (x *S3BucketReport) GetBuckets() []*S3Bucket

func (*S3BucketReport) ProtoMessage

func (*S3BucketReport) ProtoMessage()

func (*S3BucketReport) ProtoReflect

func (x *S3BucketReport) ProtoReflect() protoreflect.Message

func (*S3BucketReport) Reset

func (x *S3BucketReport) Reset()

func (*S3BucketReport) String

func (x *S3BucketReport) String() string

type S3ServiceClient

type S3ServiceClient interface {
	BucketStats(ctx context.Context, in *S3BucketReport, opts ...grpc.CallOption) (*Empty, error)
	Usage(ctx context.Context, in *S3UsageRequest, opts ...grpc.CallOption) (*S3UsageResponse, error)
}

S3ServiceClient is the client API for S3Service 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 NewS3ServiceClient

func NewS3ServiceClient(cc grpc.ClientConnInterface) S3ServiceClient

type S3ServiceServer

type S3ServiceServer interface {
	BucketStats(context.Context, *S3BucketReport) (*Empty, error)
	Usage(context.Context, *S3UsageRequest) (*S3UsageResponse, error)
}

S3ServiceServer is the server API for S3Service service. All implementations should embed UnimplementedS3ServiceServer for forward compatibility.

type S3Usage

type S3Usage struct {
	Partition              string                 `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Tenant                 string                 `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid              string                 `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	User                   string                 `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	BucketName             string                 `protobuf:"bytes,5,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	CurrentNumberOfObjects string                 `` /* 131-byte string literal not displayed */
	Start                  *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start,proto3" json:"start,omitempty"`
	End                    *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end,proto3" json:"end,omitempty"`
	Lifetime               *durationpb.Duration   `protobuf:"bytes,9,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	StorageSeconds         string                 `protobuf:"bytes,10,opt,name=storage_seconds,json=storageSeconds,proto3" json:"storage_seconds,omitempty"`
	Warnings               []string               `protobuf:"bytes,11,rep,name=warnings,proto3" json:"warnings,omitempty"`
	BucketId               string                 `protobuf:"bytes,12,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
	CurrentSize            string                 `protobuf:"bytes,13,opt,name=current_size,json=currentSize,proto3" json:"current_size,omitempty"`
	Projectname            string                 `protobuf:"bytes,14,opt,name=projectname,proto3" json:"projectname,omitempty"`
	Tenantname             string                 `protobuf:"bytes,15,opt,name=tenantname,proto3" json:"tenantname,omitempty"`
	Contractnumber         string                 `protobuf:"bytes,16,opt,name=contractnumber,proto3" json:"contractnumber,omitempty"`
	Debtorid               string                 `protobuf:"bytes,17,opt,name=debtorid,proto3" json:"debtorid,omitempty"`
	// contains filtered or unexported fields
}

func (*S3Usage) Descriptor deprecated

func (*S3Usage) Descriptor() ([]byte, []int)

Deprecated: Use S3Usage.ProtoReflect.Descriptor instead.

func (*S3Usage) GetBucketId

func (x *S3Usage) GetBucketId() string

func (*S3Usage) GetBucketName

func (x *S3Usage) GetBucketName() string

func (*S3Usage) GetContractnumber

func (x *S3Usage) GetContractnumber() string

func (*S3Usage) GetCurrentNumberOfObjects

func (x *S3Usage) GetCurrentNumberOfObjects() string

func (*S3Usage) GetCurrentSize

func (x *S3Usage) GetCurrentSize() string

func (*S3Usage) GetDebtorid

func (x *S3Usage) GetDebtorid() string

func (*S3Usage) GetEnd

func (x *S3Usage) GetEnd() *timestamppb.Timestamp

func (*S3Usage) GetLifetime

func (x *S3Usage) GetLifetime() *durationpb.Duration

func (*S3Usage) GetPartition

func (x *S3Usage) GetPartition() string

func (*S3Usage) GetProjectid

func (x *S3Usage) GetProjectid() string

func (*S3Usage) GetProjectname

func (x *S3Usage) GetProjectname() string

func (*S3Usage) GetStart

func (x *S3Usage) GetStart() *timestamppb.Timestamp

func (*S3Usage) GetStorageSeconds

func (x *S3Usage) GetStorageSeconds() string

func (*S3Usage) GetTenant

func (x *S3Usage) GetTenant() string

func (*S3Usage) GetTenantname

func (x *S3Usage) GetTenantname() string

func (*S3Usage) GetUser

func (x *S3Usage) GetUser() string

func (*S3Usage) GetWarnings

func (x *S3Usage) GetWarnings() []string

func (*S3Usage) ProtoMessage

func (*S3Usage) ProtoMessage()

func (*S3Usage) ProtoReflect

func (x *S3Usage) ProtoReflect() protoreflect.Message

func (*S3Usage) Reset

func (x *S3Usage) Reset()

func (*S3Usage) String

func (x *S3Usage) String() string

type S3UsageAccumuluated

type S3UsageAccumuluated struct {
	Lifetime               *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	StorageSeconds         string               `protobuf:"bytes,2,opt,name=storage_seconds,json=storageSeconds,proto3" json:"storage_seconds,omitempty"`
	CurrentNumberOfObjects string               `` /* 131-byte string literal not displayed */
	CurrentSize            string               `protobuf:"bytes,4,opt,name=current_size,json=currentSize,proto3" json:"current_size,omitempty"`
	// contains filtered or unexported fields
}

func (*S3UsageAccumuluated) Descriptor deprecated

func (*S3UsageAccumuluated) Descriptor() ([]byte, []int)

Deprecated: Use S3UsageAccumuluated.ProtoReflect.Descriptor instead.

func (*S3UsageAccumuluated) GetCurrentNumberOfObjects

func (x *S3UsageAccumuluated) GetCurrentNumberOfObjects() string

func (*S3UsageAccumuluated) GetCurrentSize

func (x *S3UsageAccumuluated) GetCurrentSize() string

func (*S3UsageAccumuluated) GetLifetime

func (x *S3UsageAccumuluated) GetLifetime() *durationpb.Duration

func (*S3UsageAccumuluated) GetStorageSeconds

func (x *S3UsageAccumuluated) GetStorageSeconds() string

func (*S3UsageAccumuluated) ProtoMessage

func (*S3UsageAccumuluated) ProtoMessage()

func (*S3UsageAccumuluated) ProtoReflect

func (x *S3UsageAccumuluated) ProtoReflect() protoreflect.Message

func (*S3UsageAccumuluated) Reset

func (x *S3UsageAccumuluated) Reset()

func (*S3UsageAccumuluated) String

func (x *S3UsageAccumuluated) String() string

type S3UsageRequest

type S3UsageRequest 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"`
	Tenant    *string                `protobuf:"bytes,3,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"`
	Projectid *string                `protobuf:"bytes,4,opt,name=projectid,proto3,oneof" json:"projectid,omitempty"`
	// contains filtered or unexported fields
}

func (*S3UsageRequest) Descriptor deprecated

func (*S3UsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use S3UsageRequest.ProtoReflect.Descriptor instead.

func (*S3UsageRequest) GetFrom

func (x *S3UsageRequest) GetFrom() *timestamppb.Timestamp

func (*S3UsageRequest) GetProjectid

func (x *S3UsageRequest) GetProjectid() string

func (*S3UsageRequest) GetTenant

func (x *S3UsageRequest) GetTenant() string

func (*S3UsageRequest) GetTo

func (x *S3UsageRequest) GetTo() *timestamppb.Timestamp

func (*S3UsageRequest) ProtoMessage

func (*S3UsageRequest) ProtoMessage()

func (*S3UsageRequest) ProtoReflect

func (x *S3UsageRequest) ProtoReflect() protoreflect.Message

func (*S3UsageRequest) Reset

func (x *S3UsageRequest) Reset()

func (*S3UsageRequest) String

func (x *S3UsageRequest) String() string

type S3UsageResponse

type S3UsageResponse 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"`
	Usage            []*S3Usage             `protobuf:"bytes,3,rep,name=usage,proto3" json:"usage,omitempty"`
	AccumulatedUsage *S3UsageAccumuluated   `protobuf:"bytes,4,opt,name=accumulated_usage,json=accumulatedUsage,proto3" json:"accumulated_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*S3UsageResponse) Descriptor deprecated

func (*S3UsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use S3UsageResponse.ProtoReflect.Descriptor instead.

func (*S3UsageResponse) GetAccumulatedUsage

func (x *S3UsageResponse) GetAccumulatedUsage() *S3UsageAccumuluated

func (*S3UsageResponse) GetFrom

func (x *S3UsageResponse) GetFrom() *timestamppb.Timestamp

func (*S3UsageResponse) GetTo

func (*S3UsageResponse) GetUsage

func (x *S3UsageResponse) GetUsage() []*S3Usage

func (*S3UsageResponse) ProtoMessage

func (*S3UsageResponse) ProtoMessage()

func (*S3UsageResponse) ProtoReflect

func (x *S3UsageResponse) ProtoReflect() protoreflect.Message

func (*S3UsageResponse) Reset

func (x *S3UsageResponse) Reset()

func (*S3UsageResponse) String

func (x *S3UsageResponse) String() string

type TenantInfoRequest

type TenantInfoRequest struct {
	Q *TimeQuery `protobuf:"bytes,1,opt,name=q,proto3" json:"q,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantInfoRequest) Descriptor deprecated

func (*TenantInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use TenantInfoRequest.ProtoReflect.Descriptor instead.

func (*TenantInfoRequest) GetQ

func (x *TenantInfoRequest) GetQ() *TimeQuery

func (*TenantInfoRequest) ProtoMessage

func (*TenantInfoRequest) ProtoMessage()

func (*TenantInfoRequest) ProtoReflect

func (x *TenantInfoRequest) ProtoReflect() protoreflect.Message

func (*TenantInfoRequest) Reset

func (x *TenantInfoRequest) Reset()

func (*TenantInfoRequest) String

func (x *TenantInfoRequest) String() string

type TenantInfoResponse

type TenantInfoResponse struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantInfoResponse) Descriptor deprecated

func (*TenantInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use TenantInfoResponse.ProtoReflect.Descriptor instead.

func (*TenantInfoResponse) GetIds

func (x *TenantInfoResponse) GetIds() []string

func (*TenantInfoResponse) ProtoMessage

func (*TenantInfoResponse) ProtoMessage()

func (*TenantInfoResponse) ProtoReflect

func (x *TenantInfoResponse) ProtoReflect() protoreflect.Message

func (*TenantInfoResponse) Reset

func (x *TenantInfoResponse) Reset()

func (*TenantInfoResponse) String

func (x *TenantInfoResponse) String() string

type TimeQuery

type TimeQuery 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"`
	// contains filtered or unexported fields
}

func (*TimeQuery) Descriptor deprecated

func (*TimeQuery) Descriptor() ([]byte, []int)

Deprecated: Use TimeQuery.ProtoReflect.Descriptor instead.

func (*TimeQuery) GetFrom

func (x *TimeQuery) GetFrom() *timestamppb.Timestamp

func (*TimeQuery) GetTo

func (x *TimeQuery) GetTo() *timestamppb.Timestamp

func (*TimeQuery) ProtoMessage

func (*TimeQuery) ProtoMessage()

func (*TimeQuery) ProtoReflect

func (x *TimeQuery) ProtoReflect() protoreflect.Message

func (*TimeQuery) Reset

func (x *TimeQuery) Reset()

func (*TimeQuery) String

func (x *TimeQuery) String() string

type UnimplementedClusterServiceServer

type UnimplementedClusterServiceServer struct{}

UnimplementedClusterServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedClusterServiceServer) Added

func (UnimplementedClusterServiceServer) Deleted

func (UnimplementedClusterServiceServer) Modified

func (UnimplementedClusterServiceServer) Usage

type UnimplementedIPServiceServer

type UnimplementedIPServiceServer struct{}

UnimplementedIPServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedIPServiceServer) Added

func (UnimplementedIPServiceServer) Deleted

func (UnimplementedIPServiceServer) Modified

func (UnimplementedIPServiceServer) Usage

type UnimplementedInfoServiceServer

type UnimplementedInfoServiceServer struct{}

UnimplementedInfoServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedInfoServiceServer) Projects

func (UnimplementedInfoServiceServer) Tenants

type UnimplementedMachineReservationServiceServer added in v0.11.0

type UnimplementedMachineReservationServiceServer struct{}

UnimplementedMachineReservationServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMachineReservationServiceServer) Added added in v0.11.0

func (UnimplementedMachineReservationServiceServer) Deleted added in v0.11.0

func (UnimplementedMachineReservationServiceServer) Modified added in v0.11.0

func (UnimplementedMachineReservationServiceServer) Usage added in v0.11.0

type UnimplementedMachineServiceServer added in v0.9.0

type UnimplementedMachineServiceServer struct{}

UnimplementedMachineServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMachineServiceServer) Added added in v0.9.0

func (UnimplementedMachineServiceServer) Deleted added in v0.9.0

func (UnimplementedMachineServiceServer) Modified added in v0.9.0

func (UnimplementedMachineServiceServer) Usage added in v0.9.0

type UnimplementedNetworkTrafficServiceServer

type UnimplementedNetworkTrafficServiceServer struct{}

UnimplementedNetworkTrafficServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedNetworkTrafficServiceServer) Modified

func (UnimplementedNetworkTrafficServiceServer) Usage

type UnimplementedPodServiceServer

type UnimplementedPodServiceServer struct{}

UnimplementedPodServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPodServiceServer) Added

func (UnimplementedPodServiceServer) Deleted

func (UnimplementedPodServiceServer) Modified

func (UnimplementedPodServiceServer) Usage

type UnimplementedPostgresServiceServer

type UnimplementedPostgresServiceServer struct{}

UnimplementedPostgresServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPostgresServiceServer) Added

func (UnimplementedPostgresServiceServer) Deleted

func (UnimplementedPostgresServiceServer) Modified

func (UnimplementedPostgresServiceServer) Usage

type UnimplementedProductOptionServiceServer added in v0.9.0

type UnimplementedProductOptionServiceServer struct{}

UnimplementedProductOptionServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedProductOptionServiceServer) Modified added in v0.9.0

func (UnimplementedProductOptionServiceServer) Usage added in v0.9.0

type UnimplementedS3ServiceServer

type UnimplementedS3ServiceServer struct{}

UnimplementedS3ServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedS3ServiceServer) BucketStats

func (UnimplementedS3ServiceServer) Usage

type UnimplementedVolumeServiceServer

type UnimplementedVolumeServiceServer struct{}

UnimplementedVolumeServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedVolumeServiceServer) Added

func (UnimplementedVolumeServiceServer) Deleted

func (UnimplementedVolumeServiceServer) Modified

func (UnimplementedVolumeServiceServer) Usage

type UnsafeClusterServiceServer

type UnsafeClusterServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeClusterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterServiceServer will result in compilation errors.

type UnsafeIPServiceServer

type UnsafeIPServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeIPServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IPServiceServer will result in compilation errors.

type UnsafeInfoServiceServer

type UnsafeInfoServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeInfoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InfoServiceServer will result in compilation errors.

type UnsafeMachineReservationServiceServer added in v0.11.0

type UnsafeMachineReservationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMachineReservationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MachineReservationServiceServer will result in compilation errors.

type UnsafeMachineServiceServer added in v0.9.0

type UnsafeMachineServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMachineServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MachineServiceServer will result in compilation errors.

type UnsafeNetworkTrafficServiceServer

type UnsafeNetworkTrafficServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeNetworkTrafficServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkTrafficServiceServer will result in compilation errors.

type UnsafePodServiceServer

type UnsafePodServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePodServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PodServiceServer will result in compilation errors.

type UnsafePostgresServiceServer

type UnsafePostgresServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePostgresServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PostgresServiceServer will result in compilation errors.

type UnsafeProductOptionServiceServer added in v0.9.0

type UnsafeProductOptionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProductOptionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProductOptionServiceServer will result in compilation errors.

type UnsafeS3ServiceServer

type UnsafeS3ServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeS3ServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to S3ServiceServer will result in compilation errors.

type UnsafeVolumeServiceServer

type UnsafeVolumeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeVolumeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VolumeServiceServer will result in compilation errors.

type UsageQuery

type UsageQuery 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"`
	Tenant    *string                `protobuf:"bytes,3,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"`
	Projectid *string                `protobuf:"bytes,4,opt,name=projectid,proto3,oneof" json:"projectid,omitempty"`
	Clusterid *string                `protobuf:"bytes,5,opt,name=clusterid,proto3,oneof" json:"clusterid,omitempty"`
	// contains filtered or unexported fields
}

func (*UsageQuery) Descriptor deprecated

func (*UsageQuery) Descriptor() ([]byte, []int)

Deprecated: Use UsageQuery.ProtoReflect.Descriptor instead.

func (*UsageQuery) GetClusterid

func (x *UsageQuery) GetClusterid() string

func (*UsageQuery) GetFrom

func (x *UsageQuery) GetFrom() *timestamppb.Timestamp

func (*UsageQuery) GetProjectid

func (x *UsageQuery) GetProjectid() string

func (*UsageQuery) GetTenant

func (x *UsageQuery) GetTenant() string

func (*UsageQuery) GetTo

func (x *UsageQuery) GetTo() *timestamppb.Timestamp

func (*UsageQuery) ProtoMessage

func (*UsageQuery) ProtoMessage()

func (*UsageQuery) ProtoReflect

func (x *UsageQuery) ProtoReflect() protoreflect.Message

func (*UsageQuery) Reset

func (x *UsageQuery) Reset()

func (*UsageQuery) String

func (x *UsageQuery) String() string

type Volume

type Volume struct {
	Name        string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type        string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Size        string   `protobuf:"bytes,4,opt,name=size,proto3" json:"size,omitempty"`
	Annotations []string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty"`
	Uuid        string   `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*Volume) Descriptor deprecated

func (*Volume) Descriptor() ([]byte, []int)

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetAnnotations

func (x *Volume) GetAnnotations() []string

func (*Volume) GetName

func (x *Volume) GetName() string

func (*Volume) GetSize

func (x *Volume) GetSize() string

func (*Volume) GetType

func (x *Volume) GetType() string

func (*Volume) GetUuid

func (x *Volume) GetUuid() string

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect

func (x *Volume) ProtoReflect() protoreflect.Message

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) String

func (x *Volume) String() string

type VolumeReport

type VolumeReport struct {
	KubernetesReport *KubernetesResourceReport `protobuf:"bytes,1,opt,name=kubernetes_report,json=kubernetesReport,proto3" json:"kubernetes_report,omitempty"`
	Volume           *Volume                   `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeReport) Descriptor deprecated

func (*VolumeReport) Descriptor() ([]byte, []int)

Deprecated: Use VolumeReport.ProtoReflect.Descriptor instead.

func (*VolumeReport) GetKubernetesReport

func (x *VolumeReport) GetKubernetesReport() *KubernetesResourceReport

func (*VolumeReport) GetVolume

func (x *VolumeReport) GetVolume() *Volume

func (*VolumeReport) ProtoMessage

func (*VolumeReport) ProtoMessage()

func (*VolumeReport) ProtoReflect

func (x *VolumeReport) ProtoReflect() protoreflect.Message

func (*VolumeReport) Reset

func (x *VolumeReport) Reset()

func (*VolumeReport) String

func (x *VolumeReport) String() string

type VolumeServiceClient

type VolumeServiceClient interface {
	Added(ctx context.Context, in *VolumeReport, opts ...grpc.CallOption) (*Empty, error)
	Modified(ctx context.Context, in *VolumeReport, opts ...grpc.CallOption) (*Empty, error)
	Deleted(ctx context.Context, in *VolumeReport, opts ...grpc.CallOption) (*Empty, error)
	Usage(ctx context.Context, in *VolumeUsageRequest, opts ...grpc.CallOption) (*VolumeUsageResponse, error)
}

VolumeServiceClient is the client API for VolumeService 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.

type VolumeServiceServer

type VolumeServiceServer interface {
	Added(context.Context, *VolumeReport) (*Empty, error)
	Modified(context.Context, *VolumeReport) (*Empty, error)
	Deleted(context.Context, *VolumeReport) (*Empty, error)
	Usage(context.Context, *VolumeUsageRequest) (*VolumeUsageResponse, error)
}

VolumeServiceServer is the server API for VolumeService service. All implementations should embed UnimplementedVolumeServiceServer for forward compatibility.

type VolumeUsage

type VolumeUsage struct {
	Partition       string                 `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
	Tenant          string                 `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Projectid       string                 `protobuf:"bytes,3,opt,name=projectid,proto3" json:"projectid,omitempty"`
	Clusterid       string                 `protobuf:"bytes,4,opt,name=clusterid,proto3" json:"clusterid,omitempty"`
	Clustername     string                 `protobuf:"bytes,5,opt,name=clustername,proto3" json:"clustername,omitempty"`
	Type            string                 `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
	Name            string                 `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
	Start           *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=start,proto3" json:"start,omitempty"`
	End             *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=end,proto3" json:"end,omitempty"`
	Lifetime        *durationpb.Duration   `protobuf:"bytes,11,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	CapacitySeconds string                 `protobuf:"bytes,12,opt,name=capacity_seconds,json=capacitySeconds,proto3" json:"capacity_seconds,omitempty"`
	Warnings        []string               `protobuf:"bytes,13,rep,name=warnings,proto3" json:"warnings,omitempty"`
	Annotations     []string               `protobuf:"bytes,14,rep,name=annotations,proto3" json:"annotations,omitempty"`
	Uuid            string                 `protobuf:"bytes,15,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Projectname     string                 `protobuf:"bytes,16,opt,name=projectname,proto3" json:"projectname,omitempty"`
	Tenantname      string                 `protobuf:"bytes,17,opt,name=tenantname,proto3" json:"tenantname,omitempty"`
	Contractnumber  string                 `protobuf:"bytes,18,opt,name=contractnumber,proto3" json:"contractnumber,omitempty"`
	Debtorid        string                 `protobuf:"bytes,19,opt,name=debtorid,proto3" json:"debtorid,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeUsage) Descriptor deprecated

func (*VolumeUsage) Descriptor() ([]byte, []int)

Deprecated: Use VolumeUsage.ProtoReflect.Descriptor instead.

func (*VolumeUsage) GetAnnotations

func (x *VolumeUsage) GetAnnotations() []string

func (*VolumeUsage) GetCapacitySeconds

func (x *VolumeUsage) GetCapacitySeconds() string

func (*VolumeUsage) GetClusterid

func (x *VolumeUsage) GetClusterid() string

func (*VolumeUsage) GetClustername

func (x *VolumeUsage) GetClustername() string

func (*VolumeUsage) GetContractnumber

func (x *VolumeUsage) GetContractnumber() string

func (*VolumeUsage) GetDebtorid

func (x *VolumeUsage) GetDebtorid() string

func (*VolumeUsage) GetEnd

func (x *VolumeUsage) GetEnd() *timestamppb.Timestamp

func (*VolumeUsage) GetLifetime

func (x *VolumeUsage) GetLifetime() *durationpb.Duration

func (*VolumeUsage) GetName

func (x *VolumeUsage) GetName() string

func (*VolumeUsage) GetPartition

func (x *VolumeUsage) GetPartition() string

func (*VolumeUsage) GetProjectid

func (x *VolumeUsage) GetProjectid() string

func (*VolumeUsage) GetProjectname

func (x *VolumeUsage) GetProjectname() string

func (*VolumeUsage) GetStart

func (x *VolumeUsage) GetStart() *timestamppb.Timestamp

func (*VolumeUsage) GetTenant

func (x *VolumeUsage) GetTenant() string

func (*VolumeUsage) GetTenantname

func (x *VolumeUsage) GetTenantname() string

func (*VolumeUsage) GetType

func (x *VolumeUsage) GetType() string

func (*VolumeUsage) GetUuid

func (x *VolumeUsage) GetUuid() string

func (*VolumeUsage) GetWarnings

func (x *VolumeUsage) GetWarnings() []string

func (*VolumeUsage) ProtoMessage

func (*VolumeUsage) ProtoMessage()

func (*VolumeUsage) ProtoReflect

func (x *VolumeUsage) ProtoReflect() protoreflect.Message

func (*VolumeUsage) Reset

func (x *VolumeUsage) Reset()

func (*VolumeUsage) String

func (x *VolumeUsage) String() string

type VolumeUsageAccumuluated

type VolumeUsageAccumuluated struct {
	Lifetime        *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
	CapacitySeconds string               `protobuf:"bytes,2,opt,name=capacity_seconds,json=capacitySeconds,proto3" json:"capacity_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeUsageAccumuluated) Descriptor deprecated

func (*VolumeUsageAccumuluated) Descriptor() ([]byte, []int)

Deprecated: Use VolumeUsageAccumuluated.ProtoReflect.Descriptor instead.

func (*VolumeUsageAccumuluated) GetCapacitySeconds

func (x *VolumeUsageAccumuluated) GetCapacitySeconds() string

func (*VolumeUsageAccumuluated) GetLifetime

func (x *VolumeUsageAccumuluated) GetLifetime() *durationpb.Duration

func (*VolumeUsageAccumuluated) ProtoMessage

func (*VolumeUsageAccumuluated) ProtoMessage()

func (*VolumeUsageAccumuluated) ProtoReflect

func (x *VolumeUsageAccumuluated) ProtoReflect() protoreflect.Message

func (*VolumeUsageAccumuluated) Reset

func (x *VolumeUsageAccumuluated) Reset()

func (*VolumeUsageAccumuluated) String

func (x *VolumeUsageAccumuluated) String() string

type VolumeUsageRequest

type VolumeUsageRequest struct {
	Query       *UsageQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Namespace   *string     `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	Type        *string     `protobuf:"bytes,5,opt,name=type,proto3,oneof" json:"type,omitempty"`
	Annotations []string    `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeUsageRequest) Descriptor deprecated

func (*VolumeUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use VolumeUsageRequest.ProtoReflect.Descriptor instead.

func (*VolumeUsageRequest) GetAnnotations

func (x *VolumeUsageRequest) GetAnnotations() []string

func (*VolumeUsageRequest) GetNamespace

func (x *VolumeUsageRequest) GetNamespace() string

func (*VolumeUsageRequest) GetQuery

func (x *VolumeUsageRequest) GetQuery() *UsageQuery

func (*VolumeUsageRequest) GetType

func (x *VolumeUsageRequest) GetType() string

func (*VolumeUsageRequest) ProtoMessage

func (*VolumeUsageRequest) ProtoMessage()

func (*VolumeUsageRequest) ProtoReflect

func (x *VolumeUsageRequest) ProtoReflect() protoreflect.Message

func (*VolumeUsageRequest) Reset

func (x *VolumeUsageRequest) Reset()

func (*VolumeUsageRequest) String

func (x *VolumeUsageRequest) String() string

type VolumeUsageResponse

type VolumeUsageResponse 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"`
	Usage            []*VolumeUsage           `protobuf:"bytes,3,rep,name=usage,proto3" json:"usage,omitempty"`
	AccumulatedUsage *VolumeUsageAccumuluated `protobuf:"bytes,4,opt,name=accumulated_usage,json=accumulatedUsage,proto3" json:"accumulated_usage,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeUsageResponse) Descriptor deprecated

func (*VolumeUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use VolumeUsageResponse.ProtoReflect.Descriptor instead.

func (*VolumeUsageResponse) GetAccumulatedUsage

func (x *VolumeUsageResponse) GetAccumulatedUsage() *VolumeUsageAccumuluated

func (*VolumeUsageResponse) GetFrom

func (*VolumeUsageResponse) GetTo

func (*VolumeUsageResponse) GetUsage

func (x *VolumeUsageResponse) GetUsage() []*VolumeUsage

func (*VolumeUsageResponse) ProtoMessage

func (*VolumeUsageResponse) ProtoMessage()

func (*VolumeUsageResponse) ProtoReflect

func (x *VolumeUsageResponse) ProtoReflect() protoreflect.Message

func (*VolumeUsageResponse) Reset

func (x *VolumeUsageResponse) Reset()

func (*VolumeUsageResponse) String

func (x *VolumeUsageResponse) String() string

Jump to

Keyboard shortcuts

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