reportsgrpcapi

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterReportsServer

func RegisterReportsServer(s *grpc.Server, srv ReportsServer)

Types

type ComplianceItem

type ComplianceItem struct {
	AssetClassId         string   `protobuf:"bytes,1,opt,name=asset_class_id,json=assetClassId,proto3" json:"asset_class_id,omitempty"`
	IsCompliant          bool     `protobuf:"varint,2,opt,name=is_compliant,json=isCompliant,proto3" json:"is_compliant,omitempty"`
	ComplianceNote       string   `protobuf:"bytes,3,opt,name=compliance_note,json=complianceNote,proto3" json:"compliance_note,omitempty"`
	Created              int64    `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ComplianceItem) Descriptor

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

func (*ComplianceItem) GetAssetClassId

func (m *ComplianceItem) GetAssetClassId() string

func (*ComplianceItem) GetComplianceNote

func (m *ComplianceItem) GetComplianceNote() string

func (*ComplianceItem) GetCreated

func (m *ComplianceItem) GetCreated() int64

func (*ComplianceItem) GetIsCompliant

func (m *ComplianceItem) GetIsCompliant() bool

func (*ComplianceItem) ProtoMessage

func (*ComplianceItem) ProtoMessage()

func (*ComplianceItem) Reset

func (m *ComplianceItem) Reset()

func (*ComplianceItem) String

func (m *ComplianceItem) String() string

func (*ComplianceItem) XXX_DiscardUnknown

func (m *ComplianceItem) XXX_DiscardUnknown()

func (*ComplianceItem) XXX_Marshal

func (m *ComplianceItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComplianceItem) XXX_Merge

func (dst *ComplianceItem) XXX_Merge(src proto.Message)

func (*ComplianceItem) XXX_Size

func (m *ComplianceItem) XXX_Size() int

func (*ComplianceItem) XXX_Unmarshal

func (m *ComplianceItem) XXX_Unmarshal(b []byte) error

type DeepPingOutput

type DeepPingOutput struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeepPingOutput) Descriptor

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

func (*DeepPingOutput) GetValue

func (m *DeepPingOutput) GetValue() string

func (*DeepPingOutput) ProtoMessage

func (*DeepPingOutput) ProtoMessage()

func (*DeepPingOutput) Reset

func (m *DeepPingOutput) Reset()

func (*DeepPingOutput) String

func (m *DeepPingOutput) String() string

func (*DeepPingOutput) XXX_DiscardUnknown

func (m *DeepPingOutput) XXX_DiscardUnknown()

func (*DeepPingOutput) XXX_Marshal

func (m *DeepPingOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeepPingOutput) XXX_Merge

func (dst *DeepPingOutput) XXX_Merge(src proto.Message)

func (*DeepPingOutput) XXX_Size

func (m *DeepPingOutput) XXX_Size() int

func (*DeepPingOutput) XXX_Unmarshal

func (m *DeepPingOutput) XXX_Unmarshal(b []byte) error

type GetAssetHealthInput

type GetAssetHealthInput struct {
	NodeId               string   `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GET ASSET HEALTH

func (*GetAssetHealthInput) Descriptor

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

func (*GetAssetHealthInput) GetNodeId

func (m *GetAssetHealthInput) GetNodeId() string

func (*GetAssetHealthInput) ProtoMessage

func (*GetAssetHealthInput) ProtoMessage()

func (*GetAssetHealthInput) Reset

func (m *GetAssetHealthInput) Reset()

func (*GetAssetHealthInput) String

func (m *GetAssetHealthInput) String() string

func (*GetAssetHealthInput) XXX_DiscardUnknown

func (m *GetAssetHealthInput) XXX_DiscardUnknown()

func (*GetAssetHealthInput) XXX_Marshal

func (m *GetAssetHealthInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAssetHealthInput) XXX_Merge

func (dst *GetAssetHealthInput) XXX_Merge(src proto.Message)

func (*GetAssetHealthInput) XXX_Size

func (m *GetAssetHealthInput) XXX_Size() int

func (*GetAssetHealthInput) XXX_Unmarshal

func (m *GetAssetHealthInput) XXX_Unmarshal(b []byte) error

type GetAssetHealthOutput

type GetAssetHealthOutput struct {
	HealhStatus          string   `protobuf:"bytes,1,opt,name=healh_status,json=healhStatus,proto3" json:"healh_status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAssetHealthOutput) Descriptor

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

func (*GetAssetHealthOutput) GetHealhStatus

func (m *GetAssetHealthOutput) GetHealhStatus() string

func (*GetAssetHealthOutput) ProtoMessage

func (*GetAssetHealthOutput) ProtoMessage()

func (*GetAssetHealthOutput) Reset

func (m *GetAssetHealthOutput) Reset()

func (*GetAssetHealthOutput) String

func (m *GetAssetHealthOutput) String() string

func (*GetAssetHealthOutput) XXX_DiscardUnknown

func (m *GetAssetHealthOutput) XXX_DiscardUnknown()

func (*GetAssetHealthOutput) XXX_Marshal

func (m *GetAssetHealthOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAssetHealthOutput) XXX_Merge

func (dst *GetAssetHealthOutput) XXX_Merge(src proto.Message)

func (*GetAssetHealthOutput) XXX_Size

func (m *GetAssetHealthOutput) XXX_Size() int

func (*GetAssetHealthOutput) XXX_Unmarshal

func (m *GetAssetHealthOutput) XXX_Unmarshal(b []byte) error

type GetComplianceLogInput

type GetComplianceLogInput struct {
	NodeId               string   `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetComplianceLogInput) Descriptor

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

func (*GetComplianceLogInput) GetNodeId

func (m *GetComplianceLogInput) GetNodeId() string

func (*GetComplianceLogInput) ProtoMessage

func (*GetComplianceLogInput) ProtoMessage()

func (*GetComplianceLogInput) Reset

func (m *GetComplianceLogInput) Reset()

func (*GetComplianceLogInput) String

func (m *GetComplianceLogInput) String() string

func (*GetComplianceLogInput) XXX_DiscardUnknown

func (m *GetComplianceLogInput) XXX_DiscardUnknown()

func (*GetComplianceLogInput) XXX_Marshal

func (m *GetComplianceLogInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetComplianceLogInput) XXX_Merge

func (dst *GetComplianceLogInput) XXX_Merge(src proto.Message)

func (*GetComplianceLogInput) XXX_Size

func (m *GetComplianceLogInput) XXX_Size() int

func (*GetComplianceLogInput) XXX_Unmarshal

func (m *GetComplianceLogInput) XXX_Unmarshal(b []byte) error

type GetComplianceLogOutput

type GetComplianceLogOutput struct {
	ComplianceList       []*ComplianceItem `protobuf:"bytes,1,rep,name=compliance_list,json=complianceList,proto3" json:"compliance_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*GetComplianceLogOutput) Descriptor

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

func (*GetComplianceLogOutput) GetComplianceList

func (m *GetComplianceLogOutput) GetComplianceList() []*ComplianceItem

func (*GetComplianceLogOutput) ProtoMessage

func (*GetComplianceLogOutput) ProtoMessage()

func (*GetComplianceLogOutput) Reset

func (m *GetComplianceLogOutput) Reset()

func (*GetComplianceLogOutput) String

func (m *GetComplianceLogOutput) String() string

func (*GetComplianceLogOutput) XXX_DiscardUnknown

func (m *GetComplianceLogOutput) XXX_DiscardUnknown()

func (*GetComplianceLogOutput) XXX_Marshal

func (m *GetComplianceLogOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetComplianceLogOutput) XXX_Merge

func (dst *GetComplianceLogOutput) XXX_Merge(src proto.Message)

func (*GetComplianceLogOutput) XXX_Size

func (m *GetComplianceLogOutput) XXX_Size() int

func (*GetComplianceLogOutput) XXX_Unmarshal

func (m *GetComplianceLogOutput) XXX_Unmarshal(b []byte) error

type GetFunctionalLocationHealthInput

type GetFunctionalLocationHealthInput struct {
	NodeId               string   `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GET FL HEALTH

func (*GetFunctionalLocationHealthInput) Descriptor

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

func (*GetFunctionalLocationHealthInput) GetNodeId

func (*GetFunctionalLocationHealthInput) ProtoMessage

func (*GetFunctionalLocationHealthInput) ProtoMessage()

func (*GetFunctionalLocationHealthInput) Reset

func (*GetFunctionalLocationHealthInput) String

func (*GetFunctionalLocationHealthInput) XXX_DiscardUnknown

func (m *GetFunctionalLocationHealthInput) XXX_DiscardUnknown()

func (*GetFunctionalLocationHealthInput) XXX_Marshal

func (m *GetFunctionalLocationHealthInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFunctionalLocationHealthInput) XXX_Merge

func (dst *GetFunctionalLocationHealthInput) XXX_Merge(src proto.Message)

func (*GetFunctionalLocationHealthInput) XXX_Size

func (m *GetFunctionalLocationHealthInput) XXX_Size() int

func (*GetFunctionalLocationHealthInput) XXX_Unmarshal

func (m *GetFunctionalLocationHealthInput) XXX_Unmarshal(b []byte) error

type GetFunctionalLocationHealthOutput

type GetFunctionalLocationHealthOutput struct {
	HealhStatus          string   `protobuf:"bytes,1,opt,name=healh_status,json=healhStatus,proto3" json:"healh_status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetFunctionalLocationHealthOutput) Descriptor

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

func (*GetFunctionalLocationHealthOutput) GetHealhStatus

func (m *GetFunctionalLocationHealthOutput) GetHealhStatus() string

func (*GetFunctionalLocationHealthOutput) ProtoMessage

func (*GetFunctionalLocationHealthOutput) ProtoMessage()

func (*GetFunctionalLocationHealthOutput) Reset

func (*GetFunctionalLocationHealthOutput) String

func (*GetFunctionalLocationHealthOutput) XXX_DiscardUnknown

func (m *GetFunctionalLocationHealthOutput) XXX_DiscardUnknown()

func (*GetFunctionalLocationHealthOutput) XXX_Marshal

func (m *GetFunctionalLocationHealthOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetFunctionalLocationHealthOutput) XXX_Merge

func (dst *GetFunctionalLocationHealthOutput) XXX_Merge(src proto.Message)

func (*GetFunctionalLocationHealthOutput) XXX_Size

func (m *GetFunctionalLocationHealthOutput) XXX_Size() int

func (*GetFunctionalLocationHealthOutput) XXX_Unmarshal

func (m *GetFunctionalLocationHealthOutput) XXX_Unmarshal(b []byte) error

type PrimitiveVoid

type PrimitiveVoid struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrimitiveVoid) Descriptor

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

func (*PrimitiveVoid) ProtoMessage

func (*PrimitiveVoid) ProtoMessage()

func (*PrimitiveVoid) Reset

func (m *PrimitiveVoid) Reset()

func (*PrimitiveVoid) String

func (m *PrimitiveVoid) String() string

func (*PrimitiveVoid) XXX_DiscardUnknown

func (m *PrimitiveVoid) XXX_DiscardUnknown()

func (*PrimitiveVoid) XXX_Marshal

func (m *PrimitiveVoid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrimitiveVoid) XXX_Merge

func (dst *PrimitiveVoid) XXX_Merge(src proto.Message)

func (*PrimitiveVoid) XXX_Size

func (m *PrimitiveVoid) XXX_Size() int

func (*PrimitiveVoid) XXX_Unmarshal

func (m *PrimitiveVoid) XXX_Unmarshal(b []byte) error

type ReportsClient

type ReportsClient interface {
	DeepPing(ctx context.Context, in *PrimitiveVoid, opts ...grpc.CallOption) (*DeepPingOutput, error)
	GetAssetHealth(ctx context.Context, in *GetAssetHealthInput, opts ...grpc.CallOption) (*GetAssetHealthOutput, error)
	GetFunctionalLocationHealth(ctx context.Context, in *GetFunctionalLocationHealthInput, opts ...grpc.CallOption) (*GetFunctionalLocationHealthOutput, error)
	GetComplianceLog(ctx context.Context, in *GetComplianceLogInput, opts ...grpc.CallOption) (*GetComplianceLogOutput, error)
}

ReportsClient is the client API for Reports service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewReportsClient

func NewReportsClient(cc *grpc.ClientConn) ReportsClient

type ReportsServer

ReportsServer is the server API for Reports service.

Jump to

Keyboard shortcuts

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