discoveryconfig

package
v0.0.0-...-3e117c3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 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 DiscoveryConfig client that conforms to the following lib/services interfaces:

  • services.DiscoveryConfigs

func NewClient

NewClient creates a new Discovery Config client.

func (*Client) CreateDiscoveryConfig

func (c *Client) CreateDiscoveryConfig(ctx context.Context, discoveryConfig *discoveryconfig.DiscoveryConfig) (*discoveryconfig.DiscoveryConfig, error)

CreateDiscoveryConfig creates the DiscoveryConfig.

func (*Client) DeleteAllDiscoveryConfigs

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

DeleteAllDiscoveryConfigs removes all DiscoveryConfigs.

func (*Client) DeleteDiscoveryConfig

func (c *Client) DeleteDiscoveryConfig(ctx context.Context, name string) error

DeleteDiscoveryConfig removes the specified DiscoveryConfig resource.

func (*Client) GetDiscoveryConfig

func (c *Client) GetDiscoveryConfig(ctx context.Context, name string) (*discoveryconfig.DiscoveryConfig, error)

GetDiscoveryConfig returns the specified DiscoveryConfig resource.

func (*Client) ListDiscoveryConfigs

func (c *Client) ListDiscoveryConfigs(ctx context.Context, pageSize int, nextToken string) ([]*discoveryconfig.DiscoveryConfig, string, error)

ListDiscoveryConfigs returns a paginated list of DiscoveryConfigs.

func (*Client) UpdateDiscoveryConfig

func (c *Client) UpdateDiscoveryConfig(ctx context.Context, discoveryConfig *discoveryconfig.DiscoveryConfig) (*discoveryconfig.DiscoveryConfig, error)

UpdateDiscoveryConfig updates the DiscoveryConfig.

func (*Client) UpdateDiscoveryConfigStatus

func (c *Client) UpdateDiscoveryConfigStatus(ctx context.Context, name string, status discoveryconfig.Status) (*discoveryconfig.DiscoveryConfig, error)

UpdateDiscoveryConfigStatus updates the DiscoveryConfig Status field.

func (*Client) UpsertDiscoveryConfig

func (c *Client) UpsertDiscoveryConfig(ctx context.Context, discoveryConfig *discoveryconfig.DiscoveryConfig) (*discoveryconfig.DiscoveryConfig, error)

UpsertDiscoveryConfig creates or updates a DiscoveryConfig.

Jump to

Keyboard shortcuts

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