schema

package
v1.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoutingRule

type RoutingRule struct {
	// Name of the routing rule
	Name string `json:"name"`

	// Description of the routing rule
	Description string `json:"description"`

	// The mode describe how to hande with mathing requests
	// Possible values: "BLOCK" or "ALLOW"
	Mode RoutingRuleMode `json:"mode"`

	// Regular expressions used to identify request paths that are allowed or blocked (depending on above mode)
	Matchers []string `json:"matchers"`
}

RoutingRule is like a filter you can apply to groups in terms of security access and general component retrieval, and can reduce the number of repositories within a group accessed in order to retrieve an component.

type RoutingRuleMode

type RoutingRuleMode string
const (
	RoutingRuleModeAllow RoutingRuleMode = "ALLOW"
	RoutingRuleModeBlock RoutingRuleMode = "BLOCK"
)

func (RoutingRuleMode) IsValid

func (m RoutingRuleMode) IsValid() error

IsValid checks the values of the enum RoutingRuleMode

type Script

type Script struct {
	Name    string `json:"name"`
	Content string `json:"content"`
	Type    string `json:"type"`
}

Script describe a groovy script object that can be run on the nexus server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL