Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Tenant) predicate.Tenant
- func HasChaincodes() predicate.Tenant
- func HasChaincodesWith(preds ...predicate.Chaincode) predicate.Tenant
- func ID(id int) predicate.Tenant
- func IDEQ(id int) predicate.Tenant
- func IDGT(id int) predicate.Tenant
- func IDGTE(id int) predicate.Tenant
- func IDIn(ids ...int) predicate.Tenant
- func IDLT(id int) predicate.Tenant
- func IDLTE(id int) predicate.Tenant
- func IDNEQ(id int) predicate.Tenant
- func IDNotIn(ids ...int) predicate.Tenant
- func MspId(v string) predicate.Tenant
- func MspIdContains(v string) predicate.Tenant
- func MspIdContainsFold(v string) predicate.Tenant
- func MspIdEQ(v string) predicate.Tenant
- func MspIdEqualFold(v string) predicate.Tenant
- func MspIdGT(v string) predicate.Tenant
- func MspIdGTE(v string) predicate.Tenant
- func MspIdHasPrefix(v string) predicate.Tenant
- func MspIdHasSuffix(v string) predicate.Tenant
- func MspIdIn(vs ...string) predicate.Tenant
- func MspIdLT(v string) predicate.Tenant
- func MspIdLTE(v string) predicate.Tenant
- func MspIdNEQ(v string) predicate.Tenant
- func MspIdNotIn(vs ...string) predicate.Tenant
- func Name(v string) predicate.Tenant
- func NameContains(v string) predicate.Tenant
- func NameContainsFold(v string) predicate.Tenant
- func NameEQ(v string) predicate.Tenant
- func NameEqualFold(v string) predicate.Tenant
- func NameGT(v string) predicate.Tenant
- func NameGTE(v string) predicate.Tenant
- func NameHasPrefix(v string) predicate.Tenant
- func NameHasSuffix(v string) predicate.Tenant
- func NameIn(vs ...string) predicate.Tenant
- func NameLT(v string) predicate.Tenant
- func NameLTE(v string) predicate.Tenant
- func NameNEQ(v string) predicate.Tenant
- func NameNotIn(vs ...string) predicate.Tenant
- func Not(p predicate.Tenant) predicate.Tenant
- func Or(predicates ...predicate.Tenant) predicate.Tenant
- func SignCertCACert(v []byte) predicate.Tenant
- func SignCertCACertEQ(v []byte) predicate.Tenant
- func SignCertCACertGT(v []byte) predicate.Tenant
- func SignCertCACertGTE(v []byte) predicate.Tenant
- func SignCertCACertIn(vs ...[]byte) predicate.Tenant
- func SignCertCACertIsNil() predicate.Tenant
- func SignCertCACertLT(v []byte) predicate.Tenant
- func SignCertCACertLTE(v []byte) predicate.Tenant
- func SignCertCACertNEQ(v []byte) predicate.Tenant
- func SignCertCACertNotIn(vs ...[]byte) predicate.Tenant
- func SignCertCACertNotNil() predicate.Tenant
- func SignCertCAPrivateKey(v []byte) predicate.Tenant
- func SignCertCAPrivateKeyEQ(v []byte) predicate.Tenant
- func SignCertCAPrivateKeyGT(v []byte) predicate.Tenant
- func SignCertCAPrivateKeyGTE(v []byte) predicate.Tenant
- func SignCertCAPrivateKeyIn(vs ...[]byte) predicate.Tenant
- func SignCertCAPrivateKeyIsNil() predicate.Tenant
- func SignCertCAPrivateKeyLT(v []byte) predicate.Tenant
- func SignCertCAPrivateKeyLTE(v []byte) predicate.Tenant
- func SignCertCAPrivateKeyNEQ(v []byte) predicate.Tenant
- func SignCertCAPrivateKeyNotIn(vs ...[]byte) predicate.Tenant
- func SignCertCAPrivateKeyNotNil() predicate.Tenant
- func TlsCertCACert(v []byte) predicate.Tenant
- func TlsCertCACertEQ(v []byte) predicate.Tenant
- func TlsCertCACertGT(v []byte) predicate.Tenant
- func TlsCertCACertGTE(v []byte) predicate.Tenant
- func TlsCertCACertIn(vs ...[]byte) predicate.Tenant
- func TlsCertCACertIsNil() predicate.Tenant
- func TlsCertCACertLT(v []byte) predicate.Tenant
- func TlsCertCACertLTE(v []byte) predicate.Tenant
- func TlsCertCACertNEQ(v []byte) predicate.Tenant
- func TlsCertCACertNotIn(vs ...[]byte) predicate.Tenant
- func TlsCertCACertNotNil() predicate.Tenant
- func TlsCertCAPrivateKey(v []byte) predicate.Tenant
- func TlsCertCAPrivateKeyEQ(v []byte) predicate.Tenant
- func TlsCertCAPrivateKeyGT(v []byte) predicate.Tenant
- func TlsCertCAPrivateKeyGTE(v []byte) predicate.Tenant
- func TlsCertCAPrivateKeyIn(vs ...[]byte) predicate.Tenant
- func TlsCertCAPrivateKeyIsNil() predicate.Tenant
- func TlsCertCAPrivateKeyLT(v []byte) predicate.Tenant
- func TlsCertCAPrivateKeyLTE(v []byte) predicate.Tenant
- func TlsCertCAPrivateKeyNEQ(v []byte) predicate.Tenant
- func TlsCertCAPrivateKeyNotIn(vs ...[]byte) predicate.Tenant
- func TlsCertCAPrivateKeyNotNil() predicate.Tenant
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the tenant type in the database. Label = "tenant" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldMspId holds the string denoting the mspid field in the database. FieldMspId = "msp_id" // FieldSignCertCAPrivateKey holds the string denoting the signcertcaprivatekey field in the database. FieldSignCertCAPrivateKey = "sign_cert_ca_private_key" // FieldSignCertCACert holds the string denoting the signcertcacert field in the database. FieldSignCertCACert = "sign_cert_ca_cert" // FieldTlsCertCAPrivateKey holds the string denoting the tlscertcaprivatekey field in the database. FieldTlsCertCAPrivateKey = "tls_cert_ca_private_key" // FieldTlsCertCACert holds the string denoting the tlscertcacert field in the database. FieldTlsCertCACert = "tls_cert_ca_cert" // EdgeChaincodes holds the string denoting the chaincodes edge name in mutations. EdgeChaincodes = "chaincodes" // Table holds the table name of the tenant in the database. Table = "tenants" // ChaincodesTable is the table that holds the chaincodes relation/edge. ChaincodesTable = "chaincodes" // ChaincodesInverseTable is the table name for the Chaincode entity. // It exists in this package in order to avoid circular dependency with the "chaincode" package. ChaincodesInverseTable = "chaincodes" // ChaincodesColumn is the table column denoting the chaincodes relation/edge. ChaincodesColumn = "tenant_chaincodes" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldMspId, FieldSignCertCAPrivateKey, FieldSignCertCACert, FieldTlsCertCAPrivateKey, FieldTlsCertCACert, }
Columns holds all SQL columns for tenant fields.
Functions ¶
func HasChaincodes ¶
HasChaincodes applies the HasEdge predicate on the "chaincodes" edge.
func HasChaincodesWith ¶
HasChaincodesWith applies the HasEdge predicate on the "chaincodes" edge with a given conditions (other predicates).
func MspId ¶
MspId applies equality check predicate on the "mspId" field. It's identical to MspIdEQ.
func MspIdContains ¶
MspIdContains applies the Contains predicate on the "mspId" field.
func MspIdContainsFold ¶
MspIdContainsFold applies the ContainsFold predicate on the "mspId" field.
func MspIdEqualFold ¶
MspIdEqualFold applies the EqualFold predicate on the "mspId" field.
func MspIdHasPrefix ¶
MspIdHasPrefix applies the HasPrefix predicate on the "mspId" field.
func MspIdHasSuffix ¶
MspIdHasSuffix applies the HasSuffix predicate on the "mspId" field.
func MspIdNotIn ¶
MspIdNotIn applies the NotIn predicate on the "mspId" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func SignCertCACert ¶
SignCertCACert applies equality check predicate on the "signCertCACert" field. It's identical to SignCertCACertEQ.
func SignCertCACertEQ ¶
SignCertCACertEQ applies the EQ predicate on the "signCertCACert" field.
func SignCertCACertGT ¶
SignCertCACertGT applies the GT predicate on the "signCertCACert" field.
func SignCertCACertGTE ¶
SignCertCACertGTE applies the GTE predicate on the "signCertCACert" field.
func SignCertCACertIn ¶
SignCertCACertIn applies the In predicate on the "signCertCACert" field.
func SignCertCACertIsNil ¶
SignCertCACertIsNil applies the IsNil predicate on the "signCertCACert" field.
func SignCertCACertLT ¶
SignCertCACertLT applies the LT predicate on the "signCertCACert" field.
func SignCertCACertLTE ¶
SignCertCACertLTE applies the LTE predicate on the "signCertCACert" field.
func SignCertCACertNEQ ¶
SignCertCACertNEQ applies the NEQ predicate on the "signCertCACert" field.
func SignCertCACertNotIn ¶
SignCertCACertNotIn applies the NotIn predicate on the "signCertCACert" field.
func SignCertCACertNotNil ¶
SignCertCACertNotNil applies the NotNil predicate on the "signCertCACert" field.
func SignCertCAPrivateKey ¶
SignCertCAPrivateKey applies equality check predicate on the "signCertCAPrivateKey" field. It's identical to SignCertCAPrivateKeyEQ.
func SignCertCAPrivateKeyEQ ¶
SignCertCAPrivateKeyEQ applies the EQ predicate on the "signCertCAPrivateKey" field.
func SignCertCAPrivateKeyGT ¶
SignCertCAPrivateKeyGT applies the GT predicate on the "signCertCAPrivateKey" field.
func SignCertCAPrivateKeyGTE ¶
SignCertCAPrivateKeyGTE applies the GTE predicate on the "signCertCAPrivateKey" field.
func SignCertCAPrivateKeyIn ¶
SignCertCAPrivateKeyIn applies the In predicate on the "signCertCAPrivateKey" field.
func SignCertCAPrivateKeyIsNil ¶
SignCertCAPrivateKeyIsNil applies the IsNil predicate on the "signCertCAPrivateKey" field.
func SignCertCAPrivateKeyLT ¶
SignCertCAPrivateKeyLT applies the LT predicate on the "signCertCAPrivateKey" field.
func SignCertCAPrivateKeyLTE ¶
SignCertCAPrivateKeyLTE applies the LTE predicate on the "signCertCAPrivateKey" field.
func SignCertCAPrivateKeyNEQ ¶
SignCertCAPrivateKeyNEQ applies the NEQ predicate on the "signCertCAPrivateKey" field.
func SignCertCAPrivateKeyNotIn ¶
SignCertCAPrivateKeyNotIn applies the NotIn predicate on the "signCertCAPrivateKey" field.
func SignCertCAPrivateKeyNotNil ¶
SignCertCAPrivateKeyNotNil applies the NotNil predicate on the "signCertCAPrivateKey" field.
func TlsCertCACert ¶
TlsCertCACert applies equality check predicate on the "tlsCertCACert" field. It's identical to TlsCertCACertEQ.
func TlsCertCACertEQ ¶
TlsCertCACertEQ applies the EQ predicate on the "tlsCertCACert" field.
func TlsCertCACertGT ¶
TlsCertCACertGT applies the GT predicate on the "tlsCertCACert" field.
func TlsCertCACertGTE ¶
TlsCertCACertGTE applies the GTE predicate on the "tlsCertCACert" field.
func TlsCertCACertIn ¶
TlsCertCACertIn applies the In predicate on the "tlsCertCACert" field.
func TlsCertCACertIsNil ¶
TlsCertCACertIsNil applies the IsNil predicate on the "tlsCertCACert" field.
func TlsCertCACertLT ¶
TlsCertCACertLT applies the LT predicate on the "tlsCertCACert" field.
func TlsCertCACertLTE ¶
TlsCertCACertLTE applies the LTE predicate on the "tlsCertCACert" field.
func TlsCertCACertNEQ ¶
TlsCertCACertNEQ applies the NEQ predicate on the "tlsCertCACert" field.
func TlsCertCACertNotIn ¶
TlsCertCACertNotIn applies the NotIn predicate on the "tlsCertCACert" field.
func TlsCertCACertNotNil ¶
TlsCertCACertNotNil applies the NotNil predicate on the "tlsCertCACert" field.
func TlsCertCAPrivateKey ¶
TlsCertCAPrivateKey applies equality check predicate on the "tlsCertCAPrivateKey" field. It's identical to TlsCertCAPrivateKeyEQ.
func TlsCertCAPrivateKeyEQ ¶
TlsCertCAPrivateKeyEQ applies the EQ predicate on the "tlsCertCAPrivateKey" field.
func TlsCertCAPrivateKeyGT ¶
TlsCertCAPrivateKeyGT applies the GT predicate on the "tlsCertCAPrivateKey" field.
func TlsCertCAPrivateKeyGTE ¶
TlsCertCAPrivateKeyGTE applies the GTE predicate on the "tlsCertCAPrivateKey" field.
func TlsCertCAPrivateKeyIn ¶
TlsCertCAPrivateKeyIn applies the In predicate on the "tlsCertCAPrivateKey" field.
func TlsCertCAPrivateKeyIsNil ¶
TlsCertCAPrivateKeyIsNil applies the IsNil predicate on the "tlsCertCAPrivateKey" field.
func TlsCertCAPrivateKeyLT ¶
TlsCertCAPrivateKeyLT applies the LT predicate on the "tlsCertCAPrivateKey" field.
func TlsCertCAPrivateKeyLTE ¶
TlsCertCAPrivateKeyLTE applies the LTE predicate on the "tlsCertCAPrivateKey" field.
func TlsCertCAPrivateKeyNEQ ¶
TlsCertCAPrivateKeyNEQ applies the NEQ predicate on the "tlsCertCAPrivateKey" field.
func TlsCertCAPrivateKeyNotIn ¶
TlsCertCAPrivateKeyNotIn applies the NotIn predicate on the "tlsCertCAPrivateKey" field.
func TlsCertCAPrivateKeyNotNil ¶
TlsCertCAPrivateKeyNotNil applies the NotNil predicate on the "tlsCertCAPrivateKey" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.