externalauditstorage

package
v0.0.0-...-ba35baa Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

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
}

Client is an External Audit Storage client.

func NewClient

NewClient creates a new ExternalAuditStorage client.

func (*Client) CreateDraftExternalAuditStorage

CreateDraftExternalAuditStorage creates a draft External Audit Storage resource if one does not already exist.

func (*Client) DeleteDraftExternalAuditStorage

func (c *Client) DeleteDraftExternalAuditStorage(ctx context.Context) error

DeleteDraftExternalAuditStorage removes draft External Audit Storage resource.

func (*Client) DisableClusterExternalAuditStorage

func (c *Client) DisableClusterExternalAuditStorage(ctx context.Context) error

DisableClusterExternalAuditStorage disables the External Audit Storage feature, which means default cloud audit will be used.

func (*Client) GenerateDraftExternalAuditStorage

func (c *Client) GenerateDraftExternalAuditStorage(ctx context.Context, integrationName, region string) (*externalauditstorage.ExternalAuditStorage, error)

GenerateDraftExternalAuditStorage create a new draft External Audit Storage resource with randomized resource names and upserts it as the current draft.

func (*Client) GetClusterExternalAuditStorage

func (c *Client) GetClusterExternalAuditStorage(ctx context.Context) (*externalauditstorage.ExternalAuditStorage, error)

GetClusterExternalAuditStorage gets cluster External Audit Storage.

func (*Client) GetDraftExternalAuditStorage

func (c *Client) GetDraftExternalAuditStorage(ctx context.Context) (*externalauditstorage.ExternalAuditStorage, error)

GetDraftExternalAuditStorage returns the draft External Audit Storage configuration resource.

func (*Client) PromoteToClusterExternalAuditStorage

func (c *Client) PromoteToClusterExternalAuditStorage(ctx context.Context) error

PromoteToClusterExternalAuditStorage promotes the current draft External Audit Storage configuration to be used in the cluster.

func (*Client) TestDraftExternalAuditStorageAthena

func (c *Client) TestDraftExternalAuditStorageAthena(ctx context.Context) error

TestDraftExternalAuditStorageAthena tests the configuration to the current draft athena.

func (*Client) TestDraftExternalAuditStorageBuckets

func (c *Client) TestDraftExternalAuditStorageBuckets(ctx context.Context) error

TestDraftExternalAuditStorageBuckets tests the connection to the current draft buckets.

func (*Client) TestDraftExternalAuditStorageGlue

func (c *Client) TestDraftExternalAuditStorageGlue(ctx context.Context) error

TestDraftExternalAuditStorageGlue tests the configuration to the current draft glue table and database.

func (*Client) UpsertDraftExternalAuditStorage

UpsertDraftExternalAuditStorage upserts a draft External Audit Storage resource.

Jump to

Keyboard shortcuts

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