mock

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDummyAuthMiddleware

func NewDummyAuthMiddleware() negroni.Handler

Types

type KubeConfigClient

type KubeConfigClient struct{}

func (KubeConfigClient) GetForClusterSystemSession

func (kcc KubeConfigClient) GetForClusterSystemSession(ctx context.Context, in *sentryrpcv2.GetForClusterRequest, opts ...grpc.CallOption) (*commnopbv3.HttpBody, error)

func (KubeConfigClient) GetForClusterWebSession

func (kcc KubeConfigClient) GetForClusterWebSession(ctx context.Context, in *sentryrpcv2.GetForClusterRequest, opts ...grpc.CallOption) (*commnopbv3.HttpBody, error)

func (KubeConfigClient) GetForUser

type SentryClient

func (*SentryClient) Close

func (c *SentryClient) Close() error

func (*SentryClient) Unhealthy

func (c *SentryClient) Unhealthy()

type SentryPool

type SentryPool struct{}

func (*SentryPool) Close

func (p *SentryPool) Close()

func (*SentryPool) NewClient

func (p *SentryPool) NewClient(ctx context.Context) (sentryrpcv2.SentryClient, error)

type SystemClient

func (*SystemClient) Close

func (c *SystemClient) Close() error

func (SystemClient) GetOrganization

func (kcc SystemClient) GetOrganization(ctx context.Context, in *systemv3.Organization, opts ...grpc.CallOption) (*systemv3.Organization, error)

func (SystemClient) GetPartner

func (kcc SystemClient) GetPartner(ctx context.Context, in *systemv3.Partner, opts ...grpc.CallOption) (*systemv3.Partner, error)

func (SystemClient) GetProject

func (kcc SystemClient) GetProject(ctx context.Context, in *systemv3.Project, opts ...grpc.CallOption) (*systemv3.Project, error)

func (*SystemClient) Unhealthy

func (c *SystemClient) Unhealthy()

type SystemPool

type SystemPool struct{}

func (*SystemPool) Close

func (p *SystemPool) Close()

func (*SystemPool) NewClient

func (p *SystemPool) NewClient(ctx context.Context) (systemrpc.SystemClient, error)

type UGClient

type UGClient struct {
	userrpc.UserServiceClient
}

func (*UGClient) Close

func (c *UGClient) Close() error

func (UGClient) GetUser

func (kcc UGClient) GetUser(ctx context.Context, in *userv3.User, opts ...grpc.CallOption) (*userv3.User, error)

func (*UGClient) Unhealthy

func (c *UGClient) Unhealthy()

type UGPool

type UGPool struct{}

func (*UGPool) Close

func (p *UGPool) Close()

func (*UGPool) NewClient

func (p *UGPool) NewClient(ctx context.Context) (userrpc.UGClient, error)

Jump to

Keyboard shortcuts

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