Documentation
¶
Index ¶
- Variables
- func RegisterNodeConfigServiceServer(s *grpc.Server, srv NodeConfigServiceServer)
- type AddNodeConfigResponse
- func (*AddNodeConfigResponse) Descriptor() ([]byte, []int)
- func (m *AddNodeConfigResponse) GetNodeEntryMessage() string
- func (m *AddNodeConfigResponse) GetNodeEntryStatus() AddNodeConfigResponse_NodeEntryStatus
- func (m *AddNodeConfigResponse) GetNodeId() string
- func (*AddNodeConfigResponse) ProtoMessage()
- func (m *AddNodeConfigResponse) Reset()
- func (m *AddNodeConfigResponse) String() string
- func (m *AddNodeConfigResponse) XXX_DiscardUnknown()
- func (m *AddNodeConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddNodeConfigResponse) XXX_Merge(src proto.Message)
- func (m *AddNodeConfigResponse) XXX_Size() int
- func (m *AddNodeConfigResponse) XXX_Unmarshal(b []byte) error
- type AddNodeConfigResponse_NodeEntryStatus
- type AllNodeConfig
- func (*AllNodeConfig) Descriptor() ([]byte, []int)
- func (m *AllNodeConfig) GetAllNodeConfig() []*NodeConfig
- func (*AllNodeConfig) ProtoMessage()
- func (m *AllNodeConfig) Reset()
- func (m *AllNodeConfig) String() string
- func (m *AllNodeConfig) XXX_DiscardUnknown()
- func (m *AllNodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllNodeConfig) XXX_Merge(src proto.Message)
- func (m *AllNodeConfig) XXX_Size() int
- func (m *AllNodeConfig) XXX_Unmarshal(b []byte) error
- type GRPCAuth
- func (*GRPCAuth) Descriptor() ([]byte, []int)
- func (m *GRPCAuth) GetTlsCert() string
- func (*GRPCAuth) ProtoMessage()
- func (m *GRPCAuth) Reset()
- func (m *GRPCAuth) String() string
- func (m *GRPCAuth) XXX_DiscardUnknown()
- func (m *GRPCAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GRPCAuth) XXX_Merge(src proto.Message)
- func (m *GRPCAuth) XXX_Size() int
- func (m *GRPCAuth) XXX_Unmarshal(b []byte) error
- type GetNodeRequest
- func (*GetNodeRequest) Descriptor() ([]byte, []int)
- func (m *GetNodeRequest) GetNodeId() string
- func (m *GetNodeRequest) GetNodetype() GetNodeRequest_NodeType
- func (*GetNodeRequest) ProtoMessage()
- func (m *GetNodeRequest) Reset()
- func (m *GetNodeRequest) String() string
- func (m *GetNodeRequest) XXX_DiscardUnknown()
- func (m *GetNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNodeRequest) XXX_Merge(src proto.Message)
- func (m *GetNodeRequest) XXX_Size() int
- func (m *GetNodeRequest) XXX_Unmarshal(b []byte) error
- type GetNodeRequest_NodeType
- type NodeConfig
- func (*NodeConfig) Descriptor() ([]byte, []int)
- func (m *NodeConfig) GetGrpcAddress() string
- func (m *NodeConfig) GetGrpcAuth() *GRPCAuth
- func (m *NodeConfig) GetNodeId() string
- func (m *NodeConfig) GetNodetype() NodeConfig_NodeType
- func (m *NodeConfig) GetSftpAddress() string
- func (m *NodeConfig) GetSftpAuth() *SFTPAuth
- func (m *NodeConfig) GetSz() NodeConfig_SZ
- func (*NodeConfig) ProtoMessage()
- func (m *NodeConfig) Reset()
- func (m *NodeConfig) String() string
- func (m *NodeConfig) XXX_DiscardUnknown()
- func (m *NodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeConfig) XXX_Merge(src proto.Message)
- func (m *NodeConfig) XXX_Size() int
- func (m *NodeConfig) XXX_Unmarshal(b []byte) error
- type NodeConfigRequest
- func (*NodeConfigRequest) Descriptor() ([]byte, []int)
- func (m *NodeConfigRequest) GetPrefix() string
- func (*NodeConfigRequest) ProtoMessage()
- func (m *NodeConfigRequest) Reset()
- func (m *NodeConfigRequest) String() string
- func (m *NodeConfigRequest) XXX_DiscardUnknown()
- func (m *NodeConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeConfigRequest) XXX_Merge(src proto.Message)
- func (m *NodeConfigRequest) XXX_Size() int
- func (m *NodeConfigRequest) XXX_Unmarshal(b []byte) error
- type NodeConfigServiceClient
- type NodeConfigServiceServer
- type NodeConfig_NodeType
- type NodeConfig_SZ
- type SFTPAuth
- func (*SFTPAuth) Descriptor() ([]byte, []int)
- func (m *SFTPAuth) GetKey() string
- func (m *SFTPAuth) GetPassword() string
- func (m *SFTPAuth) GetSftpAuthType() SFTPAuth_SFTPAuthType
- func (m *SFTPAuth) GetUsername() string
- func (*SFTPAuth) ProtoMessage()
- func (m *SFTPAuth) Reset()
- func (m *SFTPAuth) String() string
- func (m *SFTPAuth) XXX_DiscardUnknown()
- func (m *SFTPAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SFTPAuth) XXX_Merge(src proto.Message)
- func (m *SFTPAuth) XXX_Size() int
- func (m *SFTPAuth) XXX_Unmarshal(b []byte) error
- type SFTPAuth_SFTPAuthType
- type UnimplementedNodeConfigServiceServer
- func (*UnimplementedNodeConfigServiceServer) AddNode(ctx context.Context, req *NodeConfig) (*AllNodeConfig, error)
- func (*UnimplementedNodeConfigServiceServer) AddNodeConfig(ctx context.Context, req *NodeConfig) (*AddNodeConfigResponse, error)
- func (*UnimplementedNodeConfigServiceServer) GetNodeConfigByID(ctx context.Context, req *GetNodeRequest) (*NodeConfig, error)
- func (*UnimplementedNodeConfigServiceServer) ListNodeConfig(ctx context.Context, req *NodeConfigRequest) (*AllNodeConfig, error)
- func (*UnimplementedNodeConfigServiceServer) UpdateAllNodeConfig(ctx context.Context, req *NodeConfigRequest) (*AllNodeConfig, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var AddNodeConfigResponse_NodeEntryStatus_name = map[int32]string{
0: "NODE_ENTRY_STATUS_UNSPECIFIED",
1: "NODE_ENTRY_STATUS_SUCCESS",
2: "NODE_ENTRY_STATUS_ERROR",
}
View Source
var AddNodeConfigResponse_NodeEntryStatus_value = map[string]int32{
"NODE_ENTRY_STATUS_UNSPECIFIED": 0,
"NODE_ENTRY_STATUS_SUCCESS": 1,
"NODE_ENTRY_STATUS_ERROR": 2,
}
View Source
var GetNodeRequest_NodeType_name = map[int32]string{
0: "NODETYPE_UNSPECIFIED",
1: "NODETYPE_MASTER",
2: "NODETYPE_NODE",
3: "NODETYPE_EXTERNAL",
}
View Source
var GetNodeRequest_NodeType_value = map[string]int32{
"NODETYPE_UNSPECIFIED": 0,
"NODETYPE_MASTER": 1,
"NODETYPE_NODE": 2,
"NODETYPE_EXTERNAL": 3,
}
View Source
var NodeConfig_NodeType_name = map[int32]string{
0: "NODETYPE_UNSPECIFIED",
1: "NODETYPE_MASTER",
2: "NODETYPE_NODE",
3: "NODETYPE_EXTERNAL",
}
View Source
var NodeConfig_NodeType_value = map[string]int32{
"NODETYPE_UNSPECIFIED": 0,
"NODETYPE_MASTER": 1,
"NODETYPE_NODE": 2,
"NODETYPE_EXTERNAL": 3,
}
View Source
var NodeConfig_SZ_name = map[int32]string{
0: "SZ_UNSPECIFIED",
10: "SZ_EXTERNAL",
20: "SZ_DMZ",
30: "SZ_APP",
40: "SZ_DATA",
50: "SZ_CONTROLPLANE",
}
View Source
var NodeConfig_SZ_value = map[string]int32{
"SZ_UNSPECIFIED": 0,
"SZ_EXTERNAL": 10,
"SZ_DMZ": 20,
"SZ_APP": 30,
"SZ_DATA": 40,
"SZ_CONTROLPLANE": 50,
}
View Source
var SFTPAuth_SFTPAuthType_name = map[int32]string{
0: "SFTP_AUTH_TYPE_UNSPECIFIED",
1: "PASSWORD",
2: "KEYBASED",
3: "KEYPASSPHRASE",
}
View Source
var SFTPAuth_SFTPAuthType_value = map[string]int32{
"SFTP_AUTH_TYPE_UNSPECIFIED": 0,
"PASSWORD": 1,
"KEYBASED": 2,
"KEYPASSPHRASE": 3,
}
Functions ¶
func RegisterNodeConfigServiceServer ¶
func RegisterNodeConfigServiceServer(s *grpc.Server, srv NodeConfigServiceServer)
Types ¶
type AddNodeConfigResponse ¶
type AddNodeConfigResponse struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` NodeEntryMessage string `protobuf:"bytes,2,opt,name=node_entry_message,json=nodeEntryMessage,proto3" json:"node_entry_message,omitempty"` NodeEntryStatus AddNodeConfigResponse_NodeEntryStatus `` /* 163-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddNodeConfigResponse) Descriptor ¶
func (*AddNodeConfigResponse) Descriptor() ([]byte, []int)
func (*AddNodeConfigResponse) GetNodeEntryMessage ¶
func (m *AddNodeConfigResponse) GetNodeEntryMessage() string
func (*AddNodeConfigResponse) GetNodeEntryStatus ¶
func (m *AddNodeConfigResponse) GetNodeEntryStatus() AddNodeConfigResponse_NodeEntryStatus
func (*AddNodeConfigResponse) GetNodeId ¶
func (m *AddNodeConfigResponse) GetNodeId() string
func (*AddNodeConfigResponse) ProtoMessage ¶
func (*AddNodeConfigResponse) ProtoMessage()
func (*AddNodeConfigResponse) Reset ¶
func (m *AddNodeConfigResponse) Reset()
func (*AddNodeConfigResponse) String ¶
func (m *AddNodeConfigResponse) String() string
func (*AddNodeConfigResponse) XXX_DiscardUnknown ¶
func (m *AddNodeConfigResponse) XXX_DiscardUnknown()
func (*AddNodeConfigResponse) XXX_Marshal ¶
func (m *AddNodeConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddNodeConfigResponse) XXX_Merge ¶
func (m *AddNodeConfigResponse) XXX_Merge(src proto.Message)
func (*AddNodeConfigResponse) XXX_Size ¶
func (m *AddNodeConfigResponse) XXX_Size() int
func (*AddNodeConfigResponse) XXX_Unmarshal ¶
func (m *AddNodeConfigResponse) XXX_Unmarshal(b []byte) error
type AddNodeConfigResponse_NodeEntryStatus ¶
type AddNodeConfigResponse_NodeEntryStatus int32
const ( AddNodeConfigResponse_NODE_ENTRY_STATUS_UNSPECIFIED AddNodeConfigResponse_NodeEntryStatus = 0 AddNodeConfigResponse_NODE_ENTRY_STATUS_SUCCESS AddNodeConfigResponse_NodeEntryStatus = 1 AddNodeConfigResponse_NODE_ENTRY_STATUS_ERROR AddNodeConfigResponse_NodeEntryStatus = 2 )
func (AddNodeConfigResponse_NodeEntryStatus) EnumDescriptor ¶
func (AddNodeConfigResponse_NodeEntryStatus) EnumDescriptor() ([]byte, []int)
func (AddNodeConfigResponse_NodeEntryStatus) String ¶
func (x AddNodeConfigResponse_NodeEntryStatus) String() string
type AllNodeConfig ¶
type AllNodeConfig struct { AllNodeConfig []*NodeConfig `protobuf:"bytes,1,rep,name=all_node_config,json=allNodeConfig,proto3" json:"all_node_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllNodeConfig) Descriptor ¶
func (*AllNodeConfig) Descriptor() ([]byte, []int)
func (*AllNodeConfig) GetAllNodeConfig ¶
func (m *AllNodeConfig) GetAllNodeConfig() []*NodeConfig
func (*AllNodeConfig) ProtoMessage ¶
func (*AllNodeConfig) ProtoMessage()
func (*AllNodeConfig) Reset ¶
func (m *AllNodeConfig) Reset()
func (*AllNodeConfig) String ¶
func (m *AllNodeConfig) String() string
func (*AllNodeConfig) XXX_DiscardUnknown ¶
func (m *AllNodeConfig) XXX_DiscardUnknown()
func (*AllNodeConfig) XXX_Marshal ¶
func (m *AllNodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllNodeConfig) XXX_Merge ¶
func (m *AllNodeConfig) XXX_Merge(src proto.Message)
func (*AllNodeConfig) XXX_Size ¶
func (m *AllNodeConfig) XXX_Size() int
func (*AllNodeConfig) XXX_Unmarshal ¶
func (m *AllNodeConfig) XXX_Unmarshal(b []byte) error
type GRPCAuth ¶
type GRPCAuth struct { TlsCert string `protobuf:"bytes,1,opt,name=tls_cert,json=tlsCert,proto3" json:"tls_cert,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
node config events
func (*GRPCAuth) Descriptor ¶
func (*GRPCAuth) GetTlsCert ¶
func (*GRPCAuth) ProtoMessage ¶
func (*GRPCAuth) ProtoMessage()
func (*GRPCAuth) XXX_DiscardUnknown ¶
func (m *GRPCAuth) XXX_DiscardUnknown()
func (*GRPCAuth) XXX_Marshal ¶
func (*GRPCAuth) XXX_Unmarshal ¶
type GetNodeRequest ¶
type GetNodeRequest struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` Nodetype GetNodeRequest_NodeType `protobuf:"varint,2,opt,name=nodetype,proto3,enum=nodeconfig.GetNodeRequest_NodeType" json:"nodetype,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetNodeRequest) Descriptor ¶
func (*GetNodeRequest) Descriptor() ([]byte, []int)
func (*GetNodeRequest) GetNodeId ¶
func (m *GetNodeRequest) GetNodeId() string
func (*GetNodeRequest) GetNodetype ¶
func (m *GetNodeRequest) GetNodetype() GetNodeRequest_NodeType
func (*GetNodeRequest) ProtoMessage ¶
func (*GetNodeRequest) ProtoMessage()
func (*GetNodeRequest) Reset ¶
func (m *GetNodeRequest) Reset()
func (*GetNodeRequest) String ¶
func (m *GetNodeRequest) String() string
func (*GetNodeRequest) XXX_DiscardUnknown ¶
func (m *GetNodeRequest) XXX_DiscardUnknown()
func (*GetNodeRequest) XXX_Marshal ¶
func (m *GetNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNodeRequest) XXX_Merge ¶
func (m *GetNodeRequest) XXX_Merge(src proto.Message)
func (*GetNodeRequest) XXX_Size ¶
func (m *GetNodeRequest) XXX_Size() int
func (*GetNodeRequest) XXX_Unmarshal ¶
func (m *GetNodeRequest) XXX_Unmarshal(b []byte) error
type GetNodeRequest_NodeType ¶
type GetNodeRequest_NodeType int32
const ( GetNodeRequest_NODETYPE_UNSPECIFIED GetNodeRequest_NodeType = 0 GetNodeRequest_NODETYPE_MASTER GetNodeRequest_NodeType = 1 GetNodeRequest_NODETYPE_NODE GetNodeRequest_NodeType = 2 GetNodeRequest_NODETYPE_EXTERNAL GetNodeRequest_NodeType = 3 )
func (GetNodeRequest_NodeType) EnumDescriptor ¶
func (GetNodeRequest_NodeType) EnumDescriptor() ([]byte, []int)
func (GetNodeRequest_NodeType) String ¶
func (x GetNodeRequest_NodeType) String() string
type NodeConfig ¶
type NodeConfig struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` Nodetype NodeConfig_NodeType `protobuf:"varint,2,opt,name=nodetype,proto3,enum=nodeconfig.NodeConfig_NodeType" json:"nodetype,omitempty"` GrpcAddress string `protobuf:"bytes,3,opt,name=grpc_address,json=grpcAddress,proto3" json:"grpc_address,omitempty"` SftpAddress string `protobuf:"bytes,4,opt,name=sftp_address,json=sftpAddress,proto3" json:"sftp_address,omitempty"` Sz NodeConfig_SZ `protobuf:"varint,6,opt,name=sz,proto3,enum=nodeconfig.NodeConfig_SZ" json:"sz,omitempty"` GrpcAuth *GRPCAuth `protobuf:"bytes,7,opt,name=grpc_auth,json=grpcAuth,proto3" json:"grpc_auth,omitempty"` SftpAuth *SFTPAuth `protobuf:"bytes,8,opt,name=sftp_auth,json=sftpAuth,proto3" json:"sftp_auth,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeConfig) Descriptor ¶
func (*NodeConfig) Descriptor() ([]byte, []int)
func (*NodeConfig) GetGrpcAddress ¶
func (m *NodeConfig) GetGrpcAddress() string
func (*NodeConfig) GetGrpcAuth ¶
func (m *NodeConfig) GetGrpcAuth() *GRPCAuth
func (*NodeConfig) GetNodeId ¶
func (m *NodeConfig) GetNodeId() string
func (*NodeConfig) GetNodetype ¶
func (m *NodeConfig) GetNodetype() NodeConfig_NodeType
func (*NodeConfig) GetSftpAddress ¶
func (m *NodeConfig) GetSftpAddress() string
func (*NodeConfig) GetSftpAuth ¶
func (m *NodeConfig) GetSftpAuth() *SFTPAuth
func (*NodeConfig) GetSz ¶
func (m *NodeConfig) GetSz() NodeConfig_SZ
func (*NodeConfig) ProtoMessage ¶
func (*NodeConfig) ProtoMessage()
func (*NodeConfig) Reset ¶
func (m *NodeConfig) Reset()
func (*NodeConfig) String ¶
func (m *NodeConfig) String() string
func (*NodeConfig) XXX_DiscardUnknown ¶
func (m *NodeConfig) XXX_DiscardUnknown()
func (*NodeConfig) XXX_Marshal ¶
func (m *NodeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeConfig) XXX_Merge ¶
func (m *NodeConfig) XXX_Merge(src proto.Message)
func (*NodeConfig) XXX_Size ¶
func (m *NodeConfig) XXX_Size() int
func (*NodeConfig) XXX_Unmarshal ¶
func (m *NodeConfig) XXX_Unmarshal(b []byte) error
type NodeConfigRequest ¶
type NodeConfigRequest struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeConfigRequest) Descriptor ¶
func (*NodeConfigRequest) Descriptor() ([]byte, []int)
func (*NodeConfigRequest) GetPrefix ¶
func (m *NodeConfigRequest) GetPrefix() string
func (*NodeConfigRequest) ProtoMessage ¶
func (*NodeConfigRequest) ProtoMessage()
func (*NodeConfigRequest) Reset ¶
func (m *NodeConfigRequest) Reset()
func (*NodeConfigRequest) String ¶
func (m *NodeConfigRequest) String() string
func (*NodeConfigRequest) XXX_DiscardUnknown ¶
func (m *NodeConfigRequest) XXX_DiscardUnknown()
func (*NodeConfigRequest) XXX_Marshal ¶
func (m *NodeConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeConfigRequest) XXX_Merge ¶
func (m *NodeConfigRequest) XXX_Merge(src proto.Message)
func (*NodeConfigRequest) XXX_Size ¶
func (m *NodeConfigRequest) XXX_Size() int
func (*NodeConfigRequest) XXX_Unmarshal ¶
func (m *NodeConfigRequest) XXX_Unmarshal(b []byte) error
type NodeConfigServiceClient ¶
type NodeConfigServiceClient interface { AddNodeConfig(ctx context.Context, in *NodeConfig, opts ...grpc.CallOption) (*AddNodeConfigResponse, error) GetNodeConfigByID(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*NodeConfig, error) ListNodeConfig(ctx context.Context, in *NodeConfigRequest, opts ...grpc.CallOption) (*AllNodeConfig, error) UpdateAllNodeConfig(ctx context.Context, in *NodeConfigRequest, opts ...grpc.CallOption) (*AllNodeConfig, error) AddNode(ctx context.Context, in *NodeConfig, opts ...grpc.CallOption) (*AllNodeConfig, error) }
NodeConfigServiceClient is the client API for NodeConfigService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNodeConfigServiceClient ¶
func NewNodeConfigServiceClient(cc grpc.ClientConnInterface) NodeConfigServiceClient
type NodeConfigServiceServer ¶
type NodeConfigServiceServer interface { AddNodeConfig(context.Context, *NodeConfig) (*AddNodeConfigResponse, error) GetNodeConfigByID(context.Context, *GetNodeRequest) (*NodeConfig, error) ListNodeConfig(context.Context, *NodeConfigRequest) (*AllNodeConfig, error) UpdateAllNodeConfig(context.Context, *NodeConfigRequest) (*AllNodeConfig, error) AddNode(context.Context, *NodeConfig) (*AllNodeConfig, error) }
NodeConfigServiceServer is the server API for NodeConfigService service.
type NodeConfig_NodeType ¶
type NodeConfig_NodeType int32
const ( NodeConfig_NODETYPE_UNSPECIFIED NodeConfig_NodeType = 0 NodeConfig_NODETYPE_MASTER NodeConfig_NodeType = 1 NodeConfig_NODETYPE_NODE NodeConfig_NodeType = 2 NodeConfig_NODETYPE_EXTERNAL NodeConfig_NodeType = 3 )
func (NodeConfig_NodeType) EnumDescriptor ¶
func (NodeConfig_NodeType) EnumDescriptor() ([]byte, []int)
func (NodeConfig_NodeType) String ¶
func (x NodeConfig_NodeType) String() string
type NodeConfig_SZ ¶
type NodeConfig_SZ int32
const ( NodeConfig_SZ_UNSPECIFIED NodeConfig_SZ = 0 NodeConfig_SZ_EXTERNAL NodeConfig_SZ = 10 NodeConfig_SZ_DMZ NodeConfig_SZ = 20 NodeConfig_SZ_APP NodeConfig_SZ = 30 NodeConfig_SZ_DATA NodeConfig_SZ = 40 NodeConfig_SZ_CONTROLPLANE NodeConfig_SZ = 50 )
func (NodeConfig_SZ) EnumDescriptor ¶
func (NodeConfig_SZ) EnumDescriptor() ([]byte, []int)
func (NodeConfig_SZ) String ¶
func (x NodeConfig_SZ) String() string
type SFTPAuth ¶
type SFTPAuth struct { SftpAuthType SFTPAuth_SFTPAuthType `` /* 138-byte string literal not displayed */ Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SFTPAuth) Descriptor ¶
func (*SFTPAuth) GetPassword ¶
func (*SFTPAuth) GetSftpAuthType ¶
func (m *SFTPAuth) GetSftpAuthType() SFTPAuth_SFTPAuthType
func (*SFTPAuth) GetUsername ¶
func (*SFTPAuth) ProtoMessage ¶
func (*SFTPAuth) ProtoMessage()
func (*SFTPAuth) XXX_DiscardUnknown ¶
func (m *SFTPAuth) XXX_DiscardUnknown()
func (*SFTPAuth) XXX_Marshal ¶
func (*SFTPAuth) XXX_Unmarshal ¶
type SFTPAuth_SFTPAuthType ¶
type SFTPAuth_SFTPAuthType int32
const ( SFTPAuth_SFTP_AUTH_TYPE_UNSPECIFIED SFTPAuth_SFTPAuthType = 0 SFTPAuth_PASSWORD SFTPAuth_SFTPAuthType = 1 SFTPAuth_KEYBASED SFTPAuth_SFTPAuthType = 2 SFTPAuth_KEYPASSPHRASE SFTPAuth_SFTPAuthType = 3 )
func (SFTPAuth_SFTPAuthType) EnumDescriptor ¶
func (SFTPAuth_SFTPAuthType) EnumDescriptor() ([]byte, []int)
func (SFTPAuth_SFTPAuthType) String ¶
func (x SFTPAuth_SFTPAuthType) String() string
type UnimplementedNodeConfigServiceServer ¶
type UnimplementedNodeConfigServiceServer struct { }
UnimplementedNodeConfigServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedNodeConfigServiceServer) AddNode ¶
func (*UnimplementedNodeConfigServiceServer) AddNode(ctx context.Context, req *NodeConfig) (*AllNodeConfig, error)
func (*UnimplementedNodeConfigServiceServer) AddNodeConfig ¶
func (*UnimplementedNodeConfigServiceServer) AddNodeConfig(ctx context.Context, req *NodeConfig) (*AddNodeConfigResponse, error)
func (*UnimplementedNodeConfigServiceServer) GetNodeConfigByID ¶
func (*UnimplementedNodeConfigServiceServer) GetNodeConfigByID(ctx context.Context, req *GetNodeRequest) (*NodeConfig, error)
func (*UnimplementedNodeConfigServiceServer) ListNodeConfig ¶
func (*UnimplementedNodeConfigServiceServer) ListNodeConfig(ctx context.Context, req *NodeConfigRequest) (*AllNodeConfig, error)
func (*UnimplementedNodeConfigServiceServer) UpdateAllNodeConfig ¶
func (*UnimplementedNodeConfigServiceServer) UpdateAllNodeConfig(ctx context.Context, req *NodeConfigRequest) (*AllNodeConfig, error)
Click to show internal directories.
Click to hide internal directories.