users

package
v1.59.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const SchemaID = "accounts:users"

Variables

This section is empty.

Functions

func Service added in v1.51.0

func Service(credentials *settings.Credentials) settings.CRUDService[*users.UserConfig]

Types

type ServiceClient

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

ServiceClient TODO: documentation

func NewService

func NewService(baseURL string, token string) *ServiceClient

NewService creates a new Service Client baseURL should look like this: "https://siz65484.live.dynatrace.com/api/config/v1" token is an API Token

func (*ServiceClient) Create

func (cs *ServiceClient) Create(ctx context.Context, userConfig *users.UserConfig) (*api.Stub, error)

Create TODO: documentation

func (*ServiceClient) Delete

func (cs *ServiceClient) Delete(ctx context.Context, id string) error

Delete TODO: documentation

func (*ServiceClient) Get

func (cs *ServiceClient) Get(ctx context.Context, id string, v *users.UserConfig) error

Get TODO: documentation

func (*ServiceClient) List added in v1.51.0

func (cs *ServiceClient) List(ctx context.Context) (api.Stubs, error)

ListAll TODO: documentation

func (*ServiceClient) SchemaID added in v1.51.0

func (cs *ServiceClient) SchemaID() string

func (*ServiceClient) Update

func (cs *ServiceClient) Update(ctx context.Context, userConfig *users.UserConfig) error

Update TODO: documentation

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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