Documentation ¶
Index ¶
- Variables
- func ConvertBytesToFixed(rawBytes []byte, data interface{}) error
- func ConvertFixedToBytes(data interface{}) ([]byte, error)
- func CreateSimpleUGIProto() (*hadoop_common.UserInformationProto, error)
- func GetCalleeRPCRequestHeaderProto(protocolName *string) *hadoop_common.RequestHeaderProto
- type AuthMethod
- type AuthProtocol
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RPC_HEADER []byte = []byte("hrpc") VERSION []byte = []byte{0x09} RPC_SERVICE_CLASS byte = 0x00 RPC_PROTOCOL_BUFFFER hadoop_common.RpcKindProto = hadoop_common.RpcKindProto_RPC_PROTOCOL_BUFFER RPC_FINAL_PACKET hadoop_common.RpcRequestHeaderProto_OperationProto = hadoop_common.RpcRequestHeaderProto_RPC_FINAL_PACKET RPC_DEFAULT_RETRY_COUNT int32 = hadoop_common.Default_RpcRequestHeaderProto_RetryCount CLIENT_PROTOCOL_VERSION uint64 = 1 )
Functions ¶
func ConvertBytesToFixed ¶
func ConvertFixedToBytes ¶
func CreateSimpleUGIProto ¶
func CreateSimpleUGIProto() (*hadoop_common.UserInformationProto, error)
func GetCalleeRPCRequestHeaderProto ¶
func GetCalleeRPCRequestHeaderProto(protocolName *string) *hadoop_common.RequestHeaderProto
Types ¶
type AuthMethod ¶
type AuthMethod byte
const ( AUTH_SIMPLE AuthMethod = 0x50 AUTH_KERBEROS AuthMethod = 0x51 AUTH_TOKEN AuthMethod = 0x52 AUTH_PLAIN AuthMethod = 0x53 )
func (AuthMethod) String ¶
func (authmethod AuthMethod) String() string
type AuthProtocol ¶
type AuthProtocol byte
const ( AUTH_PROTOCOL_NONE AuthProtocol = 0x00 AUTH_PROTOCOL_SASL AuthProtocol = 0xDF )
func (AuthProtocol) String ¶
func (authprotocol AuthProtocol) String() string
Click to show internal directories.
Click to hide internal directories.