Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for nmap (0.14 sec)

  1. internal/config/lambda/config.go

    // information about various lambda targets.
    type Config struct {
    	Webhook map[string]target.WebhookArgs `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    func NewConfig() Config {
    	// Make sure to initialize lambda targets
    	cfg := Config{
    		Webhook: make(map[string]target.WebhookArgs),
    	}
    	cfg.Webhook[defaultTarget] = target.WebhookArgs{}
    	return cfg
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  2. internal/logger/config.go

    		},
    	}
    )
    
    // Config console and http logger targets
    type Config struct {
    	Console      Console                 `json:"console"`
    	HTTP         map[string]http.Config  `json:"http"`
    	AuditWebhook map[string]http.Config  `json:"audit"`
    	AuditKafka   map[string]kafka.Config `json:"audit_kafka"`
    }
    
    // NewConfig - initialize new logger config.
    func NewConfig() Config {
    	cfg := Config{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. istioctl/pkg/config/config.go

    	"github.com/spf13/viper"
    
    	"istio.io/istio/istioctl/pkg/root"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/env"
    )
    
    // settableFlags are the flags used to istioctl
    var settableFlags = map[string]env.VariableInfo{
    	"istioNamespace":      env.Register("ISTIOCTL_ISTIONAMESPACE", constants.IstioSystemNamespace, "The istioctl --istioNamespace override"),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Jul 30 12:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. internal/config/identity/plugin/config.go

    		}, nil
    
    	default:
    		return AuthNResponse{}, fmt.Errorf("Invalid status code %d from auth plugin", resp.StatusCode)
    	}
    }
    
    // GetRoleInfo - returns ARN to policies map.
    func (o *AuthNPlugin) GetRoleInfo() map[arn.ARN]string {
    	return map[arn.ARN]string{
    		o.args.RoleARN: o.args.RolePolicy,
    	}
    }
    
    // checkConnectivity returns true if we are able to connect to the plugin
    // service.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  5. internal/config/policy/opa/config.go

    // IsAllowed - checks given policy args is allowed to continue the REST API.
    func (o *Opa) IsAllowed(args policy.Args) (bool, error) {
    	if o == nil {
    		return false, nil
    	}
    
    	// OPA input
    	body := make(map[string]interface{})
    	body["input"] = args
    
    	inputBytes, err := json.Marshal(body)
    	if err != nil {
    		return false, err
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.2K bytes
    - Viewed (1)
  6. internal/config/notify/config.go

    		AMQP:          make(map[string]target.AMQPArgs),
    		MQTT:          make(map[string]target.MQTTArgs),
    		NATS:          make(map[string]target.NATSArgs),
    		Redis:         make(map[string]target.RedisArgs),
    		MySQL:         make(map[string]target.MySQLArgs),
    		Kafka:         make(map[string]target.KafkaArgs),
    		Webhook:       make(map[string]target.WebhookArgs),
    		PostgreSQL:    make(map[string]target.PostgreSQLArgs),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  7. internal/config/config.go

    	}
    	return s.String()
    }
    
    // Merge environment values with on disk KVS, environment values overrides
    // anything on the disk.
    func Merge(cfgKVS map[string]KVS, envname string, defaultKVS KVS) map[string]KVS {
    	newCfgKVS := make(map[string]KVS)
    	for _, e := range env.List(envname) {
    		tgt := strings.TrimPrefix(e, envname+Default)
    		if tgt == envname {
    			tgt = Default
    		}
    		newCfgKVS[tgt] = defaultKVS
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  8. internal/config/policy/plugin/config.go

    func (o *AuthZPlugin) IsAllowed(args policy.Args) (bool, error) {
    	if o == nil {
    		return false, nil
    	}
    
    	// Access Management Plugin Input
    	body := make(map[string]interface{})
    	body["input"] = args
    
    	inputBytes, err := json.Marshal(body)
    	if err != nil {
    		return false, err
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top