struct CB::Role

Defined in:

cb/types.cr

Constant Summary

VALID_CLUSTER_ROLES = Set {"application", "postgres", "user"}

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String = "user") #

[View source]

Instance Method Detail

def ==(other : String) #

[View source]
def name : String #

[View source]
def to_s(io : IO) #
Description copied from struct Struct

Same as #inspect(io).


[View source]
def valid? #

[View source]