model

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func MarshalStrMap

func MarshalStrMap(val map[string]string) graphql.Marshaler

func MarshalUUID

func MarshalUUID(val uuid.UUID) graphql.Marshaler

func UnmarshalStrMap

func UnmarshalStrMap(v interface{}) (map[string]string, error)

func UnmarshalUUID

func UnmarshalUUID(v interface{}) (uuid.UUID, error)

Types

type BlueprintInput

type BlueprintInput struct {
	Name              string    `json:"name"`
	Description       string    `json:"description"`
	BlueprintTemplate string    `json:"blueprintTemplate"`
	ParentGroupID     uuid.UUID `json:"parentGroupId"`
	ProviderID        uuid.UUID `json:"providerId"`
}

type CommandStatus

type CommandStatus string
const (
	CommandStatusQueued     CommandStatus = "QUEUED"
	CommandStatusFailed     CommandStatus = "FAILED"
	CommandStatusSucceeded  CommandStatus = "SUCCEEDED"
	CommandStatusInprogress CommandStatus = "INPROGRESS"
)

func (CommandStatus) IsValid

func (e CommandStatus) IsValid() bool

func (CommandStatus) MarshalGQL

func (e CommandStatus) MarshalGQL(w io.Writer)

func (CommandStatus) String

func (e CommandStatus) String() string

func (*CommandStatus) UnmarshalGQL

func (e *CommandStatus) UnmarshalGQL(v interface{}) error

type CommandType

type CommandType string
const (
	CommandTypeConfigure CommandType = "CONFIGURE"
	CommandTypeDeploy    CommandType = "DEPLOY"
	CommandTypeDestroy   CommandType = "DESTROY"
)

func (CommandType) IsValid

func (e CommandType) IsValid() bool

func (CommandType) MarshalGQL

func (e CommandType) MarshalGQL(w io.Writer)

func (CommandType) String

func (e CommandType) String() string

func (*CommandType) UnmarshalGQL

func (e *CommandType) UnmarshalGQL(v interface{}) error

type DeploymentInput

type DeploymentInput struct {
	Name string `json:"name"`
}

type PermissionPolicyType

type PermissionPolicyType string
const (
	PermissionPolicyTypeAllow PermissionPolicyType = "ALLOW"
	PermissionPolicyTypeDeny  PermissionPolicyType = "DENY"
)

func (PermissionPolicyType) IsValid

func (e PermissionPolicyType) IsValid() bool

func (PermissionPolicyType) MarshalGQL

func (e PermissionPolicyType) MarshalGQL(w io.Writer)

func (PermissionPolicyType) String

func (e PermissionPolicyType) String() string

func (*PermissionPolicyType) UnmarshalGQL

func (e *PermissionPolicyType) UnmarshalGQL(v interface{}) error

type ProviderInput

type ProviderInput struct {
	DisplayName     string `json:"displayName"`
	ProviderGitURL  string `json:"providerGitUrl"`
	ProviderVersion string `json:"providerVersion"`
	ConfigBytes     string `json:"configBytes"`
}

type StrMap

type StrMap map[string]string

type UUID

type UUID uuid.UUID

type UserInput

type UserInput struct {
	Username  string   `json:"username"`
	Email     string   `json:"email"`
	FirstName string   `json:"firstName"`
	LastName  string   `json:"lastName"`
	GroupIds  []string `json:"groupIds"`
}

Jump to

Keyboard shortcuts

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