Documentation
¶
Index ¶
- Constants
- func NewTokenProvider(authEndpoint string, authClientId string, authClientSecret string) func() (string, error)
- func NewUserTokenProvider(authEndpoint string, authClientId string, authClientSecret string, ...) func() (string, error)
- type Client
- type ClientImpl
- func (this *ClientImpl) CreateIncident(token string, incident messages.Incident) (err error, code int)
- func (this *ClientImpl) DeleteIncidentByProcessDefinitionId(token string, id string) (err error, code int)
- func (this *ClientImpl) DeleteIncidentByProcessInstanceId(token string, id string) (err error, code int)
- func (this *ClientImpl) FindIncidents(token string, externalTaskId string, processDefinitionId string, ...) (incidents []messages.IncidentMessage, err error, code int)
- func (this *ClientImpl) GetIncident(token string, id string) (incident messages.IncidentMessage, err error, errCode int)
- func (this *ClientImpl) SetOnIncidentHandler(token string, incident messages.OnIncident) (err error, code int)
- type IncidentMessage
- type OnIncident
- type OpenidToken
Constants ¶
View Source
const InternalAdminToken = `` /* 727-byte string literal not displayed */
InternalAdminToken is expired and invalid. but because this service does not validate the received tokens, it may be used by trusted internal services which are within the same network (kubernetes cluster). requests with this token may not be routed over an ingres with token validation
Variables ¶
This section is empty.
Functions ¶
func NewTokenProvider ¶
Types ¶
type Client ¶
type Client interface {
interfaces.Controller
}
type ClientImpl ¶
type ClientImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(serverUrl string) (client *ClientImpl)
func (*ClientImpl) CreateIncident ¶
func (*ClientImpl) DeleteIncidentByProcessDefinitionId ¶
func (this *ClientImpl) DeleteIncidentByProcessDefinitionId(token string, id string) (err error, code int)
func (*ClientImpl) DeleteIncidentByProcessInstanceId ¶
func (this *ClientImpl) DeleteIncidentByProcessInstanceId(token string, id string) (err error, code int)
func (*ClientImpl) FindIncidents ¶
func (*ClientImpl) GetIncident ¶
func (this *ClientImpl) GetIncident(token string, id string) (incident messages.IncidentMessage, err error, errCode int)
func (*ClientImpl) SetOnIncidentHandler ¶
func (this *ClientImpl) SetOnIncidentHandler(token string, incident messages.OnIncident) (err error, code int)
type IncidentMessage ¶
type IncidentMessage = messages.IncidentMessage
type OnIncident ¶
type OnIncident = messages.OnIncident
Click to show internal directories.
Click to hide internal directories.