k8scontainer

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

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

Go to latest
Published: Sep 11, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the k8scontainer type in the database.
	Label = "k8s_container"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldImage holds the string denoting the image field in the database.
	FieldImage = "image"
	// FieldContainerType holds the string denoting the containertype field in the database.
	FieldContainerType = "container_type"
	// FieldContainerId holds the string denoting the containerid field in the database.
	FieldContainerId = "container_id"
	// FieldK8sClusterId holds the string denoting the k8sclusterid field in the database.
	FieldK8sClusterId = "k8s_cluster_id"
	// FieldK8sNamespaceId holds the string denoting the k8snamespaceid field in the database.
	FieldK8sNamespaceId = "k8s_namespace_id"
	// FieldK8sPodId holds the string denoting the k8spodid field in the database.
	FieldK8sPodId = "k8s_pod_id"
	// Table holds the table name of the k8scontainer in the database.
	Table = "k8sContainers"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultDeletedAt holds the default value on creation for the "deleted_at" field.
	DefaultDeletedAt func() time.Time
	// UpdateDefaultDeletedAt holds the default value on update for the "deleted_at" field.
	UpdateDefaultDeletedAt func() time.Time
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// ImageValidator is a validator for the "image" field. It is called by the builders before save.
	ImageValidator func(string) error
	// ContainerTypeValidator is a validator for the "containerType" field. It is called by the builders before save.
	ContainerTypeValidator func(string) error
	// ContainerIdValidator is a validator for the "containerId" field. It is called by the builders before save.
	ContainerIdValidator func(string) error
)

Columns holds all SQL columns for k8scontainer fields.

Functions

func And

func And(predicates ...predicate.K8sContainer) predicate.K8sContainer

And groups predicates with the AND operator between them.

func ContainerId

func ContainerId(v string) predicate.K8sContainer

ContainerId applies equality check predicate on the "containerId" field. It's identical to ContainerIdEQ.

func ContainerIdContains

func ContainerIdContains(v string) predicate.K8sContainer

ContainerIdContains applies the Contains predicate on the "containerId" field.

func ContainerIdContainsFold

func ContainerIdContainsFold(v string) predicate.K8sContainer

ContainerIdContainsFold applies the ContainsFold predicate on the "containerId" field.

func ContainerIdEQ

func ContainerIdEQ(v string) predicate.K8sContainer

ContainerIdEQ applies the EQ predicate on the "containerId" field.

func ContainerIdEqualFold

func ContainerIdEqualFold(v string) predicate.K8sContainer

ContainerIdEqualFold applies the EqualFold predicate on the "containerId" field.

func ContainerIdGT

func ContainerIdGT(v string) predicate.K8sContainer

ContainerIdGT applies the GT predicate on the "containerId" field.

func ContainerIdGTE

func ContainerIdGTE(v string) predicate.K8sContainer

ContainerIdGTE applies the GTE predicate on the "containerId" field.

func ContainerIdHasPrefix

func ContainerIdHasPrefix(v string) predicate.K8sContainer

ContainerIdHasPrefix applies the HasPrefix predicate on the "containerId" field.

func ContainerIdHasSuffix

func ContainerIdHasSuffix(v string) predicate.K8sContainer

ContainerIdHasSuffix applies the HasSuffix predicate on the "containerId" field.

func ContainerIdIn

func ContainerIdIn(vs ...string) predicate.K8sContainer

ContainerIdIn applies the In predicate on the "containerId" field.

func ContainerIdLT

func ContainerIdLT(v string) predicate.K8sContainer

ContainerIdLT applies the LT predicate on the "containerId" field.

func ContainerIdLTE

func ContainerIdLTE(v string) predicate.K8sContainer

ContainerIdLTE applies the LTE predicate on the "containerId" field.

func ContainerIdNEQ

func ContainerIdNEQ(v string) predicate.K8sContainer

ContainerIdNEQ applies the NEQ predicate on the "containerId" field.

func ContainerIdNotIn

func ContainerIdNotIn(vs ...string) predicate.K8sContainer

ContainerIdNotIn applies the NotIn predicate on the "containerId" field.

func ContainerType

func ContainerType(v string) predicate.K8sContainer

ContainerType applies equality check predicate on the "containerType" field. It's identical to ContainerTypeEQ.

func ContainerTypeContains

func ContainerTypeContains(v string) predicate.K8sContainer

ContainerTypeContains applies the Contains predicate on the "containerType" field.

func ContainerTypeContainsFold

func ContainerTypeContainsFold(v string) predicate.K8sContainer

ContainerTypeContainsFold applies the ContainsFold predicate on the "containerType" field.

func ContainerTypeEQ

func ContainerTypeEQ(v string) predicate.K8sContainer

ContainerTypeEQ applies the EQ predicate on the "containerType" field.

func ContainerTypeEqualFold

