Documentation ¶
Index ¶
- Constants
- func Service(credentials *settings.Credentials) settings.CRUDService[*groups.GroupConfig]
- type ServiceClient
- func (cs *ServiceClient) Create(groupConfig *groups.GroupConfig) (*api.Stub, error)
- func (cs *ServiceClient) Delete(id string) error
- func (cs *ServiceClient) Get(id string, v *groups.GroupConfig) error
- func (cs *ServiceClient) List() (api.Stubs, error)
- func (cs *ServiceClient) SchemaID() string
- func (cs *ServiceClient) Update(groupConfig *groups.GroupConfig) error
Constants ¶
View Source
const SchemaID = "accounts:groups"
Variables ¶
This section is empty.
Functions ¶
func Service ¶ added in v1.51.0
func Service(credentials *settings.Credentials) settings.CRUDService[*groups.GroupConfig]
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://#######.live.dynatrace.com/api/config/v1" token is an API Token
func (*ServiceClient) Create ¶
func (cs *ServiceClient) Create(groupConfig *groups.GroupConfig) (*api.Stub, error)
Create TODO: documentation
func (*ServiceClient) Delete ¶
func (cs *ServiceClient) Delete(id string) error
Delete TODO: documentation
func (*ServiceClient) Get ¶
func (cs *ServiceClient) Get(id string, v *groups.GroupConfig) error
Get TODO: documentation
func (*ServiceClient) List ¶ added in v1.51.0
func (cs *ServiceClient) List() (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(groupConfig *groups.GroupConfig) error
Update TODO: documentation
Click to show internal directories.
Click to hide internal directories.