Documentation
¶
Index ¶
- type RunTask
- type Service
- type ServiceOp
- func (s *ServiceOp) CreateRunTask(ctx context.Context, input *RunTask) (*RunTask, error)
- func (s *ServiceOp) DeleteRunTask(ctx context.Context, runTaskId string) (*commons.EmptyResponse, error)
- func (s *ServiceOp) ListRunTasks(ctx context.Context, runTaskId *string, runTaskName *string) ([]*RunTask, error)
- func (s *ServiceOp) ReadRunTask(ctx context.Context, runTaskId string) (*RunTask, error)
- func (s *ServiceOp) UpdateRunTask(ctx context.Context, runTaskId string, input *RunTask) (*RunTask, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunTask ¶
type RunTask struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Url *string `json:"url,omitempty"`
IsEnabled *bool `json:"isEnabled,omitempty"`
HmacKey *string `json:"hmacKey,omitempty"`
IsHmacKeyConfigured *bool `json:"isHmacKeyConfigured,omitempty"`
// contains filtered or unexported fields
}
func (RunTask) MarshalJSON ¶
func (*RunTask) SetHmacKey ¶
func (*RunTask) SetIsEnabled ¶
type Service ¶
type Service interface {
CreateRunTask(context.Context, *RunTask) (*RunTask, error)
ListRunTasks(context.Context, *string, *string) ([]*RunTask, error)
ReadRunTask(context.Context, string) (*RunTask, error)
UpdateRunTask(context.Context, string, *RunTask) (*RunTask, error)
DeleteRunTask(context.Context, string) (*commons.EmptyResponse, error)
}
Service provides the API operation methods for making requests to endpoints of the ControlMonkey API. See this package's package overview docs for details on the service.
type ServiceOp ¶
func (*ServiceOp) CreateRunTask ¶
func (*ServiceOp) DeleteRunTask ¶
func (*ServiceOp) ListRunTasks ¶
func (*ServiceOp) ReadRunTask ¶
Click to show internal directories.
Click to hide internal directories.