v2

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by Ice-cream-maker DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterToken

type ClusterToken struct {
	ClusterToken_property `json:",inline"` //inline property

	ID      int64            `column:"id"      json:"id,omitempty"`   // pk
	Uuid    string           `column:"uuid"    json:"uuid,omitempty"` // uuid
	Created time.Time        `column:"created" json:"created,omitempty"`
	Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"string"`
	Deleted vanilla.NullTime `column:"deleted" json:"deleted,omitempty" swaggertype:"string"`
}

DATABASE SCHEMA: ClusterToken

func (ClusterToken) ColumnNames

func (ClusterToken) ColumnNames() []string

func (ClusterToken) ColumnNamesWithAlias

func (ClusterToken) ColumnNamesWithAlias() []string

func (ClusterToken) ColumnNamesWithDefault

func (ClusterToken) ColumnNamesWithDefault() []string

func (*ClusterToken) Ptrs

func (row *ClusterToken) Ptrs() []interface{}

func (*ClusterToken) Scan

func (row *ClusterToken) Scan(scanner Scanner) error

func (ClusterToken) Values

func (row ClusterToken) Values() []interface{}

type ClusterToken_essential

type ClusterToken_essential struct {
	Name        string             `column:"name"         json:"name,omitempty"`
	Summary     vanilla.NullString `column:"summary"      json:"summary,omitempty"      swaggertype:"string"`
	ClusterUuid string             `column:"cluster_uuid" json:"cluster_uuid,omitempty"`
}

type ClusterToken_property

type ClusterToken_property struct {
	ClusterToken_essential `json:",inline"`

	Token          cryptov2.CryptoString `column:"token"           json:"token,omitempty"`
	IssuedAtTime   time.Time             `column:"issued_at_time"  json:"issued_at_time,omitempty"`
	ExpirationTime time.Time             `column:"expiration_time" json:"expiration_time,omitempty"`
}

ClusterToken Property

func (ClusterToken_property) ColumnNames

func (ClusterToken_property) ColumnNames() []string

func (ClusterToken_property) ColumnNamesWithAlias

func (ClusterToken_property) ColumnNamesWithAlias() []string

func (ClusterToken_property) ColumnNamesWithDefault

func (ClusterToken_property) ColumnNamesWithDefault() []string

func (*ClusterToken_property) Ptrs

func (row *ClusterToken_property) Ptrs() []interface{}

func (*ClusterToken_property) Scan

func (row *ClusterToken_property) Scan(scanner Scanner) error

func (ClusterToken_property) TableName

func (ClusterToken_property) TableName() string

func (ClusterToken_property) Values

func (row ClusterToken_property) Values() []interface{}

type HttpReq_ClusterToken_create

type HttpReq_ClusterToken_create struct {
	Uuid        string  `json:"uuid,omitempty"` //optional
	Name        string  `json:"name,omitempty"`
	Summary     *string `json:"summary,omitempty"`
	ClusterUuid string  `json:"cluster_uuid,omitempty"`
}

type HttpReq_ClusterToken_update

type HttpReq_ClusterToken_update struct {
	Name    string  `json:"name,omitempty"`
	Summary *string `json:"summary,omitempty"`
}

type HttpRsp_ClusterToken

type HttpRsp_ClusterToken struct {
	ClusterToken `json:",inline"`
}

type Scanner

type Scanner interface {
	Scan(dest ...interface{}) error
}

Jump to

Keyboard shortcuts

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