models

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeHost

type CodeHost struct {
	ID                 int            `bson:"id"                              json:"id"`
	Type               string         `bson:"type"                            json:"type"`
	Address            string         `bson:"address"                         json:"address"`
	IsReady            string         `bson:"is_ready"                        json:"is_ready"`
	AccessToken        string         `bson:"access_token"                    json:"access_token"`
	RefreshToken       string         `bson:"refresh_token"                   json:"refresh_token"`
	Namespace          string         `bson:"namespace"                       json:"namespace"`
	ApplicationId      string         `bson:"application_id"                  json:"application_id"`
	Region             string         `bson:"region,omitempty"                json:"region,omitempty"`
	Username           string         `bson:"username,omitempty"              json:"username,omitempty"`
	Password           string         `bson:"password,omitempty"              json:"password,omitempty"`
	ClientSecret       string         `bson:"client_secret"                   json:"client_secret"`
	Alias              string         `bson:"alias,omitempty"                 json:"alias,omitempty"`
	AuthType           types.AuthType `bson:"auth_type,omitempty"             json:"auth_type,omitempty"`
	SSHKey             string         `bson:"ssh_key,omitempty"               json:"ssh_key,omitempty"`
	PrivateAccessToken string         `bson:"private_access_token,omitempty"  json:"private_access_token,omitempty"`
	CreatedAt          int64          `bson:"created_at"                      json:"created_at"`
	UpdatedAt          int64          `bson:"updated_at"                      json:"updated_at"`
	DeletedAt          int64          `bson:"deleted_at"                      json:"deleted_at"`
	EnableProxy        bool           `bson:"enable_proxy"                    json:"enable_proxy"`
}

func (CodeHost) TableName

func (CodeHost) TableName() string

Jump to

Keyboard shortcuts

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