robotstxt

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the robotstxt type in the database.
	Label = "robotstxt"
	// FieldID holds the string denoting the id field in the database.
	FieldID           = "id"           // FieldCreatedAt holds the string denoting the created_at vertex property in the database.
	FieldCreatedAt    = "created_at"   // FieldUpdatedAt holds the string denoting the updated_at vertex property in the database.
	FieldUpdatedAt    = "updated_at"   // FieldHost holds the string denoting the host vertex property in the database.
	FieldHost         = "host"         // FieldScheme holds the string denoting the scheme vertex property in the database.
	FieldScheme       = "scheme"       // FieldResponseURL holds the string denoting the response_url vertex property in the database.
	FieldResponseURL  = "response_url" // FieldBody holds the string denoting the body vertex property in the database.
	FieldBody         = "body"         // FieldStatuscode holds the string denoting the statuscode vertex property in the database.
	FieldStatuscode   = "statuscode"   // FieldResponseTime holds the string denoting the response_time vertex property in the database.
	FieldResponseTime = "response_time"

	// Table holds the table name of the robotstxt in the database.
	Table = "robotstxts"
)

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
)

Columns holds all SQL columns for robotstxt fields.

Functions

func And

func And(predicates ...predicate.Robotstxt) predicate.Robotstxt

And groups list of predicates with the AND operator between them.

func Body

func Body(v []byte) predicate.Robotstxt

Body applies equality check predicate on the "body" field. It's identical to BodyEQ.

func BodyEQ

func BodyEQ(v []byte) predicate.Robotstxt

BodyEQ applies the EQ predicate on the "body" field.

func BodyGT

func BodyGT(v []byte) predicate.Robotstxt

BodyGT applies the GT predicate on the "body" field.

func BodyGTE

func BodyGTE(v []byte) predicate.Robotstxt

BodyGTE applies the GTE predicate on the "body" field.

func BodyIn

func BodyIn(vs ...[]byte) predicate.Robotstxt

BodyIn applies the In predicate on the "body" field.

func BodyLT

func BodyLT(v []byte) predicate.Robotstxt

BodyLT applies the LT predicate on the "body" field.

func BodyLTE

func BodyLTE(v []byte) predicate.Robotstxt

BodyLTE applies the LTE predicate on the "body" field.

func BodyNEQ

func BodyNEQ(v []byte) predicate.Robotstxt

BodyNEQ applies the NEQ predicate on the "body" field.

func BodyNotIn

func BodyNotIn(vs ...[]byte) predicate.Robotstxt

BodyNotIn applies the NotIn predicate on the "body" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Robotstxt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Robotstxt

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Robotstxt

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Robotstxt

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Robotstxt

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Robotstxt

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Robotstxt

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

func CreatedAtNotIn

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

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

func Host

func Host(v string) predicate.Robotstxt

Host applies equality check predicate on the "host" field. It's identical to HostEQ.

func HostContains

func HostContains(v string) predicate.Robotstxt

HostContains applies the Contains predicate on the "host" field.

func HostContainsFold

func HostContainsFold(v string) predicate.Robotstxt

HostContainsFold applies the ContainsFold predicate on the "host" field.

func HostEQ

func HostEQ(v string) predicate.Robotstxt

HostEQ applies the EQ predicate on the "host" field.

func HostEqualFold

func HostEqualFold(v string) predicate.Robotstxt

HostEqualFold applies the EqualFold predicate on the "host" field.

func HostGT

func HostGT(v string) predicate.Robotstxt

HostGT applies the GT predicate on the "host" field.

func HostGTE

func HostGTE(v string) predicate.Robotstxt

HostGTE applies the GTE predicate on the "host" field.

func HostHasPrefix

func HostHasPrefix(v string) predicate.Robotstxt

HostHasPrefix applies the HasPrefix predicate on the "host" field.

func HostHasSuffix

func HostHasSuffix(v string) predicate.Robotstxt

HostHasSuffix applies the HasSuffix predicate on the "host" field.

func HostIn

func HostIn(vs ...string) predicate.Robotstxt

HostIn applies the In predicate on the "host" field.

func HostLT

func HostLT(v string) predicate.Robotstxt

HostLT applies the LT predicate on the "host" field.

