tape

package
v0.0.0-...-683b059 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package tape provides the TapeService

Index

Constants

This section is empty.

Variables

Functions

func RegisterTapeServiceServer

func RegisterTapeServiceServer(s *grpc.Server, srv TapeServiceServer)

Types

type RemoveGenericAccountInfoRequest

type RemoveGenericAccountInfoRequest struct {

	// The location that the saved variables are stored at on the DUT.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

RemoveGenericAccountInfoRequest stores request parameters required to remove generic account information from a DUT.

func (*RemoveGenericAccountInfoRequest) Descriptor deprecated

func (*RemoveGenericAccountInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveGenericAccountInfoRequest.ProtoReflect.Descriptor instead.

func (*RemoveGenericAccountInfoRequest) GetPath

func (*RemoveGenericAccountInfoRequest) ProtoMessage

func (*RemoveGenericAccountInfoRequest) ProtoMessage()

func (*RemoveGenericAccountInfoRequest) ProtoReflect

func (*RemoveGenericAccountInfoRequest) Reset

func (*RemoveGenericAccountInfoRequest) String

type SaveGenericAccountInfoToFileRequest

type SaveGenericAccountInfoToFileRequest struct {

	// The location that the variables should be written to on the DUT.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// The username of the leased account.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

SaveGenericAccountInfoToFileRequest stores request parameters to save a generic account to a DUT.

func (*SaveGenericAccountInfoToFileRequest) Descriptor deprecated

func (*SaveGenericAccountInfoToFileRequest) Descriptor() ([]byte, []int)

Deprecated: Use SaveGenericAccountInfoToFileRequest.ProtoReflect.Descriptor instead.

func (*SaveGenericAccountInfoToFileRequest) GetPath

func (*SaveGenericAccountInfoToFileRequest) GetUsername

func (*SaveGenericAccountInfoToFileRequest) ProtoMessage

func (*SaveGenericAccountInfoToFileRequest) ProtoMessage()

func (*SaveGenericAccountInfoToFileRequest) ProtoReflect

func (*SaveGenericAccountInfoToFileRequest) Reset

func (*SaveGenericAccountInfoToFileRequest) String

type TapeServiceClient

type TapeServiceClient interface {
	// Saves credentials about a generic account to a location on the DUT.
	SaveGenericAccountInfoToFile(ctx context.Context, in *SaveGenericAccountInfoToFileRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Removes credentials about a generic account from a location on the DUT.
	RemoveGenericAccountInfo(ctx context.Context, in *RemoveGenericAccountInfoRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

TapeServiceClient is the client API for TapeService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type TapeServiceServer

type TapeServiceServer interface {
	// Saves credentials about a generic account to a location on the DUT.
	SaveGenericAccountInfoToFile(context.Context, *SaveGenericAccountInfoToFileRequest) (*empty.Empty, error)
	// Removes credentials about a generic account from a location on the DUT.
	RemoveGenericAccountInfo(context.Context, *RemoveGenericAccountInfoRequest) (*empty.Empty, error)
}

TapeServiceServer is the server API for TapeService service.

type UnimplementedTapeServiceServer

type UnimplementedTapeServiceServer struct {
}

UnimplementedTapeServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTapeServiceServer) RemoveGenericAccountInfo

func (*UnimplementedTapeServiceServer) SaveGenericAccountInfoToFile

Jump to

Keyboard shortcuts

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