Documentation ¶
Index ¶
Constants ¶
View Source
const ( NNSResolver = "nns" DNSResolver = "dns" )
Variables ¶
View Source
var ErrNoResolvers = errors.New("no resolvers")
ErrNoResolvers returns when trying to resolve container without any resolver.
Functions ¶
This section is empty.
Types ¶
type BucketResolver ¶
type BucketResolver struct {
// contains filtered or unexported fields
}
func NewBucketResolver ¶
func NewBucketResolver(resolverNames []string, cfg *Config) (*BucketResolver, error)
func (*BucketResolver) UpdateResolvers ¶
func (r *BucketResolver) UpdateResolvers(resolverNames []string, cfg *Config) error
type FrostFS ¶
type FrostFS interface { // SystemDNS reads system DNS network parameters of the FrostFS. // // It returns exactly on non-zero value. It returns any error encountered // which prevented the parameter from being read. SystemDNS(context.Context) (string, error) }
FrostFS represents virtual connection to the FrostFS network.
type Resolver ¶
type Resolver struct { Name string // contains filtered or unexported fields }
func NewDNSResolver ¶
func NewNNSResolver ¶
Click to show internal directories.
Click to hide internal directories.