func HostLTE

func HostLTE(v string) predicate.Robotstxt

HostLTE applies the LTE predicate on the "host" field.

func HostNEQ

func HostNEQ(v string) predicate.Robotstxt

HostNEQ applies the NEQ predicate on the "host" field.

func HostNotIn

func HostNotIn(vs ...string) predicate.Robotstxt

HostNotIn applies the NotIn predicate on the "host" field.

func ID

func ID(id int) predicate.Robotstxt

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Robotstxt

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Robotstxt

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Robotstxt

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Robotstxt

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Robotstxt

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Robotstxt

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Robotstxt

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Robotstxt

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Robotstxt) predicate.Robotstxt

Or groups list of predicates with the OR operator between them.

func ResponseTime

func ResponseTime(v int64) predicate.Robotstxt

ResponseTime applies equality check predicate on the "response_time" field. It's identical to ResponseTimeEQ.

func ResponseTimeEQ

func ResponseTimeEQ(v int64) predicate.Robotstxt

ResponseTimeEQ applies the EQ predicate on the "response_time" field.

func ResponseTimeGT

func ResponseTimeGT(v int64) predicate.Robotstxt

ResponseTimeGT applies the GT predicate on the "response_time" field.

func ResponseTimeGTE

func ResponseTimeGTE(v int64) predicate.Robotstxt

ResponseTimeGTE applies the GTE predicate on the "response_time" field.

func ResponseTimeIn

func ResponseTimeIn(vs ...int64) predicate.Robotstxt

ResponseTimeIn applies the In predicate on the "response_time" field.

func ResponseTimeLT

func ResponseTimeLT(v int64) predicate.Robotstxt

ResponseTimeLT applies the LT predicate on the "response_time" field.

func ResponseTimeLTE

func ResponseTimeLTE(v int64) predicate.Robotstxt

ResponseTimeLTE applies the LTE predicate on the "response_time" field.

func ResponseTimeNEQ

func ResponseTimeNEQ(v int64) predicate.Robotstxt

ResponseTimeNEQ applies the NEQ predicate on the "response_time" field.

func ResponseTimeNotIn

func ResponseTimeNotIn(vs ...int64) predicate.Robotstxt

ResponseTimeNotIn applies the NotIn predicate on the "response_time" field.

func ResponseURL

func ResponseURL(v string) predicate.Robotstxt

ResponseURL applies equality check predicate on the "response_url" field. It's identical to ResponseURLEQ.

func ResponseURLContains

func ResponseURLContains(v string) predicate.Robotstxt

ResponseURLContains applies the Contains predicate on the "response_url" field.

func ResponseURLContainsFold

func ResponseURLContainsFold(v string) predicate.Robotstxt

ResponseURLContainsFold applies the ContainsFold predicate on the "response_url" field.

func ResponseURLEQ

func ResponseURLEQ(v string) predicate.Robotstxt

ResponseURLEQ applies the EQ predicate on the "response_url" field.

func ResponseURLEqualFold

func ResponseURLEqualFold(v string) predicate.Robotstxt

ResponseURLEqualFold applies the EqualFold predicate on the "response_url" field.

func ResponseURLGT

func ResponseURLGT(v string) predicate.Robotstxt

ResponseURLGT applies the GT predicate on the "response_url" field.

func ResponseURLGTE

func ResponseURLGTE(v string) predicate.Robotstxt

ResponseURLGTE applies the GTE predicate on the "response_url" field.

func ResponseURLHasPrefix

func ResponseURLHasPrefix(v string) predicate.Robotstxt

ResponseURLHasPrefix applies the HasPrefix predicate on the "response_url" field.

func ResponseURLHasSuffix

func ResponseURLHasSuffix(v string) predicate.Robotstxt

ResponseURLHasSuffix applies the HasSuffix predicate on the "response_url" field.

func ResponseURLIn

func ResponseURLIn(vs ...string) predicate.Robotstxt

ResponseURLIn applies the In predicate on the "response_url" field.

func ResponseURLLT

func ResponseURLLT(v string) predicate.Robotstxt

ResponseURLLT applies the LT predicate on the "response_url" field.

func ResponseURLLTE

func ResponseURLLTE(v string) predicate.Robotstxt

