pool

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 24 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppAuthProviderServiceClient added in v0.0.2

func GetAppAuthProviderServiceClient(opts ...Option) (applicationauth.ApplicationsAPIClient, error)

GetAppAuthProviderServiceClient returns a new AppAuthProviderServiceClient.

func GetAppProviderClient

func GetAppProviderClient(opts ...Option) (appprovider.ProviderAPIClient, error)

GetAppProviderClient returns a new AppRegistryClient.

func GetAppRegistryClient

func GetAppRegistryClient(opts ...Option) (appregistry.RegistryAPIClient, error)

GetAppRegistryClient returns a new AppRegistryClient.

func GetAuthProviderServiceClient

func GetAuthProviderServiceClient(opts ...Option) (authprovider.ProviderAPIClient, error)

GetAuthProviderServiceClient returns a new AuthProviderServiceClient.

func GetAuthRegistryServiceClient

func GetAuthRegistryServiceClient(opts ...Option) (authregistry.RegistryAPIClient, error)

GetAuthRegistryServiceClient returns a new AuthRegistryServiceClient.

func GetDataTxClient added in v0.0.2

func GetDataTxClient(opts ...Option) (datatx.TxAPIClient, error)

GetDataTxClient returns a new DataTxClient.

func GetGatewayServiceClient

func GetGatewayServiceClient(opts ...Option) (gateway.GatewayAPIClient, error)

GetGatewayServiceClient returns a GatewayServiceClient.

func GetGroupProviderServiceClient added in v0.0.2

func GetGroupProviderServiceClient(opts ...Option) (group.GroupAPIClient, error)

GetGroupProviderServiceClient returns a GroupProviderServiceClient.

func GetOCMCoreClient added in v0.0.2

func GetOCMCoreClient(opts ...Option) (ocmcore.OcmCoreAPIClient, error)

GetOCMCoreClient returns a new OCMCoreClient.

func GetOCMInviteManagerClient added in v0.0.2

func GetOCMInviteManagerClient(opts ...Option) (invitepb.InviteAPIClient, error)

GetOCMInviteManagerClient returns a new OCMInviteManagerClient.

func GetOCMProviderAuthorizerClient added in v0.0.2

func GetOCMProviderAuthorizerClient(opts ...Option) (ocmprovider.ProviderAPIClient, error)

GetOCMProviderAuthorizerClient returns a new OCMProviderAuthorizerClient.

func GetOCMShareProviderClient

func GetOCMShareProviderClient(opts ...Option) (ocm.OcmAPIClient, error)

GetOCMShareProviderClient returns a new OCMShareProviderClient.

func GetPermissionsClient added in v0.0.2

func GetPermissionsClient(opts ...Option) (permissions.PermissionsAPIClient, error)

GetPermissionsClient returns a new PermissionsClient.

func GetPreferencesClient

func GetPreferencesClient(opts ...Option) (preferences.PreferencesAPIClient, error)

GetPreferencesClient returns a new PreferencesClient.

func GetPublicShareProviderClient

func GetPublicShareProviderClient(opts ...Option) (link.LinkAPIClient, error)

GetPublicShareProviderClient returns a new PublicShareProviderClient.

func GetStorageProviderServiceClient

func GetStorageProviderServiceClient(opts ...Option) (storageprovider.ProviderAPIClient, error)

GetStorageProviderServiceClient returns a StorageProviderServiceClient.

func GetStorageRegistryClient

func GetStorageRegistryClient(opts ...Option) (storageregistry.RegistryAPIClient, error)

GetStorageRegistryClient returns a new StorageRegistryClient.

func GetUserProviderServiceClient

func GetUserProviderServiceClient(opts ...Option) (user.UserAPIClient, error)

GetUserProviderServiceClient returns a UserProviderServiceClient.

func GetUserShareProviderClient

func GetUserShareProviderClient(opts ...Option) (collaboration.CollaborationAPIClient, error)

GetUserShareProviderClient returns a new UserShareProviderClient.

func NewConn

func NewConn(options Options) (*grpc.ClientConn, error)

NewConn creates a new connection to a grpc server with open census tracing support. TODO(labkode): make grpc tls configurable.

Types

type Option added in v0.0.2

type Option func(o *Options)

Option defines a single option function.

func Endpoint added in v0.0.2

func Endpoint(val string) Option

Endpoint provides a function to set the endpoint option.

func MaxCallRecvMsgSize added in v0.0.2

func MaxCallRecvMsgSize(size int) Option

MaxCallRecvMsgSize provides a function to set the MaxCallRecvMsgSize option.

type Options added in v0.0.2

type Options struct {
	Endpoint           string
	MaxCallRecvMsgSize int
}

Options defines the available options for this package.

Jump to

Keyboard shortcuts

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