nodeagent

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterNodeAgentServer

func RegisterNodeAgentServer(s *grpc.Server, srv NodeAgentServer)

Types

type GetNodeInfoReply

type GetNodeInfoReply struct {
	Node                 *Node    `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetNodeInfoReply) Descriptor

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

func (*GetNodeInfoReply) GetNode

func (m *GetNodeInfoReply) GetNode() *Node

func (*GetNodeInfoReply) ProtoMessage

func (*GetNodeInfoReply) ProtoMessage()

func (*GetNodeInfoReply) Reset

func (m *GetNodeInfoReply) Reset()

func (*GetNodeInfoReply) String

func (m *GetNodeInfoReply) String() string

func (*GetNodeInfoReply) XXX_DiscardUnknown

func (m *GetNodeInfoReply) XXX_DiscardUnknown()

func (*GetNodeInfoReply) XXX_Marshal

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

func (*GetNodeInfoReply) XXX_Merge

func (m *GetNodeInfoReply) XXX_Merge(src proto.Message)

func (*GetNodeInfoReply) XXX_Size

func (m *GetNodeInfoReply) XXX_Size() int

func (*GetNodeInfoReply) XXX_Unmarshal

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

type GetNodeInfoRequest

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

func (*GetNodeInfoRequest) Descriptor

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

func (*GetNodeInfoRequest) GetName

func (m *GetNodeInfoRequest) GetName() string

func (*GetNodeInfoRequest) ProtoMessage

func (*GetNodeInfoRequest) ProtoMessage()

func (*GetNodeInfoRequest) Reset

func (m *GetNodeInfoRequest) Reset()

func (*GetNodeInfoRequest) String

func (m *GetNodeInfoRequest) String() string

func (*GetNodeInfoRequest) XXX_DiscardUnknown

func (m *GetNodeInfoRequest) XXX_DiscardUnknown()

func (*GetNodeInfoRequest) XXX_Marshal

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

func (*GetNodeInfoRequest) XXX_Merge

func (m *GetNodeInfoRequest) XXX_Merge(src proto.Message)

func (*GetNodeInfoRequest) XXX_Size

func (m *GetNodeInfoRequest) XXX_Size() int

func (*GetNodeInfoRequest) XXX_Unmarshal

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

type IscsiLoginReply

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

func (*IscsiLoginReply) Descriptor

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

func (*IscsiLoginReply) ProtoMessage

func (*IscsiLoginReply) ProtoMessage()

func (*IscsiLoginReply) Reset

func (m *IscsiLoginReply) Reset()

func (*IscsiLoginReply) String

func (m *IscsiLoginReply) String() string

func (*IscsiLoginReply) XXX_DiscardUnknown

func (m *IscsiLoginReply) XXX_DiscardUnknown()

func (*IscsiLoginReply) XXX_Marshal

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

func (*IscsiLoginReply) XXX_Merge

func (m *IscsiLoginReply) XXX_Merge(src proto.Message)

func (*IscsiLoginReply) XXX_Size

func (m *IscsiLoginReply) XXX_Size() int

func (*IscsiLoginReply) XXX_Unmarshal

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

type IscsiLoginRequest

type IscsiLoginRequest struct {
	Targets              []string `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IscsiLoginRequest) Descriptor

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

func (*IscsiLoginRequest) GetTargets

func (m *IscsiLoginRequest) GetTargets() []string

func (*IscsiLoginRequest) ProtoMessage

func (*IscsiLoginRequest) ProtoMessage()

func (*IscsiLoginRequest) Reset

func (m *IscsiLoginRequest) Reset()

func (*IscsiLoginRequest) String

func (m *IscsiLoginRequest) String() string

func (*IscsiLoginRequest) XXX_DiscardUnknown

func (m *IscsiLoginRequest) XXX_DiscardUnknown()

func (*IscsiLoginRequest) XXX_Marshal

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

func (*IscsiLoginRequest) XXX_Merge

func (m *IscsiLoginRequest) XXX_Merge(src proto.Message)

func (*IscsiLoginRequest) XXX_Size

func (m *IscsiLoginRequest) XXX_Size() int