ResponseURLLTE applies the LTE predicate on the "response_url" field.

func ResponseURLNEQ

func ResponseURLNEQ(v string) predicate.Robotstxt

ResponseURLNEQ applies the NEQ predicate on the "response_url" field.

func ResponseURLNotIn

func ResponseURLNotIn(vs ...string) predicate.Robotstxt

ResponseURLNotIn applies the NotIn predicate on the "response_url" field.

func Scheme

func Scheme(v string) predicate.Robotstxt

Scheme applies equality check predicate on the "scheme" field. It's identical to SchemeEQ.

func SchemeContains

func SchemeContains(v string) predicate.Robotstxt

SchemeContains applies the Contains predicate on the "scheme" field.

func SchemeContainsFold

func SchemeContainsFold(v string) predicate.Robotstxt

SchemeContainsFold applies the ContainsFold predicate on the "scheme" field.

func SchemeEQ

func SchemeEQ(v string) predicate.Robotstxt

SchemeEQ applies the EQ predicate on the "scheme" field.

func SchemeEqualFold

func SchemeEqualFold(v string) predicate.Robotstxt

SchemeEqualFold applies the EqualFold predicate on the "scheme" field.

func SchemeGT

func SchemeGT(v string) predicate.Robotstxt

SchemeGT applies the GT predicate on the "scheme" field.

func SchemeGTE

func SchemeGTE(v string) predicate.Robotstxt

SchemeGTE applies the GTE predicate on the "scheme" field.

func SchemeHasPrefix

func SchemeHasPrefix(v string) predicate.Robotstxt

SchemeHasPrefix applies the HasPrefix predicate on the "scheme" field.

func SchemeHasSuffix

func SchemeHasSuffix(v string) predicate.Robotstxt

SchemeHasSuffix applies the HasSuffix predicate on the "scheme" field.

func SchemeIn

func SchemeIn(vs ...string) predicate.Robotstxt

SchemeIn applies the In predicate on the "scheme" field.

func SchemeLT

func SchemeLT(v string) predicate.Robotstxt

SchemeLT applies the LT predicate on the "scheme" field.

func SchemeLTE

func SchemeLTE(v string) predicate.Robotstxt

SchemeLTE applies the LTE predicate on the "scheme" field.

func SchemeNEQ

func SchemeNEQ(v string) predicate.Robotstxt

SchemeNEQ applies the NEQ predicate on the "scheme" field.

func SchemeNotIn

func SchemeNotIn(vs ...string) predicate.Robotstxt

SchemeNotIn applies the NotIn predicate on the "scheme" field.

func Statuscode

func Statuscode(v int32) predicate.Robotstxt

Statuscode applies equality check predicate on the "statuscode" field. It's identical to StatuscodeEQ.

func StatuscodeEQ

func StatuscodeEQ(v int32) predicate.Robotstxt

StatuscodeEQ applies the EQ predicate on the "statuscode" field.

func StatuscodeGT

func StatuscodeGT(v int32) predicate.Robotstxt

StatuscodeGT applies the GT predicate on the "statuscode" field.

func StatuscodeGTE

func StatuscodeGTE(v int32) predicate.Robotstxt

StatuscodeGTE applies the GTE predicate on the "statuscode" field.

func StatuscodeIn

func StatuscodeIn(vs ...int32) predicate.Robotstxt

StatuscodeIn applies the In predicate on the "statuscode" field.

func StatuscodeLT

func StatuscodeLT(v int32) predicate.Robotstxt

StatuscodeLT applies the LT predicate on the "statuscode" field.

func StatuscodeLTE

func StatuscodeLTE(v int32) predicate.Robotstxt

StatuscodeLTE applies the LTE predicate on the "statuscode" field.

func StatuscodeNEQ

func StatuscodeNEQ(v int32) predicate.Robotstxt

StatuscodeNEQ applies the NEQ predicate on the "statuscode" field.

func StatuscodeNotIn

func StatuscodeNotIn(vs ...int32) predicate.Robotstxt

StatuscodeNotIn applies the NotIn predicate on the "statuscode" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Robotstxt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Robotstxt

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Robotstxt

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Robotstxt

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Robotstxt

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Robotstxt

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Robotstxt

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

func UpdatedAtNotIn

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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