rpctestutil

package
v0.13.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 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
	UserEditCall         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) UserEdit added in v0.11.0

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

type UserClient added in v0.8.0

type UserClient struct{}

func NewUserClient added in v0.8.0

func NewUserClient() *UserClient

func (*UserClient) GetBackends added in v0.13.0

Jump to

Keyboard shortcuts

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