func ContainerTypeEqualFold(v string) predicate.K8sContainer

ContainerTypeEqualFold applies the EqualFold predicate on the "containerType" field.

func ContainerTypeGT

func ContainerTypeGT(v string) predicate.K8sContainer

ContainerTypeGT applies the GT predicate on the "containerType" field.

func ContainerTypeGTE

func ContainerTypeGTE(v string) predicate.K8sContainer

ContainerTypeGTE applies the GTE predicate on the "containerType" field.

func ContainerTypeHasPrefix

func ContainerTypeHasPrefix(v string) predicate.K8sContainer

ContainerTypeHasPrefix applies the HasPrefix predicate on the "containerType" field.

func ContainerTypeHasSuffix

func ContainerTypeHasSuffix(v string) predicate.K8sContainer

ContainerTypeHasSuffix applies the HasSuffix predicate on the "containerType" field.

func ContainerTypeIn

func ContainerTypeIn(vs ...string) predicate.K8sContainer

ContainerTypeIn applies the In predicate on the "containerType" field.

func ContainerTypeLT

func ContainerTypeLT(v string) predicate.K8sContainer

ContainerTypeLT applies the LT predicate on the "containerType" field.

func ContainerTypeLTE

func ContainerTypeLTE(v string) predicate.K8sContainer

ContainerTypeLTE applies the LTE predicate on the "containerType" field.

func ContainerTypeNEQ

func ContainerTypeNEQ(v string) predicate.K8sContainer

ContainerTypeNEQ applies the NEQ predicate on the "containerType" field.

func ContainerTypeNotIn

func ContainerTypeNotIn(vs ...string) predicate.K8sContainer

ContainerTypeNotIn applies the NotIn predicate on the "containerType" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.K8sContainer

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.K8sContainer

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.K8sContainer

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.K8sContainer

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.K8sContainer

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.K8sContainer

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.K8sContainer

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.K8sContainer

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.K8sContainer

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.K8sContainer

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.K8sContainer

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.K8sContainer

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.K8sContainer

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.K8sContainer

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.K8sContainer

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.K8sContainer

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.K8sContainer

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.K8sContainer

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint) predicate.K8sContainer

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint) predicate.K8sContainer

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint) predicate.K8sContainer

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint) predicate.K8sContainer

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint) predicate.K8sContainer

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint) predicate.K8sContainer

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint) predicate.K8sContainer

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint) predicate.K8sContainer

IDNotIn applies the NotIn predicate on the ID field.

func Image

func Image(v string) predicate.K8sContainer

Image applies equality check predicate on the "image" field. It's identical to ImageEQ.

func ImageContains

func ImageContains(v string) predicate.K8sContainer

ImageContains applies the Contains predicate on the "image" field.

func ImageContainsFold

func ImageContainsFold(v string) predicate.K8sContainer

ImageContainsFold applies the ContainsFold predicate on the "image" field.

func ImageEQ

func ImageEQ(v string) predicate.K8sContainer

ImageEQ applies the EQ predicate on the "image" field.

func ImageEqualFold

func ImageEqualFold(v string) predicate.K8sContainer

ImageEqualFold applies the EqualFold predicate on the "image" field.

func ImageGT

func ImageGT(v string) predicate.K8sContainer

ImageGT applies the GT predicate on the "image" field.

func ImageGTE

func ImageGTE(v string) predicate.K8sContainer

ImageGTE applies the GTE predicate on the "image" field.

func ImageHasPrefix

func ImageHasPrefix(v string) predicate.K8sContainer

ImageHasPrefix applies the HasPrefix predicate on the "image" field.

func ImageHasSuffix

func ImageHasSuffix(v string) predicate.K8sContainer

ImageHasSuffix applies the HasSuffix predicate on the "image" field.

func ImageIn

func ImageIn(vs ...string) predicate.K8sContainer

ImageIn applies the In predicate on the "image" field.

func ImageLT

func ImageLT(v string) predicate.K8sContainer

ImageLT applies the LT predicate on the "image" field.

func ImageLTE

func ImageLTE(v string) predicate.K8sContainer

ImageLTE applies the LTE predicate on the "image" field.

func ImageNEQ

func ImageNEQ(v string) predicate.K8sContainer

ImageNEQ applies the NEQ predicate on the "image" field.

func ImageNotIn

func ImageNotIn(vs ...string) predicate.K8sContainer

ImageNotIn applies the NotIn predicate on the "image" field.

func K8sClusterId

func K8sClusterId(v uint) predicate.K8sContainer

K8sClusterId applies equality check predicate on the "k8sClusterId" field. It's identical to K8sClusterIdEQ.

func K8sClusterIdEQ

func K8sClusterIdEQ(v uint) predicate.K8sContainer

K8sClusterIdEQ applies the EQ predicate on the "k8sClusterId" field.

func K8sClusterIdGT

func K8sClusterIdGT(v uint) predicate.K8sContainer

