rpctestutil

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminClient

type AdminClient struct {
	sync.Mutex

	PingCall             int
	UserListCall         int
	UserAddCall          int
	UserDelCall          int
	UserGetCall          int
	BecomeMaintainerCall int
	ToggleAdminCall      int
	TokenNewCall         int
	RoleListCall         int
	BackendListCall      int
}

func NewAdminClient

func NewAdminClient() *AdminClient

func (*AdminClient) BackendList

func (*AdminClient) BecomeMaintainer

func (*AdminClient) Ping

func (a *AdminClient) Ping(ctx context.Context, in *rpc.RequestPing, opts ...grpc.CallOption) (*rpc.ResponsePong, error)

func (*AdminClient) RoleList

func (*AdminClient) ToggleAdmin

func (*AdminClient) TokenNew

func (*AdminClient) UserAdd

func (*AdminClient) UserDel

func (*AdminClient) UserGet

func (*AdminClient) UserList

type CertificateAuthorityClient

type CertificateAuthorityClient struct {
	sync.Mutex

	GetSignedListCall    int
	NewClientCertCall    int
	NewServerCertCall    int
	RevokeCall           int
	GetCall              int
	GetRevokedListCall   int
	WatchRevokedListCall int
}

func NewCertificateAuthorityClient

func NewCertificateAuthorityClient() *CertificateAuthorityClient

func (*CertificateAuthorityClient) Get

func (*CertificateAuthorityClient) GetRevokedList

func (*CertificateAuthorityClient) GetSignedList

func (*CertificateAuthorityClient) NewClientCert

func (*CertificateAuthorityClient) NewServerCert

func (*CertificateAuthorityClient) Revoke

type ClusterClient

type ClusterClient struct {
	sync.Mutex

	MemberListCall int
	MemberStatCall int
	AgentListCall  int
}

func NewClusterClient

func NewClusterClient() *ClusterClient

func (*ClusterClient) AgentList

func (*ClusterClient) MemberList

func (*ClusterClient) MemberStat

Jump to

Keyboard shortcuts

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