mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
23 lines
487 B
Go
23 lines
487 B
Go
package dto
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
type TaintResponse struct {
|
|
ID uuid.UUID `json:"id"`
|
|
Key string `json:"key"`
|
|
Value string `json:"value"`
|
|
Effect string `json:"effect"`
|
|
}
|
|
|
|
type CreateTaintRequest struct {
|
|
Key string `json:"key"`
|
|
Value string `json:"value"`
|
|
Effect string `json:"effect"`
|
|
}
|
|
|
|
type UpdateTaintRequest struct {
|
|
Key *string `json:"key,omitempty"`
|
|
Value *string `json:"value,omitempty"`
|
|
Effect *string `json:"effect,omitempty"`
|
|
}
|