K8sClusterIdGT applies the GT predicate on the "k8sClusterId" field.

func K8sClusterIdGTE

func K8sClusterIdGTE(v uint) predicate.K8sContainer

K8sClusterIdGTE applies the GTE predicate on the "k8sClusterId" field.

func K8sClusterIdIn

func K8sClusterIdIn(vs ...uint) predicate.K8sContainer

K8sClusterIdIn applies the In predicate on the "k8sClusterId" field.

func K8sClusterIdLT

func K8sClusterIdLT(v uint) predicate.K8sContainer

K8sClusterIdLT applies the LT predicate on the "k8sClusterId" field.

func K8sClusterIdLTE

func K8sClusterIdLTE(v uint) predicate.K8sContainer

K8sClusterIdLTE applies the LTE predicate on the "k8sClusterId" field.

func K8sClusterIdNEQ

func K8sClusterIdNEQ(v uint) predicate.K8sContainer

K8sClusterIdNEQ applies the NEQ predicate on the "k8sClusterId" field.

func K8sClusterIdNotIn

func K8sClusterIdNotIn(vs ...uint) predicate.K8sContainer

K8sClusterIdNotIn applies the NotIn predicate on the "k8sClusterId" field.

func K8sNamespaceId

func K8sNamespaceId(v uint) predicate.K8sContainer

K8sNamespaceId applies equality check predicate on the "k8sNamespaceId" field. It's identical to K8sNamespaceIdEQ.

func K8sNamespaceIdEQ

func K8sNamespaceIdEQ(v uint) predicate.K8sContainer

K8sNamespaceIdEQ applies the EQ predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdGT

func K8sNamespaceIdGT(v uint) predicate.K8sContainer

K8sNamespaceIdGT applies the GT predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdGTE

func K8sNamespaceIdGTE(v uint) predicate.K8sContainer

K8sNamespaceIdGTE applies the GTE predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdIn

func K8sNamespaceIdIn(vs ...uint) predicate.K8sContainer

K8sNamespaceIdIn applies the In predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdLT

func K8sNamespaceIdLT(v uint) predicate.K8sContainer

K8sNamespaceIdLT applies the LT predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdLTE

func K8sNamespaceIdLTE(v uint) predicate.K8sContainer

K8sNamespaceIdLTE applies the LTE predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdNEQ

func K8sNamespaceIdNEQ(v uint) predicate.K8sContainer

K8sNamespaceIdNEQ applies the NEQ predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdNotIn

func K8sNamespaceIdNotIn(vs ...uint) predicate.K8sContainer

K8sNamespaceIdNotIn applies the NotIn predicate on the "k8sNamespaceId" field.

func K8sPodId

func K8sPodId(v uint) predicate.K8sContainer

K8sPodId applies equality check predicate on the "K8sPodId" field. It's identical to K8sPodIdEQ.

func K8sPodIdEQ

func K8sPodIdEQ(v uint) predicate.K8sContainer

K8sPodIdEQ applies the EQ predicate on the "K8sPodId" field.

func K8sPodIdGT

func K8sPodIdGT(v uint) predicate.K8sContainer

K8sPodIdGT applies the GT predicate on the "K8sPodId" field.

func K8sPodIdGTE

func K8sPodIdGTE(v uint) predicate.K8sContainer

K8sPodIdGTE applies the GTE predicate on the "K8sPodId" field.

func K8sPodIdIn

func K8sPodIdIn(vs ...uint) predicate.K8sContainer

K8sPodIdIn applies the In predicate on the "K8sPodId" field.

func K8sPodIdLT

func K8sPodIdLT(v uint) predicate.K8sContainer

K8sPodIdLT applies the LT predicate on the "K8sPodId" field.

func K8sPodIdLTE

func K8sPodIdLTE(v uint) predicate.K8sContainer

K8sPodIdLTE applies the LTE predicate on the "K8sPodId" field.

func K8sPodIdNEQ

func K8sPodIdNEQ(v uint) predicate.K8sContainer

K8sPodIdNEQ applies the NEQ predicate on the "K8sPodId" field.

func K8sPodIdNotIn

func K8sPodIdNotIn(vs ...uint) predicate.K8sContainer

K8sPodIdNotIn applies the NotIn predicate on the "K8sPodId" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.K8sContainer

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.K8sContainer

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.K8sContainer

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.K8sContainer

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.K8sContainer

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.K8sContainer

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.K8sContainer

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.K8sContainer

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.K8sContainer

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.K8sContainer

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.K8sContainer

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.K8sContainer

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.K8sContainer

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.K8sContainer) predicate.K8sContainer

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.K8sContainer

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.K8sContainer

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.K8sContainer

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.K8sContainer

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.K8sContainer

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.K8sContainer

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.K8sContainer

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.K8sContainer

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.K8sContainer

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

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