common

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 6 Imported by: 8

Documentation

Index

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_github_com_openconfig_gnoi_common_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type RemoteDownload

type RemoteDownload struct {
	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"`
	SourceAddress string                  `protobuf:"bytes,4,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	SourceVrf     string                  `protobuf:"bytes,5,opt,name=source_vrf,json=sourceVrf,proto3" json:"source_vrf,omitempty"`
	// contains filtered or unexported fields
}

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) Enum

func (RemoteDownload_Protocol) EnumDescriptor deprecated

func (RemoteDownload_Protocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use RemoteDownload_Protocol.Descriptor instead.

func (RemoteDownload_Protocol) Number

func (RemoteDownload_Protocol) String

func (x RemoteDownload_Protocol) String() string

func (RemoteDownload_Protocol) Type

Jump to

Keyboard shortcuts

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