Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cb
v3.6.1
Top Level Namespace
CB
Action
APIAction
BackupCapture
BackupList
BackupToken
Cacheable
ClassMethods
Client
ClusterCreateParams
CommonCreateParams
Error
FirewallRuleCreateParams
FirewallRuleUpdateParams
ForkCreateParams
Message
PeeringCreateParams
ReplicaCreateParams
SessionCreateParams
SessionIntentCreateParams
SessionIntentGetParams
TeamMemberCreateParams
ClusterCreate
ClusterDestroy
ClusterInfo
ClusterRename
ClusterResume
ClusterSuspend
ClusterURI
Completion
NoClientError
ConfigurationParameterAction
ConfigurationParameterGet
ConfigurationParameterListSupported
ConfigurationParameterReset
ConfigurationParameterSet
Credentials
Detach
Dirs
FirewallRuleAction
FirewallRuleAdd
FirewallRuleList
FirewallRuleRemove
FirewallRuleUpdate
Format
Identifier
Lib
Open
List
LogDestinationAdd
LogDestinationDestroy
LogDestinationList
Login
Logout
Logs
MaintenanceAction
MaintenanceCancel
MaintenanceCreate
MaintenanceUpdate
MaintenanceWindow
MaintenanceWindowUpdate
ManageFirewall
Model
AccessToken
Account
AWSBackrestCredential
AzureBackrestCredential
Backup
BackupToken
Cluster
ClusterStatus
State
ConfigurationParameter
FirewallRule
LogDestination
Network
Operation
Flavor
State
Peering
Plan
Provider
Region
Role
Session
SessionIntent
Team
TeamMember
NetworkAction
NetworkInfo
NetworkList
Open
PeeringAction
PeeringCreate
PeeringDelete
PeeringGet
PeeringList
Program
Error
Psql
QueryMenu
AvailableExtensions
CacheHitRates
Category
ConnectionManagementCountByStates
ConnectionManagementCountByUser
DatabaseSize
IndexesDuplicates
IndexesList
IndexesUnused
InstalledExtensions
LocksBlockingQueries
Menu
Metadata
MostConsumingQueries
OverOneMinuteQueries
Query
SlowestAverageQueries
TableSize
Restart
Role
RoleAction
RoleCreate
RoleDelete
RoleList
RoleUpdate
Scope
Spinner
Table
DefaultRenderer
TableBuilder
TailscaleAction
TailscaleConnect
TailscaleDisconnect
TeamAction
TeamCert
TeamCreate
TeamDestroy
TeamInfo
TeamList
TeamMemberAction
TeamMemberAdd
TeamMemberInfo
TeamMemberList
TeamMemberRemove
TeamMemberUpdate
TeamUpdate
Tempkey
Token
Tree
Renderer
Types
Tree
TreeNode
UpdateUpgradeAction
Upgrade
UpgradeAction
UpgradeCancel
UpgradeStart
UpgradeStatus
UpgradeUpdate
WhoAmI
Colorize
Object
IO
OptionParser
Scope
Bloat
Blocking
CacheHit
Calls
Check
Metadata
Connections
IndexHit
IndexSize
Locks
LongRunning
Mandelbrot
Meta
Outliers
SeqScans
Table
TableInfo
UnusedIndexes
VacuumStats
Time
URI
Generated using Crystal 1.14.0
2024-11-06 07:34:19 UTC
struct
CB::
Credentials
CB::Credentials
Struct
Value
Object
Included Modules
JSON::Serializable
Defined in:
cb/creds.cr
Constructors
.new
(pull : JSON::PullParser)
.new
(account : String, secret : Nil | String =
nil
)
Class Method Summary
.destroy
: Bool
.get
: String | Nil
.store
(account : String, secret : String) : Bool
Instance Method Summary
#account
: String
#secret
: String | Nil
#secret=
(secret : String | Nil)
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
def self.
new
(account : String, secret : Nil | String =
nil
)
#
[
View source
]
Class Method Detail
def self.
destroy
: Bool
#
[
View source
]
def self.
get
: String | Nil
#
[
View source
]
def self.
store
(account : String, secret : String) : Bool
#
[
View source
]
Instance Method Detail
def
account
: String
#
[
View source
]
def
secret
: String | Nil
#
[
View source
]
def
secret=
(secret : String | Nil)
#
[
View source
]