staticdnsentry

package
v8.0.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(w http.ResponseWriter, r *http.Request)

Create will add a new StaticDNSEntry entity into the database, for api v5.0.

func Delete

func Delete(w http.ResponseWriter, r *http.Request)

Delete removes a staticDNSEntry from the database, for api v5.0.

func Get

func Get(w http.ResponseWriter, r *http.Request)

Get : function to read the staticDNSEntries, for api version 5.0.

func Update

func Update(w http.ResponseWriter, r *http.Request)

Update will modify an existing StaticDNSEntry entity in the database, for api v5.0.

func Validate

func Validate(staticDNSEntry tc.StaticDNSEntryV5, tx *sql.Tx) (error, error)

Validate validates a statisDNSEntry entity and makes sure that all the supplied fields are valid.

Types

type TOStaticDNSEntry

type TOStaticDNSEntry struct {
	api.APIInfoImpl `json:"-"`
	tc.StaticDNSEntryNullable
}

func (*TOStaticDNSEntry) Create

func (en *TOStaticDNSEntry) Create() (error, error, int)

func (*TOStaticDNSEntry) Delete

func (en *TOStaticDNSEntry) Delete() (error, error, int)

func (*TOStaticDNSEntry) DeleteQuery

func (v *TOStaticDNSEntry) DeleteQuery() string

func (TOStaticDNSEntry) GetAuditName

func (staticDNSEntry TOStaticDNSEntry) GetAuditName() string

func (TOStaticDNSEntry) GetKeyFieldsInfo

func (staticDNSEntry TOStaticDNSEntry) GetKeyFieldsInfo() []api.KeyFieldInfo

func (TOStaticDNSEntry) GetKeys

func (staticDNSEntry TOStaticDNSEntry) GetKeys() (map[string]interface{}, bool)

Implementation of the Identifier, Validator interface functions

func (*TOStaticDNSEntry) GetLastUpdated

func (v *TOStaticDNSEntry) GetLastUpdated() (*time.Time, bool, error)

func (TOStaticDNSEntry) GetType

func (staticDNSEntry TOStaticDNSEntry) GetType() string

func (*TOStaticDNSEntry) InsertQuery

func (v *TOStaticDNSEntry) InsertQuery() string

func (*TOStaticDNSEntry) NewReadObj

func (v *TOStaticDNSEntry) NewReadObj() interface{}

func (*TOStaticDNSEntry) ParamColumns

func (v *TOStaticDNSEntry) ParamColumns() map[string]dbhelpers.WhereColumnInfo

func (*TOStaticDNSEntry) Read

func (en *TOStaticDNSEntry) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)

func (*TOStaticDNSEntry) SelectMaxLastUpdatedQuery

func (v *TOStaticDNSEntry) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string

func (*TOStaticDNSEntry) SelectQuery

func (v *TOStaticDNSEntry) SelectQuery() string

func (*TOStaticDNSEntry) SetKeys

func (staticDNSEntry *TOStaticDNSEntry) SetKeys(keys map[string]interface{})

func (*TOStaticDNSEntry) SetLastUpdated

func (v *TOStaticDNSEntry) SetLastUpdated(t tc.TimeNoMod)

func (*TOStaticDNSEntry) Update

func (en *TOStaticDNSEntry) Update(h http.Header) (error, error, int)

func (*TOStaticDNSEntry) UpdateQuery

func (v *TOStaticDNSEntry) UpdateQuery() string

func (TOStaticDNSEntry) Validate

func (staticDNSEntry TOStaticDNSEntry) Validate() (error, error)

Validate fulfills the api.Validator interface.

Jump to

Keyboard shortcuts

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