project_version_deployment

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProjectVersionDeploymentSliceToJSON

func ProjectVersionDeploymentSliceToJSON(e []ProjectVersionDeployment) json.RawMessage

func ProjectVersionDeploymentToJSON

func ProjectVersionDeploymentToJSON(e ProjectVersionDeployment) json.RawMessage

func StatusSliceToJSON

func StatusSliceToJSON(in []Status) json.RawMessage

Types

type ProjectVersionDeployment

type ProjectVersionDeployment struct {
	EnviromentUUID uuid.UUID `json:"enviroment_uuid"`
	Status         Status    `json:"status"`
}

func NewProjectVersionDeploymentSliceWithRandomValues

func NewProjectVersionDeploymentSliceWithRandomValues(n int) []ProjectVersionDeployment

func NewProjectVersionDeploymentWithRandomValues

func NewProjectVersionDeploymentWithRandomValues() ProjectVersionDeployment

func ProjectVersionDeploymentFromJSON

func ProjectVersionDeploymentFromJSON(data json.RawMessage) ProjectVersionDeployment

func ProjectVersionDeploymentSliceFromJSON

func ProjectVersionDeploymentSliceFromJSON(data json.RawMessage) []ProjectVersionDeployment

func (ProjectVersionDeployment) ArrayFieldIdentifierToType

func (e ProjectVersionDeployment) ArrayFieldIdentifierToType() map[string]types.FieldType

func (ProjectVersionDeployment) EntityIdentifier

func (e ProjectVersionDeployment) EntityIdentifier() string

func (ProjectVersionDeployment) FieldIdentfierToTypeMap

func (e ProjectVersionDeployment) FieldIdentfierToTypeMap() map[string]types.FieldType

func (ProjectVersionDeployment) IsDependant

func (e ProjectVersionDeployment) IsDependant() bool

func (ProjectVersionDeployment) String

func (e ProjectVersionDeployment) String() string

func (ProjectVersionDeployment) ToJSON

type Status

type Status int64
const (
	STATUS_INVALID Status = iota
	STATUS_NOT_STARTED
	STATUS_STARTED
	STATUS_COMPLETED
	STATUS_FAILED
	STATUS_ROLLED_BACK
)

func JSONToStatusSlice

func JSONToStatusSlice(in json.RawMessage) []Status

func StatusFromPointerString

func StatusFromPointerString(in *string) Status

func StatusFromString

func StatusFromString(in string) Status

func (Status) String

func (e Status) String() string

func (Status) StringPtr

func (e Status) StringPtr() *string

func (Status) ToInt64

func (e Status) ToInt64() int64

Jump to

Keyboard shortcuts

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