connectors

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Connectors in StackGuardian act as a secure bridge, integrating your cloud infrastructure with essential services like version control, cloud service providers, and secret management vaults.

For more details on Connectors, visit our [Documentation](https://docs.stackguardian.io/docs/connectors/overview/).

For creation of Cloud connector groups please refer to [this page](https://docs.stackguardian.io/docs/connectors/csp/aws/#group-connector).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opts ...option.RequestOption) *Client

func (*Client) CreateConnector

func (c *Client) CreateConnector(
	ctx context.Context,
	org string,
	request *sgsdkgo.Integration,
	opts ...option.RequestOption,
) (*sgsdkgo.IntegrationCreateResponse, error)

Create a new Connector inside an Organization.

func (*Client) DeleteConnector

func (c *Client) DeleteConnector(
	ctx context.Context,
	integration string,
	org string,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedConnectorDeleteResponse, error)

Delete an existing Connector inside an Organization.

func (*Client) ListAllConnectors added in v1.1.0

List all Connectors inside an Organization.

func (*Client) ReadConnector

func (c *Client) ReadConnector(
	ctx context.Context,
	integration string,
	org string,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedConnectorReadResponse, error)

Read an existing Connector inside an Organization.

func (*Client) UpdateConnector

func (c *Client) UpdateConnector(
	ctx context.Context,
	integration string,
	org string,
	request *sgsdkgo.PatchedIntegration,
	opts ...option.RequestOption,
) (*sgsdkgo.IntegrationUpdateResponse, error)

Update an existing Connector inside an Organization.

Jump to

Keyboard shortcuts

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