Documentation
¶
Index ¶
- Variables
- type Credentials
- func (*Credentials) Descriptor() ([]byte, []int)deprecated
- func (x *Credentials) GetCleartext() string
- func (x *Credentials) GetHashed() *HashType
- func (x *Credentials) GetPassword() isCredentials_Password
- func (x *Credentials) GetUsername() string
- func (*Credentials) ProtoMessage()
- func (x *Credentials) ProtoReflect() protoreflect.Message
- func (x *Credentials) Reset()
- func (x *Credentials) String() string
- type Credentials_Cleartext
- type Credentials_Hashed
- type HashType
- type HashType_HashMethod
- func (HashType_HashMethod) Descriptor() protoreflect.EnumDescriptor
- func (x HashType_HashMethod) Enum() *HashType_HashMethod
- func (HashType_HashMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x HashType_HashMethod) Number() protoreflect.EnumNumber
- func (x HashType_HashMethod) String() string
- func (HashType_HashMethod) Type() protoreflect.EnumType
- type L3Protocol
- type Path
- type PathElem
Constants ¶
This section is empty.
Variables ¶
View Source
var ( L3Protocol_name = map[int32]string{ 0: "UNSPECIFIED", 1: "IPV4", 2: "IPV6", } L3Protocol_value = map[string]int32{ "UNSPECIFIED": 0, "IPV4": 1, "IPV6": 2, } )
Enum value maps for L3Protocol.
View Source
var ( HashType_HashMethod_name = map[int32]string{ 0: "UNSPECIFIED", 1: "SHA256", 2: "SHA512", 3: "MD5", } HashType_HashMethod_value = map[string]int32{ "UNSPECIFIED": 0, "SHA256": 1, "SHA512": 2, "MD5": 3, } )
Enum value maps for HashType_HashMethod.
View Source
var (
// optional string gnoi_version = 1002;
E_GnoiVersion = &file_github_com_openconfig_gnoi_types_types_proto_extTypes[0]
)
Extension fields to descriptorpb.FileOptions.
View Source
var File_github_com_openconfig_gnoi_types_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
// Types that are valid to be assigned to Password:
//
// *Credentials_Cleartext
// *Credentials_Hashed
Password isCredentials_Password `protobuf_oneof:"password"`
// contains filtered or unexported fields
}
func (*Credentials) Descriptor
deprecated
func (*Credentials) Descriptor() ([]byte, []int)
Deprecated: Use Credentials.ProtoReflect.Descriptor instead.
func (*Credentials) GetCleartext ¶
func (x *Credentials) GetCleartext() string
func (*Credentials) GetHashed ¶
func (x *Credentials) GetHashed() *HashType
func (*Credentials) GetPassword ¶
func (x *Credentials) GetPassword() isCredentials_Password
func (*Credentials) GetUsername ¶
func (x *Credentials) GetUsername() string
func (*Credentials) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) ProtoReflect ¶
func (x *Credentials) ProtoReflect() protoreflect.Message
func (*Credentials) Reset ¶
func (x *Credentials) Reset()
func (*Credentials) String ¶
func (x *Credentials) String() string
type Credentials_Cleartext ¶
type Credentials_Cleartext struct {
Cleartext string `protobuf:"bytes,2,opt,name=cleartext,proto3,oneof"`
}
type Credentials_Hashed ¶
type Credentials_Hashed struct {
Hashed *HashType `protobuf:"bytes,3,opt,name=hashed,proto3,oneof"`
}
type HashType ¶
type HashType struct {
Method HashType_HashMethod `protobuf:"varint,1,opt,name=method,proto3,enum=gnoi.types.HashType_HashMethod" json:"method,omitempty"`
Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*HashType) Descriptor
deprecated
func (*HashType) GetMethod ¶
func (x *HashType) GetMethod() HashType_HashMethod
func (*HashType) ProtoMessage ¶
func (*HashType) ProtoMessage()
func (*HashType) ProtoReflect ¶
func (x *HashType) ProtoReflect() protoreflect.Message
type HashType_HashMethod ¶
type HashType_HashMethod int32
const ( HashType_UNSPECIFIED HashType_HashMethod = 0 HashType_SHA256 HashType_HashMethod = 1 HashType_SHA512 HashType_HashMethod = 2 HashType_MD5 HashType_HashMethod = 3 )
func (HashType_HashMethod) Descriptor ¶
func (HashType_HashMethod) Descriptor() protoreflect.EnumDescriptor
func (HashType_HashMethod) Enum ¶
func (x HashType_HashMethod) Enum() *HashType_HashMethod
func (HashType_HashMethod) EnumDescriptor
deprecated
func (HashType_HashMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use HashType_HashMethod.Descriptor instead.
func (HashType_HashMethod) Number ¶
func (x HashType_HashMethod) Number() protoreflect.EnumNumber
func (HashType_HashMethod) String ¶
func (x HashType_HashMethod) String() string
func (HashType_HashMethod) Type ¶
func (HashType_HashMethod) Type() protoreflect.EnumType
type L3Protocol ¶
type L3Protocol int32
const ( L3Protocol_UNSPECIFIED L3Protocol = 0 L3Protocol_IPV4 L3Protocol = 1 L3Protocol_IPV6 L3Protocol = 2 )
func (L3Protocol) Descriptor ¶
func (L3Protocol) Descriptor() protoreflect.EnumDescriptor
func (L3Protocol) Enum ¶
func (x L3Protocol) Enum() *L3Protocol
func (L3Protocol) EnumDescriptor
deprecated
func (L3Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use L3Protocol.Descriptor instead.
func (L3Protocol) Number ¶
func (x L3Protocol) Number() protoreflect.EnumNumber
func (L3Protocol) String ¶
func (x L3Protocol) String() string
func (L3Protocol) Type ¶
func (L3Protocol) Type() protoreflect.EnumType
type Path ¶
type Path struct {
Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
Elem []*PathElem `protobuf:"bytes,3,rep,name=elem,proto3" json:"elem,omitempty"`
// contains filtered or unexported fields
}
func (*Path) Descriptor
deprecated
func (*Path) ProtoMessage ¶
func (*Path) ProtoMessage()
func (*Path) ProtoReflect ¶
func (x *Path) ProtoReflect() protoreflect.Message
type PathElem ¶
type PathElem struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Key map[string]string `` /* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*PathElem) Descriptor
deprecated
func (*PathElem) ProtoMessage ¶
func (*PathElem) ProtoMessage()
func (*PathElem) ProtoReflect ¶
func (x *PathElem) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.