Documentation ¶
Index ¶
- Variables
- type RemoteDownload
- func (*RemoteDownload) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteDownload) GetCredentials() *types.Credentials
- func (x *RemoteDownload) GetPath() string
- func (x *RemoteDownload) GetProtocol() RemoteDownload_Protocol
- func (x *RemoteDownload) GetSourceAddress() string
- func (x *RemoteDownload) GetSourceVrf() string
- func (*RemoteDownload) ProtoMessage()
- func (x *RemoteDownload) ProtoReflect() protoreflect.Message
- func (x *RemoteDownload) Reset()
- func (x *RemoteDownload) String() string
- type RemoteDownload_Protocol
- func (RemoteDownload_Protocol) Descriptor() protoreflect.EnumDescriptor
- func (x RemoteDownload_Protocol) Enum() *RemoteDownload_Protocol
- func (RemoteDownload_Protocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x RemoteDownload_Protocol) Number() protoreflect.EnumNumber
- func (x RemoteDownload_Protocol) String() string
- func (RemoteDownload_Protocol) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RemoteDownload_Protocol_name = map[int32]string{ 0: "UNKNOWN", 1: "SFTP", 2: "HTTP", 3: "HTTPS", 4: "SCP", } RemoteDownload_Protocol_value = map[string]int32{ "UNKNOWN": 0, "SFTP": 1, "HTTP": 2, "HTTPS": 3, "SCP": 4, } )
Enum value maps for RemoteDownload_Protocol.
View Source
var File_common_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RemoteDownload ¶
type RemoteDownload struct { // The path information containing where to download the data from or to. // For HTTP(S), this will be the URL (i.e. foo.com/file.tbz2). // For SFTP and SCP, this will be the address:/path/to/file // (i.e. host.foo.com:/bar/baz). Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Protocol RemoteDownload_Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=gnoi.common.RemoteDownload_Protocol" json:"protocol,omitempty"` Credentials *types.Credentials `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"` // Optional source address used to initiate connections from the device. // It can be either an IPv4 address or an IPv6 address, depending on the // connection's destination address. SourceAddress string `protobuf:"bytes,4,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"` // Optional source vrf used to initiate connections from the device. SourceVrf string `protobuf:"bytes,5,opt,name=source_vrf,json=sourceVrf,proto3" json:"source_vrf,omitempty"` // contains filtered or unexported fields }
RemoteDownload defines the details for a device to initiate a file transfer from or to a remote location.
func (*RemoteDownload) Descriptor
deprecated
func (*RemoteDownload) Descriptor() ([]byte, []int)
Deprecated: Use RemoteDownload.ProtoReflect.Descriptor instead.
func (*RemoteDownload) GetCredentials ¶
func (x *RemoteDownload) GetCredentials() *types.Credentials
func (*RemoteDownload) GetPath ¶
func (x *RemoteDownload) GetPath() string
func (*RemoteDownload) GetProtocol ¶
func (x *RemoteDownload) GetProtocol() RemoteDownload_Protocol
func (*RemoteDownload) GetSourceAddress ¶
func (x *RemoteDownload) GetSourceAddress() string
func (*RemoteDownload) GetSourceVrf ¶ added in v0.2.0
func (x *RemoteDownload) GetSourceVrf() string
func (*RemoteDownload) ProtoMessage ¶
func (*RemoteDownload) ProtoMessage()
func (*RemoteDownload) ProtoReflect ¶
func (x *RemoteDownload) ProtoReflect() protoreflect.Message
func (*RemoteDownload) Reset ¶
func (x *RemoteDownload) Reset()
func (*RemoteDownload) String ¶
func (x *RemoteDownload) String() string
type RemoteDownload_Protocol ¶
type RemoteDownload_Protocol int32
const ( RemoteDownload_UNKNOWN RemoteDownload_Protocol = 0 RemoteDownload_SFTP RemoteDownload_Protocol = 1 RemoteDownload_HTTP RemoteDownload_Protocol = 2 RemoteDownload_HTTPS RemoteDownload_Protocol = 3 RemoteDownload_SCP RemoteDownload_Protocol = 4 )
func (RemoteDownload_Protocol) Descriptor ¶
func (RemoteDownload_Protocol) Descriptor() protoreflect.EnumDescriptor
func (RemoteDownload_Protocol) Enum ¶
func (x RemoteDownload_Protocol) Enum() *RemoteDownload_Protocol
func (RemoteDownload_Protocol) EnumDescriptor
deprecated
func (RemoteDownload_Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoteDownload_Protocol.Descriptor instead.
func (RemoteDownload_Protocol) Number ¶
func (x RemoteDownload_Protocol) Number() protoreflect.EnumNumber
func (RemoteDownload_Protocol) String ¶
func (x RemoteDownload_Protocol) String() string
func (RemoteDownload_Protocol) Type ¶
func (RemoteDownload_Protocol) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.