Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewOperatorDNS (0.19 sec)

  1. internal/config/dns/operator_dns.go

    // RootCAs - add custom trust certs pool
    func RootCAs(certPool *x509.CertPool) OperatorOption {
    	return func(args *OperatorDNS) {
    		args.rootCAs = certPool
    	}
    }
    
    // NewOperatorDNS - initialize a new K8S Operator DNS set/unset values.
    func NewOperatorDNS(endpoint string, setters ...OperatorOption) (Store, error) {
    	if endpoint == "" {
    		return nil, errors.New("invalid argument")
    	}
    
    	args := &OperatorDNS{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  2. cmd/config-current.go

    		configLogIf(ctx, fmt.Errorf("Unable to initialize remote webhook DNS config %w", err))
    	}
    	if err == nil && dnsURL != "" {
    		bootstrapTraceMsg("initialize remote bucket DNS store")
    		globalDNSConfig, err = dns.NewOperatorDNS(dnsURL,
    			dns.Authentication(dnsUser, dnsPass),
    			dns.RootCAs(globalRootCAs))
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to initialize remote webhook DNS config %w", err))
    		}
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 30.9K bytes
    - Viewed (0)
Back to top