plans

package
v0.0.0-...-5abfebf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRoutesFactory

func NewRoutesFactory() func(group *gin.RouterGroup)

NewRoutesFactory creates and returns a factory to create routes

Types

type PlanResponseDto

type PlanResponseDto struct {
	ID        int        `json:"id"`
	Name      string     `json:"name"`
	Type      plan.Type  `json:"type"`
	State     plan.State `json:"state"`
	Schedule  string     `json:"schedule"`
	ModuleID  int        `json:"module_id"`
	CreatedBy string     `json:"created_by"`
	UpdatedBy string     `json:"updated_by"`
	CreatedAt time.Time  `json:"created_at"`
	UpdatedAt time.Time  `json:"updated_at"`
}

type PlanResponsesDto

type PlanResponsesDto struct {
	Data []PlanResponseDto `json:"data"`
}

type PlanVariableResponseDto

type PlanVariableResponseDto struct {
	ID        int                   `json:"id"`
	Key       string                `json:"key"`
	Value     string                `json:"value"`
	Category  planVariable.Category `json:"category"`
	Sensitive bool                  `json:"sensitive"`
}

type VariableResponsesDto

type VariableResponsesDto struct {
	Data []PlanVariableResponseDto `json:"data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL