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 ContainerResolver ¶
type ContainerResolver struct {
// contains filtered or unexported fields
}
func NewContainerResolver ¶
func NewContainerResolver(resolverNames []string, cfg *Config) (*ContainerResolver, error)
func (*ContainerResolver) UpdateResolvers ¶
func (r *ContainerResolver) UpdateResolvers(resolverNames []string, cfg *Config) error
type FrostFS ¶
type FrostFS interface { // SystemDNS reads system DNS network parameters of the FrostFS. // // Returns exactly on non-zero value. Returns any error encountered // which prevented the parameter to be read. SystemDNS(context.Context) (string, error) }
FrostFS represents virtual connection to the FrostFS network.
type FrostFSResolver ¶
type FrostFSResolver struct {
// contains filtered or unexported fields
}
FrostFSResolver represents virtual connection to the FrostFS network. It implements resolver.FrostFS.
func NewFrostFSResolver ¶
func NewFrostFSResolver(p *pool.Pool) *FrostFSResolver
NewFrostFSResolver creates new FrostFSResolver using provided pool.Pool.
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.