Documentation ¶
Index ¶
- func GetAppAuthProviderServiceClient(endpoint string, opts ...Option) (applicationauth.ApplicationsAPIClient, error)
- func GetAppProviderClient(endpoint string, opts ...Option) (appprovider.ProviderAPIClient, error)
- func GetAppRegistryClient(endpoint string, opts ...Option) (appregistry.RegistryAPIClient, error)
- func GetAuthProviderServiceClient(endpoint string, opts ...Option) (authprovider.ProviderAPIClient, error)
- func GetAuthRegistryServiceClient(endpoint string, opts ...Option) (authregistry.RegistryAPIClient, error)
- func GetDataTxClient(endpoint string, opts ...Option) (datatx.TxAPIClient, error)
- func GetGatewayServiceClient(endpoint string, opts ...Option) (gateway.GatewayAPIClient, error)
- func GetGroupProviderServiceClient(endpoint string, opts ...Option) (group.GroupAPIClient, error)
- func GetOCMCoreClient(endpoint string, opts ...Option) (ocmcore.OcmCoreAPIClient, error)
- func GetOCMInviteManagerClient(endpoint string, opts ...Option) (invitepb.InviteAPIClient, error)
- func GetOCMProviderAuthorizerClient(endpoint string, opts ...Option) (ocmprovider.ProviderAPIClient, error)
- func GetOCMShareProviderClient(endpoint string, opts ...Option) (ocm.OcmAPIClient, error)
- func GetPermissionsClient(endpoint string, opts ...Option) (permissions.PermissionsAPIClient, error)
- func GetPreferencesClient(endpoint string, opts ...Option) (preferences.PreferencesAPIClient, error)
- func GetPublicShareProviderClient(endpoint string, opts ...Option) (link.LinkAPIClient, error)
- func GetStorageProviderServiceClient(endpoint string, opts ...Option) (storageprovider.ProviderAPIClient, error)
- func GetStorageRegistryClient(endpoint string, opts ...Option) (storageregistry.RegistryAPIClient, error)
- func GetUserProviderServiceClient(endpoint string, opts ...Option) (user.UserAPIClient, error)
- func GetUserShareProviderClient(endpoint string, opts ...Option) (collaboration.CollaborationAPIClient, error)
- func NewConn(endpoint string, opts ...Option) (*grpc.ClientConn, error)
- type ClientOptions
- type Option
- type TLSMode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppAuthProviderServiceClient ¶
func GetAppAuthProviderServiceClient(endpoint string, opts ...Option) (applicationauth.ApplicationsAPIClient, error)
GetAppAuthProviderServiceClient returns a new AppAuthProviderServiceClient.
func GetAppProviderClient ¶
func GetAppProviderClient(endpoint string, opts ...Option) (appprovider.ProviderAPIClient, error)
GetAppProviderClient returns a new AppRegistryClient.
func GetAppRegistryClient ¶
func GetAppRegistryClient(endpoint string, opts ...Option) (appregistry.RegistryAPIClient, error)
GetAppRegistryClient returns a new AppRegistryClient.
func GetAuthProviderServiceClient ¶
func GetAuthProviderServiceClient(endpoint string, opts ...Option) (authprovider.ProviderAPIClient, error)
GetAuthProviderServiceClient returns a new AuthProviderServiceClient.
func GetAuthRegistryServiceClient ¶
func GetAuthRegistryServiceClient(endpoint string, opts ...Option) (authregistry.RegistryAPIClient, error)
GetAuthRegistryServiceClient returns a new AuthRegistryServiceClient.
func GetDataTxClient ¶
func GetDataTxClient(endpoint string, opts ...Option) (datatx.TxAPIClient, error)
GetDataTxClient returns a new DataTxClient.
func GetGatewayServiceClient ¶
func GetGatewayServiceClient(endpoint string, opts ...Option) (gateway.GatewayAPIClient, error)
GetGatewayServiceClient returns a GatewayServiceClient.
func GetGroupProviderServiceClient ¶
func GetGroupProviderServiceClient(endpoint string, opts ...Option) (group.GroupAPIClient, error)
GetGroupProviderServiceClient returns a GroupProviderServiceClient.
func GetOCMCoreClient ¶
func GetOCMCoreClient(endpoint string, opts ...Option) (ocmcore.OcmCoreAPIClient, error)
GetOCMCoreClient returns a new OCMCoreClient.
func GetOCMInviteManagerClient ¶
func GetOCMInviteManagerClient(endpoint string, opts ...Option) (invitepb.InviteAPIClient, error)
GetOCMInviteManagerClient returns a new OCMInviteManagerClient.
func GetOCMProviderAuthorizerClient ¶
func GetOCMProviderAuthorizerClient(endpoint string, opts ...Option) (ocmprovider.ProviderAPIClient, error)
GetOCMProviderAuthorizerClient returns a new OCMProviderAuthorizerClient.
func GetOCMShareProviderClient ¶
func GetOCMShareProviderClient(endpoint string, opts ...Option) (ocm.OcmAPIClient, error)
GetOCMShareProviderClient returns a new OCMShareProviderClient.
func GetPermissionsClient ¶
func GetPermissionsClient(endpoint string, opts ...Option) (permissions.PermissionsAPIClient, error)
GetPermissionsClient returns a new PermissionsClient.
func GetPreferencesClient ¶
func GetPreferencesClient(endpoint string, opts ...Option) (preferences.PreferencesAPIClient, error)
GetPreferencesClient returns a new PreferencesClient.
func GetPublicShareProviderClient ¶
func GetPublicShareProviderClient(endpoint string, opts ...Option) (link.LinkAPIClient, error)
GetPublicShareProviderClient returns a new PublicShareProviderClient.
func GetStorageProviderServiceClient ¶
func GetStorageProviderServiceClient(endpoint string, opts ...Option) (storageprovider.ProviderAPIClient, error)
GetStorageProviderServiceClient returns a StorageProviderServiceClient.
func GetStorageRegistryClient ¶
func GetStorageRegistryClient(endpoint string, opts ...Option) (storageregistry.RegistryAPIClient, error)
GetStorageRegistryClient returns a new StorageRegistryClient.
func GetUserProviderServiceClient ¶
func GetUserProviderServiceClient(endpoint string, opts ...Option) (user.UserAPIClient, error)
GetUserProviderServiceClient returns a UserProviderServiceClient.
func GetUserShareProviderClient ¶
func GetUserShareProviderClient(endpoint string, opts ...Option) (collaboration.CollaborationAPIClient, error)
GetUserShareProviderClient returns a new UserShareProviderClient.
func NewConn ¶
func NewConn(endpoint string, opts ...Option) (*grpc.ClientConn, error)
NewConn creates a new connection to a grpc server with open census tracing support. TODO(labkode): make grpc tls configurable. TODO make maxCallRecvMsgSize configurable, raised from the default 4MB to be able to list 10k files
Types ¶
type ClientOptions ¶ added in v2.11.0
type ClientOptions struct {
// contains filtered or unexported fields
}
ClientOptions represent additional options (e.g. tls settings) for the grpc clients
type Option ¶ added in v2.11.0
type Option func(opts *ClientOptions)
Option is used to pass client options
func WithTLSCACert ¶ added in v2.11.0
WithTLSCACert allows to set the CA Certificate for grpc clients
func WithTLSMode ¶ added in v2.11.0
WithTLSMode allows to set the TLSMode option for grpc clients
type TLSMode ¶ added in v2.11.0
type TLSMode int
TLSMode represents TLS mode for the clients
func StringToTLSMode ¶ added in v2.11.0
StringToTLSMode converts the supply string into the equivalent TLSMode constant