Documentation
¶
Index ¶
- Variables
- func RegisterInventoryV1Server(s grpc.ServiceRegistrar, srv InventoryV1Server)
- type ArangoDBConfiguration
- func (*ArangoDBConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *ArangoDBConfiguration) GetEdition() ArangoDBEdition
- func (x *ArangoDBConfiguration) GetMode() ArangoDBMode
- func (x *ArangoDBConfiguration) GetVersion() string
- func (*ArangoDBConfiguration) ProtoMessage()
- func (x *ArangoDBConfiguration) ProtoReflect() protoreflect.Message
- func (x *ArangoDBConfiguration) Reset()
- func (x *ArangoDBConfiguration) String() string
- type ArangoDBEdition
- func (ArangoDBEdition) Descriptor() protoreflect.EnumDescriptor
- func (x ArangoDBEdition) Enum() *ArangoDBEdition
- func (ArangoDBEdition) EnumDescriptor() ([]byte, []int)deprecated
- func (x ArangoDBEdition) Number() protoreflect.EnumNumber
- func (x ArangoDBEdition) String() string
- func (ArangoDBEdition) Type() protoreflect.EnumType
- type ArangoDBMode
- func (ArangoDBMode) Descriptor() protoreflect.EnumDescriptor
- func (x ArangoDBMode) Enum() *ArangoDBMode
- func (ArangoDBMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ArangoDBMode) Number() protoreflect.EnumNumber
- func (x ArangoDBMode) String() string
- func (ArangoDBMode) Type() protoreflect.EnumType
- type Inventory
- func (*Inventory) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory) GetArangodb() *ArangoDBConfiguration
- func (x *Inventory) GetConfiguration() *InventoryConfiguration
- func (s *Inventory) JSON() ([]byte, error)
- func (*Inventory) ProtoMessage()
- func (x *Inventory) ProtoReflect() protoreflect.Message
- func (x *Inventory) Reset()
- func (x *Inventory) String() string
- type InventoryConfiguration
- func (*InventoryConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *InventoryConfiguration) GetHash() string
- func (*InventoryConfiguration) ProtoMessage()
- func (x *InventoryConfiguration) ProtoReflect() protoreflect.Message
- func (x *InventoryConfiguration) Reset()
- func (x *InventoryConfiguration) String() string
- type InventoryV1Client
- type InventoryV1Server
- type UnimplementedInventoryV1Server
- type UnsafeInventoryV1Server
Constants ¶
This section is empty.
Variables ¶
var ( ArangoDBMode_name = map[int32]string{ 0: "ARANGO_DB_MODE_UNSPECIFIED", 1: "ARANGO_DB_MODE_SINGLE", 2: "ARANGO_DB_MODE_ACTIVE_FAILOVER", 3: "ARANGO_DB_MODE_CLUSTER", } ArangoDBMode_value = map[string]int32{ "ARANGO_DB_MODE_UNSPECIFIED": 0, "ARANGO_DB_MODE_SINGLE": 1, "ARANGO_DB_MODE_ACTIVE_FAILOVER": 2, "ARANGO_DB_MODE_CLUSTER": 3, } )
Enum value maps for ArangoDBMode.
var ( ArangoDBEdition_name = map[int32]string{ 0: "ARANGO_DB_EDITION_UNSPECIFIED", 1: "ARANGO_DB_EDITION_COMMUNITY", 2: "ARANGO_DB_EDITION_ENTERPRISE", } ArangoDBEdition_value = map[string]int32{ "ARANGO_DB_EDITION_UNSPECIFIED": 0, "ARANGO_DB_EDITION_COMMUNITY": 1, "ARANGO_DB_EDITION_ENTERPRISE": 2, } )
Enum value maps for ArangoDBEdition.
var File_integrations_inventory_v1_definition_inventory_proto protoreflect.FileDescriptor
var File_integrations_inventory_v1_definition_service_proto protoreflect.FileDescriptor
var InventoryV1_ServiceDesc = grpc.ServiceDesc{ ServiceName: "inventory.InventoryV1", HandlerType: (*InventoryV1Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Inventory", Handler: _InventoryV1_Inventory_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "integrations/inventory/v1/definition/service.proto", }
InventoryV1_ServiceDesc is the grpc.ServiceDesc for InventoryV1 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInventoryV1Server ¶
func RegisterInventoryV1Server(s grpc.ServiceRegistrar, srv InventoryV1Server)
Types ¶
type ArangoDBConfiguration ¶
type ArangoDBConfiguration struct { // ArangoDB Deployment Mode Mode ArangoDBMode `protobuf:"varint,1,opt,name=mode,proto3,enum=inventory.ArangoDBMode" json:"mode,omitempty"` // ArangoDB Deployment Edition Edition ArangoDBEdition `protobuf:"varint,2,opt,name=edition,proto3,enum=inventory.ArangoDBEdition" json:"edition,omitempty"` // ArangoDB Deployment Version Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
ArangoDB Deployment Configuration
func NewArangoDBConfiguration ¶
func NewArangoDBConfiguration(spec api.DeploymentSpec, status api.DeploymentStatus) *ArangoDBConfiguration
func (*ArangoDBConfiguration) Descriptor
deprecated
func (*ArangoDBConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use ArangoDBConfiguration.ProtoReflect.Descriptor instead.
func (*ArangoDBConfiguration) GetEdition ¶
func (x *ArangoDBConfiguration) GetEdition() ArangoDBEdition
func (*ArangoDBConfiguration) GetMode ¶
func (x *ArangoDBConfiguration) GetMode() ArangoDBMode
func (*ArangoDBConfiguration) GetVersion ¶
func (x *ArangoDBConfiguration) GetVersion() string
func (*ArangoDBConfiguration) ProtoMessage ¶
func (*ArangoDBConfiguration) ProtoMessage()
func (*ArangoDBConfiguration) ProtoReflect ¶
func (x *ArangoDBConfiguration) ProtoReflect() protoreflect.Message
func (*ArangoDBConfiguration) Reset ¶
func (x *ArangoDBConfiguration) Reset()
func (*ArangoDBConfiguration) String ¶
func (x *ArangoDBConfiguration) String() string
type ArangoDBEdition ¶
type ArangoDBEdition int32
ArangoDB Deployment Edition
const ( // Default ArangoDBEdition_ARANGO_DB_EDITION_UNSPECIFIED ArangoDBEdition = 0 // Community Edition ArangoDBEdition_ARANGO_DB_EDITION_COMMUNITY ArangoDBEdition = 1 // Enterprise Edition ArangoDBEdition_ARANGO_DB_EDITION_ENTERPRISE ArangoDBEdition = 2 )
func (ArangoDBEdition) Descriptor ¶
func (ArangoDBEdition) Descriptor() protoreflect.EnumDescriptor
func (ArangoDBEdition) Enum ¶
func (x ArangoDBEdition) Enum() *ArangoDBEdition
func (ArangoDBEdition) EnumDescriptor
deprecated
func (ArangoDBEdition) EnumDescriptor() ([]byte, []int)
Deprecated: Use ArangoDBEdition.Descriptor instead.
func (ArangoDBEdition) Number ¶
func (x ArangoDBEdition) Number() protoreflect.EnumNumber
func (ArangoDBEdition) String ¶
func (x ArangoDBEdition) String() string
func (ArangoDBEdition) Type ¶
func (ArangoDBEdition) Type() protoreflect.EnumType
type ArangoDBMode ¶
type ArangoDBMode int32
ArangoDB Deployment Mode
const ( // Default ArangoDBMode_ARANGO_DB_MODE_UNSPECIFIED ArangoDBMode = 0 // Single Mode ArangoDBMode_ARANGO_DB_MODE_SINGLE ArangoDBMode = 1 // ActiveFailover Mode ArangoDBMode_ARANGO_DB_MODE_ACTIVE_FAILOVER ArangoDBMode = 2 // Cluster Mode ArangoDBMode_ARANGO_DB_MODE_CLUSTER ArangoDBMode = 3 )
func (ArangoDBMode) Descriptor ¶
func (ArangoDBMode) Descriptor() protoreflect.EnumDescriptor
func (ArangoDBMode) Enum ¶
func (x ArangoDBMode) Enum() *ArangoDBMode
func (ArangoDBMode) EnumDescriptor
deprecated
func (ArangoDBMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ArangoDBMode.Descriptor instead.
func (ArangoDBMode) Number ¶
func (x ArangoDBMode) Number() protoreflect.EnumNumber
func (ArangoDBMode) String ¶
func (x ArangoDBMode) String() string
func (ArangoDBMode) Type ¶
func (ArangoDBMode) Type() protoreflect.EnumType
type Inventory ¶
type Inventory struct { // Current Envoy Configuration details Configuration *InventoryConfiguration `protobuf:"bytes,1,opt,name=configuration,proto3,oneof" json:"configuration,omitempty"` // ArangoDB Deployment Configuration Arangodb *ArangoDBConfiguration `protobuf:"bytes,2,opt,name=arangodb,proto3,oneof" json:"arangodb,omitempty"` // contains filtered or unexported fields }
Platform Inventory
func (*Inventory) Descriptor
deprecated
func (*Inventory) GetArangodb ¶
func (x *Inventory) GetArangodb() *ArangoDBConfiguration
func (*Inventory) GetConfiguration ¶
func (x *Inventory) GetConfiguration() *InventoryConfiguration
func (*Inventory) ProtoMessage ¶
func (*Inventory) ProtoMessage()
func (*Inventory) ProtoReflect ¶
func (x *Inventory) ProtoReflect() protoreflect.Message
type InventoryConfiguration ¶
type InventoryConfiguration struct { // Configuration hash Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
Envoy Configuration details
func (*InventoryConfiguration) Descriptor
deprecated
func (*InventoryConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use InventoryConfiguration.ProtoReflect.Descriptor instead.
func (*InventoryConfiguration) GetHash ¶
func (x *InventoryConfiguration) GetHash() string
func (*InventoryConfiguration) ProtoMessage ¶
func (*InventoryConfiguration) ProtoMessage()
func (*InventoryConfiguration) ProtoReflect ¶
func (x *InventoryConfiguration) ProtoReflect() protoreflect.Message
func (*InventoryConfiguration) Reset ¶
func (x *InventoryConfiguration) Reset()
func (*InventoryConfiguration) String ¶
func (x *InventoryConfiguration) String() string
type InventoryV1Client ¶
type InventoryV1Client interface { // Inventory returns current State Inventory(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*Inventory, error) }
InventoryV1Client is the client API for InventoryV1 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 NewInventoryV1Client ¶
func NewInventoryV1Client(cc grpc.ClientConnInterface) InventoryV1Client
type InventoryV1Server ¶
type InventoryV1Server interface { // Inventory returns current State Inventory(context.Context, *definition.Empty) (*Inventory, error) // contains filtered or unexported methods }
InventoryV1Server is the server API for InventoryV1 service. All implementations must embed UnimplementedInventoryV1Server for forward compatibility
type UnimplementedInventoryV1Server ¶
type UnimplementedInventoryV1Server struct { }
UnimplementedInventoryV1Server must be embedded to have forward compatible implementations.
func (UnimplementedInventoryV1Server) Inventory ¶
func (UnimplementedInventoryV1Server) Inventory(context.Context, *definition.Empty) (*Inventory, error)
type UnsafeInventoryV1Server ¶
type UnsafeInventoryV1Server interface {
// contains filtered or unexported methods
}
UnsafeInventoryV1Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InventoryV1Server will result in compilation errors.