Documentation ¶
Index ¶
- type ServiceClient
- func (cs *ServiceClient) Create(ctx context.Context, config *preferences.Settings) error
- func (cs *ServiceClient) Delete(config *preferences.Settings) error
- func (cs *ServiceClient) Get(ctx context.Context) (*preferences.Settings, error)
- func (cs *ServiceClient) Update(ctx context.Context, config *preferences.Settings) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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, config *preferences.Settings) error
Create TODO: documentation
func (*ServiceClient) Delete ¶
func (cs *ServiceClient) Delete(config *preferences.Settings) error
Delete TODO: documentation
func (*ServiceClient) Get ¶
func (cs *ServiceClient) Get(ctx context.Context) (*preferences.Settings, error)
Get TODO: documentation
func (*ServiceClient) Update ¶
func (cs *ServiceClient) Update(ctx context.Context, config *preferences.Settings) error
Update TODO: documentation
Click to show internal directories.
Click to hide internal directories.