Documentation ¶
Index ¶
- Variables
- func AddAssignmentHook(hookPoint boil.HookPoint, assignmentHook AssignmentHook)
- func AddGooseDBVersionHook(hookPoint boil.HookPoint, gooseDBVersionHook GooseDBVersionHook)
- func AddLoadBalancerHook(hookPoint boil.HookPoint, loadBalancerHook LoadBalancerHook)
- func AddLoadBalancerMetadatumHook(hookPoint boil.HookPoint, loadBalancerMetadatumHook LoadBalancerMetadatumHook)
- func AddLoadBalancerStatusHook(hookPoint boil.HookPoint, loadBalancerStatusHook LoadBalancerStatusHook)
- func AddOriginHook(hookPoint boil.HookPoint, originHook OriginHook)
- func AddPoolHook(hookPoint boil.HookPoint, poolHook PoolHook)
- func AddPortHook(hookPoint boil.HookPoint, portHook PortHook)
- func AssignmentExists(ctx context.Context, exec boil.ContextExecutor, assignmentID string) (bool, error)
- func Assignments(mods ...qm.QueryMod) assignmentQuery
- func GooseDBVersionExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func GooseDBVersions(mods ...qm.QueryMod) gooseDBVersionQuery
- func LoadBalancerExists(ctx context.Context, exec boil.ContextExecutor, loadBalancerID string) (bool, error)
- func LoadBalancerMetadata(mods ...qm.QueryMod) loadBalancerMetadatumQuery
- func LoadBalancerMetadatumExists(ctx context.Context, exec boil.ContextExecutor, metadataID string) (bool, error)
- func LoadBalancerStatusExists(ctx context.Context, exec boil.ContextExecutor, statusID string) (bool, error)
- func LoadBalancerStatuses(mods ...qm.QueryMod) loadBalancerStatusQuery
- func LoadBalancers(mods ...qm.QueryMod) loadBalancerQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func OriginExists(ctx context.Context, exec boil.ContextExecutor, originID string) (bool, error)
- func Origins(mods ...qm.QueryMod) originQuery
- func PoolExists(ctx context.Context, exec boil.ContextExecutor, poolID string) (bool, error)
- func Pools(mods ...qm.QueryMod) poolQuery
- func PortExists(ctx context.Context, exec boil.ContextExecutor, portID string) (bool, error)
- func Ports(mods ...qm.QueryMod) portQuery
- type Assignment
- func (o *Assignment) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Assignment) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Assignment) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Assignment) Pool(mods ...qm.QueryMod) poolQuery
- func (o *Assignment) Port(mods ...qm.QueryMod) portQuery
- func (o *Assignment) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Assignment) SetPool(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Pool) error
- func (o *Assignment) SetPort(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Port) error
- func (o *Assignment) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Assignment) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type AssignmentHook
- type AssignmentSlice
- func (o AssignmentSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *AssignmentSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o AssignmentSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type GooseDBVersion
- func (o *GooseDBVersion) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GooseDBVersion) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *GooseDBVersion) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GooseDBVersion) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GooseDBVersion) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GooseDBVersion) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type GooseDBVersionHook
- type GooseDBVersionSlice
- func (o GooseDBVersionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *GooseDBVersionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o GooseDBVersionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type LoadBalancer
- func (o *LoadBalancer) AddLoadBalancerMetadata(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *LoadBalancer) AddLoadBalancerStatuses(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *LoadBalancer) AddPorts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Port) error
- func (o *LoadBalancer) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *LoadBalancer) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *LoadBalancer) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *LoadBalancer) LoadBalancerMetadata(mods ...qm.QueryMod) loadBalancerMetadatumQuery
- func (o *LoadBalancer) LoadBalancerStatuses(mods ...qm.QueryMod) loadBalancerStatusQuery
- func (o *LoadBalancer) Ports(mods ...qm.QueryMod) portQuery
- func (o *LoadBalancer) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *LoadBalancer) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *LoadBalancer) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type LoadBalancerHook
- type LoadBalancerMetadatum
- func (o *LoadBalancerMetadatum) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *LoadBalancerMetadatum) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *LoadBalancerMetadatum) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *LoadBalancerMetadatum) LoadBalancer(mods ...qm.QueryMod) loadBalancerQuery
- func (o *LoadBalancerMetadatum) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *LoadBalancerMetadatum) SetLoadBalancer(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *LoadBalancerMetadatum) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *LoadBalancerMetadatum) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type LoadBalancerMetadatumHook
- type LoadBalancerMetadatumSlice
- func (o LoadBalancerMetadatumSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *LoadBalancerMetadatumSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o LoadBalancerMetadatumSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type LoadBalancerSlice
- func (o LoadBalancerSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *LoadBalancerSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o LoadBalancerSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type LoadBalancerStatus
- func (o *LoadBalancerStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *LoadBalancerStatus) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *LoadBalancerStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *LoadBalancerStatus) LoadBalancer(mods ...qm.QueryMod) loadBalancerQuery
- func (o *LoadBalancerStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *LoadBalancerStatus) SetLoadBalancer(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *LoadBalancerStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *LoadBalancerStatus) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type LoadBalancerStatusHook
- type LoadBalancerStatusSlice
- func (o LoadBalancerStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *LoadBalancerStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o LoadBalancerStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type M
- type Origin
- func (o *Origin) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Origin) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Origin) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Origin) Pool(mods ...qm.QueryMod) poolQuery
- func (o *Origin) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Origin) SetPool(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Pool) error
- func (o *Origin) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Origin) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type OriginHook
- type OriginSlice
- type Pool
- func (o *Pool) AddAssignments(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Pool) AddOrigins(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Pool) Assignments(mods ...qm.QueryMod) assignmentQuery
- func (o *Pool) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Pool) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Pool) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Pool) Origins(mods ...qm.QueryMod) originQuery
- func (o *Pool) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Pool) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Pool) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type PoolHook
- type PoolSlice
- type Port
- func (o *Port) AddAssignments(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Port) Assignments(mods ...qm.QueryMod) assignmentQuery
- func (o *Port) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Port) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Port) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Port) LoadBalancer(mods ...qm.QueryMod) loadBalancerQuery
- func (o *Port) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Port) SetLoadBalancer(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Port) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Port) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type PortHook
- type PortSlice
Constants ¶
This section is empty.
Variables ¶
var AssignmentColumns = struct { CreatedAt string UpdatedAt string DeletedAt string AssignmentID string PoolID string TenantID string PortID string }{ CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", AssignmentID: "assignment_id", PoolID: "pool_id", TenantID: "tenant_id", PortID: "port_id", }
var AssignmentRels = struct { Port string Pool string }{ Port: "Port", Pool: "Pool", }
AssignmentRels is where relationship names are stored.
var AssignmentTableColumns = struct { CreatedAt string UpdatedAt string DeletedAt string AssignmentID string PoolID string TenantID string PortID string }{ CreatedAt: "assignments.created_at", UpdatedAt: "assignments.updated_at", DeletedAt: "assignments.deleted_at", AssignmentID: "assignments.assignment_id", PoolID: "assignments.pool_id", TenantID: "assignments.tenant_id", PortID: "assignments.port_id", }
var AssignmentWhere = struct { CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time AssignmentID whereHelperstring PoolID whereHelperstring TenantID whereHelperstring PortID whereHelperstring }{ CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, AssignmentID: whereHelperstring{/* contains filtered or unexported fields */}, PoolID: whereHelperstring{/* contains filtered or unexported fields */}, TenantID: whereHelperstring{/* contains filtered or unexported fields */}, PortID: whereHelperstring{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var GooseDBVersionColumns = struct { ID string VersionID string IsApplied string Tstamp string }{ ID: "id", VersionID: "version_id", IsApplied: "is_applied", Tstamp: "tstamp", }
var GooseDBVersionRels = struct {
}{}
GooseDBVersionRels is where relationship names are stored.
var GooseDBVersionTableColumns = struct { ID string VersionID string IsApplied string Tstamp string }{ ID: "goose_db_version.id", VersionID: "goose_db_version.version_id", IsApplied: "goose_db_version.is_applied", Tstamp: "goose_db_version.tstamp", }
var GooseDBVersionWhere = struct { ID whereHelperint64 VersionID whereHelperint64 IsApplied whereHelperbool Tstamp whereHelpernull_Time }{ ID: whereHelperint64{/* contains filtered or unexported fields */}, VersionID: whereHelperint64{/* contains filtered or unexported fields */}, IsApplied: whereHelperbool{/* contains filtered or unexported fields */}, Tstamp: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var LoadBalancerColumns = struct { CreatedAt string UpdatedAt string DeletedAt string LoadBalancerID string LocationID string TenantID string Name string Slug string LoadBalancerSize string LoadBalancerType string StateChangedAt string CurrentState string PreviousState string IPAddressID string }{ CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", LoadBalancerID: "load_balancer_id", LocationID: "location_id", TenantID: "tenant_id", Name: "name", Slug: "slug", LoadBalancerSize: "load_balancer_size", LoadBalancerType: "load_balancer_type", StateChangedAt: "state_changed_at", CurrentState: "current_state", PreviousState: "previous_state", IPAddressID: "ip_address_id", }
var LoadBalancerMetadatumColumns = struct { MetadataID string LoadBalancerID string Namespace string Data string CreatedAt string UpdatedAt string }{ MetadataID: "metadata_id", LoadBalancerID: "load_balancer_id", Namespace: "namespace", Data: "data", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var LoadBalancerMetadatumRels = struct { LoadBalancer string }{ LoadBalancer: "LoadBalancer", }
LoadBalancerMetadatumRels is where relationship names are stored.
var LoadBalancerMetadatumTableColumns = struct { MetadataID string LoadBalancerID string Namespace string Data string CreatedAt string UpdatedAt string }{ MetadataID: "load_balancer_metadata.metadata_id", LoadBalancerID: "load_balancer_metadata.load_balancer_id", Namespace: "load_balancer_metadata.namespace", Data: "load_balancer_metadata.data", CreatedAt: "load_balancer_metadata.created_at", UpdatedAt: "load_balancer_metadata.updated_at", }
var LoadBalancerMetadatumWhere = struct { MetadataID whereHelperstring LoadBalancerID whereHelperstring Namespace whereHelperstring Data whereHelpertypes_JSON CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ MetadataID: whereHelperstring{/* contains filtered or unexported fields */}, LoadBalancerID: whereHelperstring{/* contains filtered or unexported fields */}, Namespace: whereHelperstring{/* contains filtered or unexported fields */}, Data: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var LoadBalancerRels = struct { LoadBalancerMetadata string LoadBalancerStatuses string Ports string }{ LoadBalancerMetadata: "LoadBalancerMetadata", LoadBalancerStatuses: "LoadBalancerStatuses", Ports: "Ports", }
LoadBalancerRels is where relationship names are stored.
var LoadBalancerStatusColumns = struct { StatusID string LoadBalancerID string Namespace string Source string Data string CreatedAt string UpdatedAt string }{ StatusID: "status_id", LoadBalancerID: "load_balancer_id", Namespace: "namespace", Source: "source", Data: "data", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var LoadBalancerStatusRels = struct { LoadBalancer string }{ LoadBalancer: "LoadBalancer", }
LoadBalancerStatusRels is where relationship names are stored.
var LoadBalancerStatusTableColumns = struct { StatusID string LoadBalancerID string Namespace string Source string Data string CreatedAt string UpdatedAt string }{ StatusID: "load_balancer_statuses.status_id", LoadBalancerID: "load_balancer_statuses.load_balancer_id", Namespace: "load_balancer_statuses.namespace", Source: "load_balancer_statuses.source", Data: "load_balancer_statuses.data", CreatedAt: "load_balancer_statuses.created_at", UpdatedAt: "load_balancer_statuses.updated_at", }
var LoadBalancerStatusWhere = struct { StatusID whereHelperstring LoadBalancerID whereHelperstring Namespace whereHelperstring Source whereHelperstring Data whereHelpertypes_JSON CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time }{ StatusID: whereHelperstring{/* contains filtered or unexported fields */}, LoadBalancerID: whereHelperstring{/* contains filtered or unexported fields */}, Namespace: whereHelperstring{/* contains filtered or unexported fields */}, Source: whereHelperstring{/* contains filtered or unexported fields */}, Data: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var LoadBalancerTableColumns = struct { CreatedAt string UpdatedAt string DeletedAt string LoadBalancerID string LocationID string TenantID string Name string Slug string LoadBalancerSize string LoadBalancerType string StateChangedAt string CurrentState string PreviousState string IPAddressID string }{ CreatedAt: "load_balancers.created_at", UpdatedAt: "load_balancers.updated_at", DeletedAt: "load_balancers.deleted_at", LoadBalancerID: "load_balancers.load_balancer_id", LocationID: "load_balancers.location_id", TenantID: "load_balancers.tenant_id", Name: "load_balancers.name", Slug: "load_balancers.slug", LoadBalancerSize: "load_balancers.load_balancer_size", LoadBalancerType: "load_balancers.load_balancer_type", StateChangedAt: "load_balancers.state_changed_at", CurrentState: "load_balancers.current_state", PreviousState: "load_balancers.previous_state", IPAddressID: "load_balancers.ip_address_id", }
var LoadBalancerWhere = struct { CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time LoadBalancerID whereHelperstring LocationID whereHelperstring TenantID whereHelperstring Name whereHelperstring Slug whereHelperstring LoadBalancerSize whereHelperstring LoadBalancerType whereHelperstring StateChangedAt whereHelpernull_Time CurrentState whereHelperstring PreviousState whereHelperstring IPAddressID whereHelperstring }{ CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, LoadBalancerID: whereHelperstring{/* contains filtered or unexported fields */}, LocationID: whereHelperstring{/* contains filtered or unexported fields */}, TenantID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Slug: whereHelperstring{/* contains filtered or unexported fields */}, LoadBalancerSize: whereHelperstring{/* contains filtered or unexported fields */}, LoadBalancerType: whereHelperstring{/* contains filtered or unexported fields */}, StateChangedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, CurrentState: whereHelperstring{/* contains filtered or unexported fields */}, PreviousState: whereHelperstring{/* contains filtered or unexported fields */}, IPAddressID: whereHelperstring{/* contains filtered or unexported fields */}, }
var OriginColumns = struct { CreatedAt string UpdatedAt string DeletedAt string OriginID string PoolID string OriginTarget string Port string Name string Slug string OriginUserSettingDisabled string StateChangedAt string CurrentState string PreviousState string }{ CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", OriginID: "origin_id", PoolID: "pool_id", OriginTarget: "origin_target", Port: "port", Name: "name", Slug: "slug", OriginUserSettingDisabled: "origin_user_setting_disabled", StateChangedAt: "state_changed_at", CurrentState: "current_state", PreviousState: "previous_state", }
var OriginRels = struct { Pool string }{ Pool: "Pool", }
OriginRels is where relationship names are stored.
var OriginTableColumns = struct { CreatedAt string UpdatedAt string DeletedAt string OriginID string PoolID string OriginTarget string Port string Name string Slug string OriginUserSettingDisabled string StateChangedAt string CurrentState string PreviousState string }{ CreatedAt: "origins.created_at", UpdatedAt: "origins.updated_at", DeletedAt: "origins.deleted_at", OriginID: "origins.origin_id", PoolID: "origins.pool_id", OriginTarget: "origins.origin_target", Port: "origins.port", Name: "origins.name", Slug: "origins.slug", OriginUserSettingDisabled: "origins.origin_user_setting_disabled", StateChangedAt: "origins.state_changed_at", CurrentState: "origins.current_state", PreviousState: "origins.previous_state", }
var OriginWhere = struct { CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time OriginID whereHelperstring PoolID whereHelperstring OriginTarget whereHelperstring Port whereHelperint64 Name whereHelperstring Slug whereHelperstring OriginUserSettingDisabled whereHelperbool StateChangedAt whereHelpernull_Time CurrentState whereHelperstring PreviousState whereHelperstring }{ CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, OriginID: whereHelperstring{/* contains filtered or unexported fields */}, PoolID: whereHelperstring{/* contains filtered or unexported fields */}, OriginTarget: whereHelperstring{/* contains filtered or unexported fields */}, Port: whereHelperint64{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Slug: whereHelperstring{/* contains filtered or unexported fields */}, OriginUserSettingDisabled: whereHelperbool{/* contains filtered or unexported fields */}, StateChangedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, CurrentState: whereHelperstring{/* contains filtered or unexported fields */}, PreviousState: whereHelperstring{/* contains filtered or unexported fields */}, }
var PoolColumns = struct { CreatedAt string UpdatedAt string DeletedAt string PoolID string Protocol string Name string Slug string TenantID string }{ CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", PoolID: "pool_id", Protocol: "protocol", Name: "name", Slug: "slug", TenantID: "tenant_id", }
var PoolRels = struct { Assignments string Origins string }{ Assignments: "Assignments", Origins: "Origins", }
PoolRels is where relationship names are stored.
var PoolTableColumns = struct { CreatedAt string UpdatedAt string DeletedAt string PoolID string Protocol string Name string Slug string TenantID string }{ CreatedAt: "pools.created_at", UpdatedAt: "pools.updated_at", DeletedAt: "pools.deleted_at", PoolID: "pools.pool_id", Protocol: "pools.protocol", Name: "pools.name", Slug: "pools.slug", TenantID: "pools.tenant_id", }
var PoolWhere = struct { CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time PoolID whereHelperstring Protocol whereHelperstring Name whereHelperstring Slug whereHelperstring TenantID whereHelperstring }{ CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, PoolID: whereHelperstring{/* contains filtered or unexported fields */}, Protocol: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Slug: whereHelperstring{/* contains filtered or unexported fields */}, TenantID: whereHelperstring{/* contains filtered or unexported fields */}, }
var PortColumns = struct { CreatedAt string UpdatedAt string DeletedAt string PortID string LoadBalancerID string Port string AfInet string Name string Slug string StateChangedAt string CurrentState string PreviousState string }{ CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", PortID: "port_id", LoadBalancerID: "load_balancer_id", Port: "port", AfInet: "af_inet", Name: "name", Slug: "slug", StateChangedAt: "state_changed_at", CurrentState: "current_state", PreviousState: "previous_state", }
var PortRels = struct { LoadBalancer string Assignments string }{ LoadBalancer: "LoadBalancer", Assignments: "Assignments", }
PortRels is where relationship names are stored.
var PortTableColumns = struct { CreatedAt string UpdatedAt string DeletedAt string PortID string LoadBalancerID string Port string AfInet string Name string Slug string StateChangedAt string CurrentState string PreviousState string }{ CreatedAt: "ports.created_at", UpdatedAt: "ports.updated_at", DeletedAt: "ports.deleted_at", PortID: "ports.port_id", LoadBalancerID: "ports.load_balancer_id", Port: "ports.port", AfInet: "ports.af_inet", Name: "ports.name", Slug: "ports.slug", StateChangedAt: "ports.state_changed_at", CurrentState: "ports.current_state", PreviousState: "ports.previous_state", }
var PortWhere = struct { CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time PortID whereHelperstring LoadBalancerID whereHelperstring Port whereHelperint64 AfInet whereHelperstring Name whereHelperstring Slug whereHelperstring StateChangedAt whereHelpernull_Time CurrentState whereHelperstring PreviousState whereHelperstring }{ CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, PortID: whereHelperstring{/* contains filtered or unexported fields */}, LoadBalancerID: whereHelperstring{/* contains filtered or unexported fields */}, Port: whereHelperint64{/* contains filtered or unexported fields */}, AfInet: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Slug: whereHelperstring{/* contains filtered or unexported fields */}, StateChangedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, CurrentState: whereHelperstring{/* contains filtered or unexported fields */}, PreviousState: whereHelperstring{/* contains filtered or unexported fields */}, }
var TableNames = struct { Assignments string GooseDBVersion string LoadBalancerMetadata string LoadBalancerStatuses string LoadBalancers string Origins string Pools string Ports string }{ Assignments: "assignments", GooseDBVersion: "goose_db_version", LoadBalancerMetadata: "load_balancer_metadata", LoadBalancerStatuses: "load_balancer_statuses", LoadBalancers: "load_balancers", Origins: "origins", Pools: "pools", Ports: "ports", }
var ViewNames = struct {
}{}
Functions ¶
func AddAssignmentHook ¶
func AddAssignmentHook(hookPoint boil.HookPoint, assignmentHook AssignmentHook)
AddAssignmentHook registers your hook function for all future operations.
func AddGooseDBVersionHook ¶
func AddGooseDBVersionHook(hookPoint boil.HookPoint, gooseDBVersionHook GooseDBVersionHook)
AddGooseDBVersionHook registers your hook function for all future operations.
func AddLoadBalancerHook ¶
func AddLoadBalancerHook(hookPoint boil.HookPoint, loadBalancerHook LoadBalancerHook)
AddLoadBalancerHook registers your hook function for all future operations.
func AddLoadBalancerMetadatumHook ¶ added in v0.0.14
func AddLoadBalancerMetadatumHook(hookPoint boil.HookPoint, loadBalancerMetadatumHook LoadBalancerMetadatumHook)
AddLoadBalancerMetadatumHook registers your hook function for all future operations.
func AddLoadBalancerStatusHook ¶ added in v0.0.14
func AddLoadBalancerStatusHook(hookPoint boil.HookPoint, loadBalancerStatusHook LoadBalancerStatusHook)
AddLoadBalancerStatusHook registers your hook function for all future operations.
func AddOriginHook ¶
func AddOriginHook(hookPoint boil.HookPoint, originHook OriginHook)
AddOriginHook registers your hook function for all future operations.
func AddPoolHook ¶
AddPoolHook registers your hook function for all future operations.
func AddPortHook ¶ added in v0.0.10
AddPortHook registers your hook function for all future operations.
func AssignmentExists ¶
func AssignmentExists(ctx context.Context, exec boil.ContextExecutor, assignmentID string) (bool, error)
AssignmentExists checks if the Assignment row exists.
func Assignments ¶
Assignments retrieves all the records using an executor.
func GooseDBVersionExists ¶
GooseDBVersionExists checks if the GooseDBVersion row exists.
func GooseDBVersions ¶
GooseDBVersions retrieves all the records using an executor.
func LoadBalancerExists ¶
func LoadBalancerExists(ctx context.Context, exec boil.ContextExecutor, loadBalancerID string) (bool, error)
LoadBalancerExists checks if the LoadBalancer row exists.
func LoadBalancerMetadata ¶ added in v0.0.14
LoadBalancerMetadata retrieves all the records using an executor.
func LoadBalancerMetadatumExists ¶ added in v0.0.14
func LoadBalancerMetadatumExists(ctx context.Context, exec boil.ContextExecutor, metadataID string) (bool, error)
LoadBalancerMetadatumExists checks if the LoadBalancerMetadatum row exists.
func LoadBalancerStatusExists ¶ added in v0.0.14
func LoadBalancerStatusExists(ctx context.Context, exec boil.ContextExecutor, statusID string) (bool, error)
LoadBalancerStatusExists checks if the LoadBalancerStatus row exists.
func LoadBalancerStatuses ¶ added in v0.0.14
LoadBalancerStatuses retrieves all the records using an executor.
func LoadBalancers ¶
LoadBalancers retrieves all the records using an executor.
func OriginExists ¶
OriginExists checks if the Origin row exists.
func PoolExists ¶
PoolExists checks if the Pool row exists.
func PortExists ¶ added in v0.0.10
PortExists checks if the Port row exists.
Types ¶
type Assignment ¶
type Assignment struct { CreatedAt time.Time `query:"created_at" param:"created_at" boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `query:"updated_at" param:"updated_at" boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` DeletedAt null.Time `` /* 129-byte string literal not displayed */ AssignmentID string `` /* 127-byte string literal not displayed */ PoolID string `query:"pool_id" param:"pool_id" boil:"pool_id" json:"pool_id" toml:"pool_id" yaml:"pool_id"` TenantID string `query:"tenant_id" param:"tenant_id" boil:"tenant_id" json:"tenant_id" toml:"tenant_id" yaml:"tenant_id"` PortID string `query:"port_id" param:"port_id" boil:"port_id" json:"port_id" toml:"port_id" yaml:"port_id"` R *assignmentR `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` L assignmentL `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` }
Assignment is an object representing the database table.
func FindAssignment ¶
func FindAssignment(ctx context.Context, exec boil.ContextExecutor, assignmentID string, selectCols ...string) (*Assignment, error)
FindAssignment retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Assignment) Delete ¶
func (o *Assignment) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Assignment record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Assignment) Exists ¶
func (o *Assignment) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the Assignment row exists.
func (*Assignment) Insert ¶
func (o *Assignment) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Assignment) Pool ¶
func (o *Assignment) Pool(mods ...qm.QueryMod) poolQuery
Pool pointed to by the foreign key.
func (*Assignment) Port ¶ added in v0.0.10
func (o *Assignment) Port(mods ...qm.QueryMod) portQuery
Port pointed to by the foreign key.
func (*Assignment) Reload ¶
func (o *Assignment) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Assignment) SetPool ¶
func (o *Assignment) SetPool(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Pool) error
SetPool of the assignment to the related item. Sets o.R.Pool to related. Adds o to related.R.Assignments.
func (*Assignment) SetPort ¶ added in v0.0.10
func (o *Assignment) SetPort(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Port) error
SetPort of the assignment to the related item. Sets o.R.Port to related. Adds o to related.R.Assignments.
func (*Assignment) Update ¶
func (o *Assignment) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Assignment. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Assignment) Upsert ¶
func (o *Assignment) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type AssignmentHook ¶
type AssignmentHook func(context.Context, boil.ContextExecutor, *Assignment) error
AssignmentHook is the signature for custom Assignment hook methods
type AssignmentSlice ¶
type AssignmentSlice []*Assignment
AssignmentSlice is an alias for a slice of pointers to Assignment. This should almost always be used instead of []Assignment.
func (AssignmentSlice) DeleteAll ¶
func (o AssignmentSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*AssignmentSlice) ReloadAll ¶
func (o *AssignmentSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (AssignmentSlice) UpdateAll ¶
func (o AssignmentSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type GooseDBVersion ¶
type GooseDBVersion struct { ID int64 `query:"id" param:"id" boil:"id" json:"id" toml:"id" yaml:"id"` VersionID int64 `query:"version_id" param:"version_id" boil:"version_id" json:"version_id" toml:"version_id" yaml:"version_id"` IsApplied bool `query:"is_applied" param:"is_applied" boil:"is_applied" json:"is_applied" toml:"is_applied" yaml:"is_applied"` Tstamp null.Time `query:"tstamp" param:"tstamp" boil:"tstamp" json:"tstamp,omitempty" toml:"tstamp" yaml:"tstamp,omitempty"` R *gooseDBVersionR `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` L gooseDBVersionL `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` }
GooseDBVersion is an object representing the database table.
func FindGooseDBVersion ¶
func FindGooseDBVersion(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*GooseDBVersion, error)
FindGooseDBVersion retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*GooseDBVersion) Delete ¶
func (o *GooseDBVersion) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single GooseDBVersion record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GooseDBVersion) Exists ¶
func (o *GooseDBVersion) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the GooseDBVersion row exists.
func (*GooseDBVersion) Insert ¶
func (o *GooseDBVersion) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*GooseDBVersion) Reload ¶
func (o *GooseDBVersion) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GooseDBVersion) Update ¶
func (o *GooseDBVersion) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GooseDBVersion. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*GooseDBVersion) Upsert ¶
func (o *GooseDBVersion) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type GooseDBVersionHook ¶
type GooseDBVersionHook func(context.Context, boil.ContextExecutor, *GooseDBVersion) error
GooseDBVersionHook is the signature for custom GooseDBVersion hook methods
type GooseDBVersionSlice ¶
type GooseDBVersionSlice []*GooseDBVersion
GooseDBVersionSlice is an alias for a slice of pointers to GooseDBVersion. This should almost always be used instead of []GooseDBVersion.
func (GooseDBVersionSlice) DeleteAll ¶
func (o GooseDBVersionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GooseDBVersionSlice) ReloadAll ¶
func (o *GooseDBVersionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GooseDBVersionSlice) UpdateAll ¶
func (o GooseDBVersionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type LoadBalancer ¶
type LoadBalancer struct { CreatedAt time.Time `query:"created_at" param:"created_at" boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `query:"updated_at" param:"updated_at" boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` DeletedAt null.Time `` /* 129-byte string literal not displayed */ LoadBalancerID string `` /* 145-byte string literal not displayed */ LocationID string `query:"location_id" param:"location_id" boil:"location_id" json:"location_id" toml:"location_id" yaml:"location_id"` TenantID string `query:"tenant_id" param:"tenant_id" boil:"tenant_id" json:"tenant_id" toml:"tenant_id" yaml:"tenant_id"` Name string `query:"name" param:"name" boil:"name" json:"name" toml:"name" yaml:"name"` Slug string `query:"slug" param:"slug" boil:"slug" json:"slug" toml:"slug" yaml:"slug"` LoadBalancerSize string `` /* 157-byte string literal not displayed */ LoadBalancerType string `` /* 157-byte string literal not displayed */ StateChangedAt null.Time `` /* 165-byte string literal not displayed */ CurrentState string `` /* 127-byte string literal not displayed */ PreviousState string `` /* 133-byte string literal not displayed */ IPAddressID string `` /* 127-byte string literal not displayed */ R *loadBalancerR `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` L loadBalancerL `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` }
LoadBalancer is an object representing the database table.
func FindLoadBalancer ¶
func FindLoadBalancer(ctx context.Context, exec boil.ContextExecutor, loadBalancerID string, selectCols ...string) (*LoadBalancer, error)
FindLoadBalancer retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*LoadBalancer) AddLoadBalancerMetadata ¶ added in v0.0.14
func (o *LoadBalancer) AddLoadBalancerMetadata(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*LoadBalancerMetadatum) error
AddLoadBalancerMetadata adds the given related objects to the existing relationships of the load_balancer, optionally inserting them as new records. Appends related to o.R.LoadBalancerMetadata. Sets related.R.LoadBalancer appropriately.
func (*LoadBalancer) AddLoadBalancerStatuses ¶ added in v0.0.14
func (o *LoadBalancer) AddLoadBalancerStatuses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*LoadBalancerStatus) error
AddLoadBalancerStatuses adds the given related objects to the existing relationships of the load_balancer, optionally inserting them as new records. Appends related to o.R.LoadBalancerStatuses. Sets related.R.LoadBalancer appropriately.
func (*LoadBalancer) AddPorts ¶ added in v0.0.10
func (o *LoadBalancer) AddPorts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Port) error
AddPorts adds the given related objects to the existing relationships of the load_balancer, optionally inserting them as new records. Appends related to o.R.Ports. Sets related.R.LoadBalancer appropriately.
func (*LoadBalancer) Delete ¶
func (o *LoadBalancer) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single LoadBalancer record with an executor. Delete will match against the primary key column to find the record to delete.
func (*LoadBalancer) Exists ¶
func (o *LoadBalancer) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the LoadBalancer row exists.
func (*LoadBalancer) Insert ¶
func (o *LoadBalancer) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*LoadBalancer) LoadBalancerMetadata ¶ added in v0.0.14
func (o *LoadBalancer) LoadBalancerMetadata(mods ...qm.QueryMod) loadBalancerMetadatumQuery
LoadBalancerMetadata retrieves all the load_balancer_metadatum's LoadBalancerMetadata with an executor.
func (*LoadBalancer) LoadBalancerStatuses ¶ added in v0.0.14
func (o *LoadBalancer) LoadBalancerStatuses(mods ...qm.QueryMod) loadBalancerStatusQuery
LoadBalancerStatuses retrieves all the load_balancer_status's LoadBalancerStatuses with an executor.
func (*LoadBalancer) Ports ¶ added in v0.0.10
func (o *LoadBalancer) Ports(mods ...qm.QueryMod) portQuery
Ports retrieves all the port's Ports with an executor.
func (*LoadBalancer) Reload ¶
func (o *LoadBalancer) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*LoadBalancer) Update ¶
func (o *LoadBalancer) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the LoadBalancer. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*LoadBalancer) Upsert ¶
func (o *LoadBalancer) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type LoadBalancerHook ¶
type LoadBalancerHook func(context.Context, boil.ContextExecutor, *LoadBalancer) error
LoadBalancerHook is the signature for custom LoadBalancer hook methods
type LoadBalancerMetadatum ¶ added in v0.0.14
type LoadBalancerMetadatum struct { MetadataID string `query:"metadata_id" param:"metadata_id" boil:"metadata_id" json:"metadata_id" toml:"metadata_id" yaml:"metadata_id"` LoadBalancerID string `` /* 145-byte string literal not displayed */ Namespace string `query:"namespace" param:"namespace" boil:"namespace" json:"namespace" toml:"namespace" yaml:"namespace"` Data types.JSON `query:"data" param:"data" boil:"data" json:"data" toml:"data" yaml:"data"` CreatedAt time.Time `query:"created_at" param:"created_at" boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `query:"updated_at" param:"updated_at" boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *loadBalancerMetadatumR `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` L loadBalancerMetadatumL `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` }
LoadBalancerMetadatum is an object representing the database table.
func FindLoadBalancerMetadatum ¶ added in v0.0.14
func FindLoadBalancerMetadatum(ctx context.Context, exec boil.ContextExecutor, metadataID string, selectCols ...string) (*LoadBalancerMetadatum, error)
FindLoadBalancerMetadatum retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*LoadBalancerMetadatum) Delete ¶ added in v0.0.14
func (o *LoadBalancerMetadatum) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single LoadBalancerMetadatum record with an executor. Delete will match against the primary key column to find the record to delete.
func (*LoadBalancerMetadatum) Exists ¶ added in v0.0.14
func (o *LoadBalancerMetadatum) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the LoadBalancerMetadatum row exists.
func (*LoadBalancerMetadatum) Insert ¶ added in v0.0.14
func (o *LoadBalancerMetadatum) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*LoadBalancerMetadatum) LoadBalancer ¶ added in v0.0.14
func (o *LoadBalancerMetadatum) LoadBalancer(mods ...qm.QueryMod) loadBalancerQuery
LoadBalancer pointed to by the foreign key.
func (*LoadBalancerMetadatum) Reload ¶ added in v0.0.14
func (o *LoadBalancerMetadatum) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*LoadBalancerMetadatum) SetLoadBalancer ¶ added in v0.0.14
func (o *LoadBalancerMetadatum) SetLoadBalancer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *LoadBalancer) error
SetLoadBalancer of the loadBalancerMetadatum to the related item. Sets o.R.LoadBalancer to related. Adds o to related.R.LoadBalancerMetadata.
func (*LoadBalancerMetadatum) Update ¶ added in v0.0.14
func (o *LoadBalancerMetadatum) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the LoadBalancerMetadatum. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*LoadBalancerMetadatum) Upsert ¶ added in v0.0.14
func (o *LoadBalancerMetadatum) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type LoadBalancerMetadatumHook ¶ added in v0.0.14
type LoadBalancerMetadatumHook func(context.Context, boil.ContextExecutor, *LoadBalancerMetadatum) error
LoadBalancerMetadatumHook is the signature for custom LoadBalancerMetadatum hook methods
type LoadBalancerMetadatumSlice ¶ added in v0.0.14
type LoadBalancerMetadatumSlice []*LoadBalancerMetadatum
LoadBalancerMetadatumSlice is an alias for a slice of pointers to LoadBalancerMetadatum. This should almost always be used instead of []LoadBalancerMetadatum.
func (LoadBalancerMetadatumSlice) DeleteAll ¶ added in v0.0.14
func (o LoadBalancerMetadatumSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*LoadBalancerMetadatumSlice) ReloadAll ¶ added in v0.0.14
func (o *LoadBalancerMetadatumSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (LoadBalancerMetadatumSlice) UpdateAll ¶ added in v0.0.14
func (o LoadBalancerMetadatumSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type LoadBalancerSlice ¶
type LoadBalancerSlice []*LoadBalancer
LoadBalancerSlice is an alias for a slice of pointers to LoadBalancer. This should almost always be used instead of []LoadBalancer.
func (LoadBalancerSlice) DeleteAll ¶
func (o LoadBalancerSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*LoadBalancerSlice) ReloadAll ¶
func (o *LoadBalancerSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (LoadBalancerSlice) UpdateAll ¶
func (o LoadBalancerSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type LoadBalancerStatus ¶ added in v0.0.14
type LoadBalancerStatus struct { StatusID string `query:"status_id" param:"status_id" boil:"status_id" json:"status_id" toml:"status_id" yaml:"status_id"` LoadBalancerID string `` /* 145-byte string literal not displayed */ Namespace string `query:"namespace" param:"namespace" boil:"namespace" json:"namespace" toml:"namespace" yaml:"namespace"` Source string `query:"source" param:"source" boil:"source" json:"source" toml:"source" yaml:"source"` Data types.JSON `query:"data" param:"data" boil:"data" json:"data" toml:"data" yaml:"data"` CreatedAt time.Time `query:"created_at" param:"created_at" boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `query:"updated_at" param:"updated_at" boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` R *loadBalancerStatusR `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` L loadBalancerStatusL `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` }
LoadBalancerStatus is an object representing the database table.
func FindLoadBalancerStatus ¶ added in v0.0.14
func FindLoadBalancerStatus(ctx context.Context, exec boil.ContextExecutor, statusID string, selectCols ...string) (*LoadBalancerStatus, error)
FindLoadBalancerStatus retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*LoadBalancerStatus) Delete ¶ added in v0.0.14
func (o *LoadBalancerStatus) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single LoadBalancerStatus record with an executor. Delete will match against the primary key column to find the record to delete.
func (*LoadBalancerStatus) Exists ¶ added in v0.0.14
func (o *LoadBalancerStatus) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the LoadBalancerStatus row exists.
func (*LoadBalancerStatus) Insert ¶ added in v0.0.14
func (o *LoadBalancerStatus) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*LoadBalancerStatus) LoadBalancer ¶ added in v0.0.14
func (o *LoadBalancerStatus) LoadBalancer(mods ...qm.QueryMod) loadBalancerQuery
LoadBalancer pointed to by the foreign key.
func (*LoadBalancerStatus) Reload ¶ added in v0.0.14
func (o *LoadBalancerStatus) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*LoadBalancerStatus) SetLoadBalancer ¶ added in v0.0.14
func (o *LoadBalancerStatus) SetLoadBalancer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *LoadBalancer) error
SetLoadBalancer of the loadBalancerStatus to the related item. Sets o.R.LoadBalancer to related. Adds o to related.R.LoadBalancerStatuses.
func (*LoadBalancerStatus) Update ¶ added in v0.0.14
func (o *LoadBalancerStatus) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the LoadBalancerStatus. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*LoadBalancerStatus) Upsert ¶ added in v0.0.14
func (o *LoadBalancerStatus) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type LoadBalancerStatusHook ¶ added in v0.0.14
type LoadBalancerStatusHook func(context.Context, boil.ContextExecutor, *LoadBalancerStatus) error
LoadBalancerStatusHook is the signature for custom LoadBalancerStatus hook methods
type LoadBalancerStatusSlice ¶ added in v0.0.14
type LoadBalancerStatusSlice []*LoadBalancerStatus
LoadBalancerStatusSlice is an alias for a slice of pointers to LoadBalancerStatus. This should almost always be used instead of []LoadBalancerStatus.
func (LoadBalancerStatusSlice) DeleteAll ¶ added in v0.0.14
func (o LoadBalancerStatusSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*LoadBalancerStatusSlice) ReloadAll ¶ added in v0.0.14
func (o *LoadBalancerStatusSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (LoadBalancerStatusSlice) UpdateAll ¶ added in v0.0.14
func (o LoadBalancerStatusSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type Origin ¶
type Origin struct { CreatedAt time.Time `query:"created_at" param:"created_at" boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `query:"updated_at" param:"updated_at" boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` DeletedAt null.Time `` /* 129-byte string literal not displayed */ OriginID string `query:"origin_id" param:"origin_id" boil:"origin_id" json:"origin_id" toml:"origin_id" yaml:"origin_id"` PoolID string `query:"pool_id" param:"pool_id" boil:"pool_id" json:"pool_id" toml:"pool_id" yaml:"pool_id"` OriginTarget string `` /* 127-byte string literal not displayed */ Port int64 `query:"port" param:"port" boil:"port" json:"port" toml:"port" yaml:"port"` Name string `query:"name" param:"name" boil:"name" json:"name" toml:"name" yaml:"name"` Slug string `query:"slug" param:"slug" boil:"slug" json:"slug" toml:"slug" yaml:"slug"` OriginUserSettingDisabled bool `` /* 217-byte string literal not displayed */ StateChangedAt null.Time `` /* 165-byte string literal not displayed */ CurrentState string `` /* 127-byte string literal not displayed */ PreviousState string `` /* 133-byte string literal not displayed */ R *originR `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` L originL `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` }
Origin is an object representing the database table.
func FindOrigin ¶
func FindOrigin(ctx context.Context, exec boil.ContextExecutor, originID string, selectCols ...string) (*Origin, error)
FindOrigin retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Origin) Delete ¶
func (o *Origin) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Origin record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Origin) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Origin) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Origin) SetPool ¶
func (o *Origin) SetPool(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Pool) error
SetPool of the origin to the related item. Sets o.R.Pool to related. Adds o to related.R.Origins.
func (*Origin) Update ¶
func (o *Origin) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Origin. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Origin) Upsert ¶
func (o *Origin) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type OriginHook ¶
OriginHook is the signature for custom Origin hook methods
type OriginSlice ¶
type OriginSlice []*Origin
OriginSlice is an alias for a slice of pointers to Origin. This should almost always be used instead of []Origin.
func (OriginSlice) DeleteAll ¶
func (o OriginSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*OriginSlice) ReloadAll ¶
func (o *OriginSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (OriginSlice) UpdateAll ¶
func (o OriginSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Pool ¶
type Pool struct { CreatedAt time.Time `query:"created_at" param:"created_at" boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `query:"updated_at" param:"updated_at" boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` DeletedAt null.Time `` /* 129-byte string literal not displayed */ PoolID string `query:"pool_id" param:"pool_id" boil:"pool_id" json:"pool_id" toml:"pool_id" yaml:"pool_id"` Protocol string `query:"protocol" param:"protocol" boil:"protocol" json:"protocol" toml:"protocol" yaml:"protocol"` Name string `query:"name" param:"name" boil:"name" json:"name" toml:"name" yaml:"name"` Slug string `query:"slug" param:"slug" boil:"slug" json:"slug" toml:"slug" yaml:"slug"` TenantID string `query:"tenant_id" param:"tenant_id" boil:"tenant_id" json:"tenant_id" toml:"tenant_id" yaml:"tenant_id"` R *poolR `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` L poolL `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` }
Pool is an object representing the database table.
func FindPool ¶
func FindPool(ctx context.Context, exec boil.ContextExecutor, poolID string, selectCols ...string) (*Pool, error)
FindPool retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Pool) AddAssignments ¶
func (o *Pool) AddAssignments(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Assignment) error
AddAssignments adds the given related objects to the existing relationships of the pool, optionally inserting them as new records. Appends related to o.R.Assignments. Sets related.R.Pool appropriately.
func (*Pool) AddOrigins ¶
func (o *Pool) AddOrigins(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Origin) error
AddOrigins adds the given related objects to the existing relationships of the pool, optionally inserting them as new records. Appends related to o.R.Origins. Sets related.R.Pool appropriately.
func (*Pool) Assignments ¶
Assignments retrieves all the assignment's Assignments with an executor.
func (*Pool) Delete ¶
func (o *Pool) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Pool record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Pool) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Pool) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Pool) Update ¶
func (o *Pool) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Pool. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Pool) Upsert ¶
func (o *Pool) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PoolSlice ¶
type PoolSlice []*Pool
PoolSlice is an alias for a slice of pointers to Pool. This should almost always be used instead of []Pool.
func (PoolSlice) DeleteAll ¶
func (o PoolSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
type Port ¶ added in v0.0.10
type Port struct { CreatedAt time.Time `query:"created_at" param:"created_at" boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `query:"updated_at" param:"updated_at" boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` DeletedAt null.Time `` /* 129-byte string literal not displayed */ PortID string `query:"port_id" param:"port_id" boil:"port_id" json:"port_id" toml:"port_id" yaml:"port_id"` LoadBalancerID string `` /* 145-byte string literal not displayed */ Port int64 `query:"port" param:"port" boil:"port" json:"port" toml:"port" yaml:"port"` AfInet string `query:"af_inet" param:"af_inet" boil:"af_inet" json:"af_inet" toml:"af_inet" yaml:"af_inet"` Name string `query:"name" param:"name" boil:"name" json:"name" toml:"name" yaml:"name"` Slug string `query:"slug" param:"slug" boil:"slug" json:"slug" toml:"slug" yaml:"slug"` StateChangedAt null.Time `` /* 165-byte string literal not displayed */ CurrentState string `` /* 127-byte string literal not displayed */ PreviousState string `` /* 133-byte string literal not displayed */ R *portR `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` L portL `query:"-" param:"-" boil:"-" json:"-" toml:"-" yaml:"-"` }
Port is an object representing the database table.
func FindPort ¶ added in v0.0.10
func FindPort(ctx context.Context, exec boil.ContextExecutor, portID string, selectCols ...string) (*Port, error)
FindPort retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Port) AddAssignments ¶ added in v0.0.10
func (o *Port) AddAssignments(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Assignment) error
AddAssignments adds the given related objects to the existing relationships of the port, optionally inserting them as new records. Appends related to o.R.Assignments. Sets related.R.Port appropriately.
func (*Port) Assignments ¶ added in v0.0.10
Assignments retrieves all the assignment's Assignments with an executor.
func (*Port) Delete ¶ added in v0.0.10
func (o *Port) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Port record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Port) Insert ¶ added in v0.0.10
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Port) LoadBalancer ¶ added in v0.0.10
LoadBalancer pointed to by the foreign key.
func (*Port) Reload ¶ added in v0.0.10
Reload refetches the object from the database using the primary keys with an executor.
func (*Port) SetLoadBalancer ¶ added in v0.0.10
func (o *Port) SetLoadBalancer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *LoadBalancer) error
SetLoadBalancer of the port to the related item. Sets o.R.LoadBalancer to related. Adds o to related.R.Ports.
func (*Port) Update ¶ added in v0.0.10
func (o *Port) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Port. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Port) Upsert ¶ added in v0.0.10
func (o *Port) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PortSlice ¶ added in v0.0.10
type PortSlice []*Port
PortSlice is an alias for a slice of pointers to Port. This should almost always be used instead of []Port.
func (PortSlice) DeleteAll ¶ added in v0.0.10
func (o PortSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.