dirk

package
v0.0.0-...-6fc3e8c Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DenyingListerServer

type DenyingListerServer struct {
	pb.UnimplementedListerServer
}

DenyingListerServer is a mock lister server that returns denials.

func (*DenyingListerServer) ListAccounts

ListAccounts returns an error.

type ErroringListerServer

type ErroringListerServer struct {
	pb.UnimplementedListerServer
}

ErroringListerServer is a mock lister server that returns errors.

func (*ErroringListerServer) ListAccounts

ListAccounts returns an error.

type ErroringService

type ErroringService struct {
}

ErroringService is a mock service that returns errors.

func (*ErroringService) Sign

Sign returns an error.

func (*ErroringService) SignBeaconAttestation

func (s *ErroringService) SignBeaconAttestation(ctx context.Context, in *pb.SignBeaconAttestationRequest) (*pb.SignResponse, error)

SignBeaconAttestation returns an error.

func (*ErroringService) SignBeaconAttestations

func (s *ErroringService) SignBeaconAttestations(ctx context.Context, in *pb.SignBeaconAttestationsRequest) (*pb.MultisignResponse, error)

SignBeaconAttestations returns an error.

func (*ErroringService) SignBeaconProposal

func (s *ErroringService) SignBeaconProposal(ctx context.Context, in *pb.SignBeaconProposalRequest) (*pb.SignResponse, error)

SignBeaconProposal returns an error.

type MockListerServer

type MockListerServer struct {
	pb.UnimplementedListerServer
}

MockListerServer is a mock lister server that returns static accounts.

func (*MockListerServer) ListAccounts

ListAccounts returns static accounts.

Jump to

Keyboard shortcuts

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