tenant

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Account     account.AccountClient
	Connections connection.ConnectionClient
	Onboarding  onboarding.OnboardingClient
	Policy      policy.PolicyClient
	Profile     profile.ProfileClient
	Provider    provider.ProviderClient
	SCC         scc.SourceCodeCtlClient
	Info        info.InfoClient
	// contains filtered or unexported fields
}

Client tenant gRPC connection.

func New

func New(ctx context.Context, opts ...client.ConnectionOption) (*Client, error)

New creates a tenant Client with the specified connection options.

func (*Client) SetTenantID

func (c *Client) SetTenantID(tenantID string)

SetTenantID provides a tenantID to be included in outgoing messages.

Jump to

Keyboard shortcuts

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