func (*IscsiLoginRequest) XXX_Unmarshal

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

type IscsiLogoutReply

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

func (*IscsiLogoutReply) Descriptor

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

func (*IscsiLogoutReply) ProtoMessage

func (*IscsiLogoutReply) ProtoMessage()

func (*IscsiLogoutReply) Reset

func (m *IscsiLogoutReply) Reset()

func (*IscsiLogoutReply) String

func (m *IscsiLogoutReply) String() string

func (*IscsiLogoutReply) XXX_DiscardUnknown

func (m *IscsiLogoutReply) XXX_DiscardUnknown()

func (*IscsiLogoutReply) XXX_Marshal

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

func (*IscsiLogoutReply) XXX_Merge

func (m *IscsiLogoutReply) XXX_Merge(src proto.Message)

func (*IscsiLogoutReply) XXX_Size

func (m *IscsiLogoutReply) XXX_Size() int

func (*IscsiLogoutReply) XXX_Unmarshal

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

type IscsiLogoutRequest

type IscsiLogoutRequest struct {
	Targets              []string `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IscsiLogoutRequest) Descriptor

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

func (*IscsiLogoutRequest) GetTargets

func (m *IscsiLogoutRequest) GetTargets() []string

func (*IscsiLogoutRequest) ProtoMessage

func (*IscsiLogoutRequest) ProtoMessage()

func (*IscsiLogoutRequest) Reset

func (m *IscsiLogoutRequest) Reset()

func (*IscsiLogoutRequest) String

func (m *IscsiLogoutRequest) String() string

func (*IscsiLogoutRequest) XXX_DiscardUnknown

func (m *IscsiLogoutRequest) XXX_DiscardUnknown()

func (*IscsiLogoutRequest) XXX_Marshal

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

func (*IscsiLogoutRequest) XXX_Merge

func (m *IscsiLogoutRequest) XXX_Merge(src proto.Message)

func (*IscsiLogoutRequest) XXX_Size

func (m *IscsiLogoutRequest) XXX_Size() int

func (*IscsiLogoutRequest) XXX_Unmarshal

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

type Node

type Node struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Iqns                 []string `protobuf:"bytes,2,rep,name=iqns,proto3" json:"iqns,omitempty"`
	Wwpns                []string `protobuf:"bytes,3,rep,name=wwpns,proto3" json:"wwpns,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Node) Descriptor

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

func (*Node) GetIqns

func (m *Node) GetIqns() []string

func (*Node) GetName

func (m *Node) GetName() string

func (*Node) GetWwpns

func (m *Node) GetWwpns() []string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

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

func (*Node) XXX_Merge

func (m *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

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

type NodeAgentClient

type NodeAgentClient interface {
	GetNodeInfo(ctx context.Context, in *GetNodeInfoRequest, opts ...grpc.CallOption) (*GetNodeInfoReply, error)
	IscsiLogin(ctx context.Context, in *IscsiLoginRequest, opts ...grpc.CallOption) (*IscsiLoginReply, error)
	IscsiLogout(ctx context.Context, in *IscsiLogoutRequest, opts ...grpc.CallOption) (*IscsiLogoutReply, error)
}

NodeAgentClient is the client API for NodeAgent service.

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

func NewNodeAgentClient

func NewNodeAgentClient(cc *grpc.ClientConn) NodeAgentClient

type NodeAgentServer

type NodeAgentServer interface {
	GetNodeInfo(context.Context, *GetNodeInfoRequest) (*GetNodeInfoReply, error)
	IscsiLogin(context.Context, *IscsiLoginRequest) (*IscsiLoginReply, error)
	IscsiLogout(context.Context, *IscsiLogoutRequest) (*IscsiLogoutReply, error)
}

NodeAgentServer is the server API for NodeAgent service.

type UnimplementedNodeAgentServer

type UnimplementedNodeAgentServer struct {
}

UnimplementedNodeAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedNodeAgentServer) GetNodeInfo

func (*UnimplementedNodeAgentServer) IscsiLogin

func (*UnimplementedNodeAgentServer) IscsiLogout

Jump to

Keyboard shortcuts

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