tenant

package
v0.8.13 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 15 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {

	// Account provides methods for managing a customer account.
	Account account.AccountClient

	// Connections provides methods to create and manage connections.
	Connections connection.ConnectionClient

	// Onboarding provides methods to create tenants and invite users.
	Onboarding onboarding.OnboardingClient

	// Policy provides methods for creating, listing, and deleting policy references.
	Policy policy.PolicyClient

	// PolicyBuilder provides methods for creating and managing policy builders.
	PolicyBuilder policy_builder.PolicyBuilderClient

	// Profile provides methods for managing user invitations.
	Profile profile.ProfileClient

	// Provider provides methods for viewing the providers available to create connections.
	Provider provider.ProviderClient

	// Registry provides methods for managing registry repositories.
	Registry registry.RegistryClient

	// SCC provides methods for interacting with a tenant's configured source-control repositories.
	SCC scc.SourceCodeCtlClient

	// Info provides methods for retrieving system information and configuration.
	Info info.InfoClient

	// V2Policy provides methods for for creating and managing policies
	V2Policy v2.PolicyClient

	// V2Repository provides methods for for creating and managing policy's repositories
	V2Repository v2.RepositoryClient

	// V2Source provides methods for for creating and managing policy's sources
	V2Source v2.SourceClient

	// V2Instance provides methods for for creating and managing policy's instances
	V2Instance v2.InstanceClient

	// V2Tenant provides methods for for creating and managing tenant instances
	V2Tenant v2.TenantClient
	// contains filtered or unexported fields
}

Client provides access to the Aserto control plane services.

func New

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

New creates a tenant Client with the specified connection options.

func (*Client) Connection

func (c *Client) Connection() grpc.ClientConnInterface

Connection returns the underlying grpc connection.

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