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