sub_types

package
v1.4.21 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BooleanExpression = &model.ResourceSubType{
	Name: "BooleanExpression",
	Annotations: map[string]string{
		annotations.CommonType: annotations.Enabled,
	},
	Properties: []*model.ResourceProperty{
		{
			Name: "and",
			Type: model.ResourceProperty_LIST,
			Item: &model.ResourceProperty{
				Type:    model.ResourceProperty_STRUCT,
				TypeRef: util.Pointer("BooleanExpression"),
			},
		},
		{
			Name: "or",
			Type: model.ResourceProperty_LIST,
			Item: &model.ResourceProperty{
				Type:    model.ResourceProperty_STRUCT,
				TypeRef: util.Pointer("BooleanExpression"),
			},
		},
		{
			Name:    "not",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer("BooleanExpression"),
		},
		{
			Name:    "equal",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(PairExpression.Name),
		},
		{
			Name:    "lessThan",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(PairExpression.Name),
		},
		{
			Name:    "greaterThan",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(PairExpression.Name),
		},
		{
			Name:    "lessThanOrEqual",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(PairExpression.Name),
		},
		{
			Name:    "greaterThanOrEqual",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(PairExpression.Name),
		},
		{
			Name:    "in",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(PairExpression.Name),
		},
		{
			Name:    "like",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(PairExpression.Name),
		},
		{
			Name:    "ilike",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(PairExpression.Name),
		},
		{
			Name:    "regex",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(PairExpression.Name),
		},
		{
			Name:    "isNull",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(Expression.Name),
		},
		{
			Name: "filters",
			Type: model.ResourceProperty_MAP,
			Item: &model.ResourceProperty{Type: model.ResourceProperty_OBJECT},
		},
	},
}
View Source
var Expression = &model.ResourceSubType{
	Name: "Expression",
	Annotations: map[string]string{
		annotations.CommonType: annotations.Enabled,
	},
	Properties: []*model.ResourceProperty{
		{
			Name: "property",
			Type: model.ResourceProperty_STRING,
		},
		{
			Name: "value",
			Type: model.ResourceProperty_OBJECT,
		},
	},
}
View Source
var PairExpression = &model.ResourceSubType{
	Name: "PairExpression",
	Annotations: map[string]string{
		annotations.CommonType: annotations.Enabled,
	},
	Properties: []*model.ResourceProperty{
		{
			Name:    "left",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(Expression.Name),
		},
		{
			Name:    "right",
			Type:    model.ResourceProperty_STRUCT,
			TypeRef: util.Pointer(Expression.Name),
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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