Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SortFilter = sortfilter.New[*Environment, EnvironmentOrderField, struct{}]()
Functions ¶
func NewLoaderContext ¶
func SyncEnvironments ¶
func SyncEnvironments(ctx context.Context, envs []*Environment) error
Types ¶
type Environment ¶
func GetByIdent ¶
func List ¶
func List(ctx context.Context, orderBy *EnvironmentOrder) ([]*Environment, error)
func (Environment) ID ¶
func (e Environment) ID() ident.Ident
func (Environment) IsNode ¶
func (Environment) IsNode()
type EnvironmentConnection ¶
type EnvironmentConnection = pagination.Connection[*Environment]
type EnvironmentEdge ¶
type EnvironmentEdge = pagination.Edge[*Environment]
type EnvironmentOrder ¶
type EnvironmentOrder struct { Field EnvironmentOrderField `json:"field"` Direction model.OrderDirection `json:"direction"` }
type EnvironmentOrderField ¶
type EnvironmentOrderField string
func (EnvironmentOrderField) IsValid ¶
func (e EnvironmentOrderField) IsValid() bool
func (EnvironmentOrderField) MarshalGQL ¶
func (e EnvironmentOrderField) MarshalGQL(w io.Writer)
func (EnvironmentOrderField) String ¶
func (e EnvironmentOrderField) String() string
func (*EnvironmentOrderField) UnmarshalGQL ¶
func (e *EnvironmentOrderField) UnmarshalGQL(v any) error
Click to show internal directories.
Click to hide internal directories.