enumerate

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2025 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiType

type ApiType string
const (
	ApiTypeGrpc      ApiType = "Grpc"
	ApiTypeGraphQl   ApiType = "GraphQL"
	ApiTypeSwaggerV2 ApiType = "SwaggerV2"
	ApiTypeSwaggerV3 ApiType = "SwaggerV3"
)

func NewApiTypeFromString

func NewApiTypeFromString(s string) (ApiType, error)

func (ApiType) Ptr

func (a ApiType) Ptr() *ApiType

type AppEnumerateK8SAttemptInfo

type AppEnumerateK8SAttemptInfo struct {
	Path    string              `json:"path" url:"path"`
	Request *common.RequestInfo `json:"request,omitempty" url:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*AppEnumerateK8SAttemptInfo) GetExtraProperties

func (a *AppEnumerateK8SAttemptInfo) GetExtraProperties() map[string]interface{}

func (*AppEnumerateK8SAttemptInfo) String

func (a *AppEnumerateK8SAttemptInfo) String() string

func (*AppEnumerateK8SAttemptInfo) UnmarshalJSON

func (a *AppEnumerateK8SAttemptInfo) UnmarshalJSON(data []byte) error

type AppEnumerateK8SReport

type AppEnumerateK8SReport struct {
	Target   string                        `json:"target" url:"target"`
	Attempts []*AppEnumerateK8SAttemptInfo `json:"attempts,omitempty" url:"attempts,omitempty"`
	Errors   []string                      `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*AppEnumerateK8SReport) GetExtraProperties

func (a *AppEnumerateK8SReport) GetExtraProperties() map[string]interface{}

func (*AppEnumerateK8SReport) String

func (a *AppEnumerateK8SReport) String() string

func (*AppEnumerateK8SReport) UnmarshalJSON

func (a *AppEnumerateK8SReport) UnmarshalJSON(data []byte) error

type GraphQlData

type GraphQlData struct {
	Schema *GraphQlSchemaData `json:"__schema,omitempty" url:"__schema,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphQlData) GetExtraProperties

func (g *GraphQlData) GetExtraProperties() map[string]interface{}

func (*GraphQlData) String

func (g *GraphQlData) String() string

func (*GraphQlData) UnmarshalJSON

func (g *GraphQlData) UnmarshalJSON(data []byte) error

type GraphQlField

type GraphQlField struct {
	Name string `json:"name" url:"name"`
	// contains filtered or unexported fields
}

func (*GraphQlField) GetExtraProperties

func (g *GraphQlField) GetExtraProperties() map[string]interface{}

func (*GraphQlField) String

func (g *GraphQlField) String() string

func (*GraphQlField) UnmarshalJSON

func (g *GraphQlField) UnmarshalJSON(data []byte) error

type GraphQlQuery

type GraphQlQuery struct {
	Type   string   `json:"type" url:"type"`
	Fields []string `json:"fields,omitempty" url:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphQlQuery) GetExtraProperties

func (g *GraphQlQuery) GetExtraProperties() map[string]interface{}

func (*GraphQlQuery) String

func (g *GraphQlQuery) String() string

func (*GraphQlQuery) UnmarshalJSON

func (g *GraphQlQuery) UnmarshalJSON(data []byte) error

type GraphQlSchema

type GraphQlSchema struct {
	Data *GraphQlData `json:"data,omitempty" url:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphQlSchema) GetExtraProperties

func (g *GraphQlSchema) GetExtraProperties() map[string]interface{}

func (*GraphQlSchema) String

func (g *GraphQlSchema) String() string

func (*GraphQlSchema) UnmarshalJSON

func (g *GraphQlSchema) UnmarshalJSON(data []byte) error

type GraphQlSchemaData

type GraphQlSchemaData struct {
	Types []*GraphQlType `json:"types,omitempty" url:"types,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphQlSchemaData) GetExtraProperties

func (g *GraphQlSchemaData) GetExtraProperties() map[string]interface{}

func (*GraphQlSchemaData) String

func (g *GraphQlSchemaData) String() string

func (*GraphQlSchemaData) UnmarshalJSON

func (g *GraphQlSchemaData) UnmarshalJSON(data []byte) error

type GraphQlType

type GraphQlType struct {
	Name        string          `json:"name" url:"name"`
	Kind        string          `json:"kind" url:"kind"`
	Description *string         `json:"description,omitempty" url:"description,omitempty"`
	Fields      []*GraphQlField `json:"fields,omitempty" url:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphQlType) GetExtraProperties

func (g *GraphQlType) GetExtraProperties() map[string]interface{}

func (*GraphQlType) String

func (g *GraphQlType) String() string

func (*GraphQlType) UnmarshalJSON

func (g *GraphQlType) UnmarshalJSON(data []byte) error

type OAuthFlow

type OAuthFlow struct {
	AuthorizationUrl *string           `json:"authorizationUrl,omitempty" url:"authorizationUrl,omitempty"`
	TokenUrl         *string           `json:"tokenUrl,omitempty" url:"tokenUrl,omitempty"`
	RefreshUrl       *string           `json:"refreshUrl,omitempty" url:"refreshUrl,omitempty"`
	Scopes           map[string]string `json:"scopes,omitempty" url:"scopes,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthFlow) GetExtraProperties

func (o *OAuthFlow) GetExtraProperties() map[string]interface{}

func (*OAuthFlow) String

func (o *OAuthFlow) String() string

func (*OAuthFlow) UnmarshalJSON

func (o *OAuthFlow) UnmarshalJSON(data []byte) error

type OAuthFlows

type OAuthFlows struct {
	Implicit          *OAuthFlow `json:"implicit,omitempty" url:"implicit,omitempty"`
	Password          *OAuthFlow `json:"password,omitempty" url:"password,omitempty"`
	ClientCredentials *OAuthFlow `json:"clientCredentials,omitempty" url:"clientCredentials,omitempty"`
	AuthorizationCode *OAuthFlow `json:"authorizationCode,omitempty" url:"authorizationCode,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthFlows) GetExtraProperties

func (o *OAuthFlows) GetExtraProperties() map[string]interface{}

func (*OAuthFlows) String

func (o *OAuthFlows) String() string

func (*OAuthFlows) UnmarshalJSON

func (o *OAuthFlows) UnmarshalJSON(data []byte) error

type RequestSchema

type RequestSchema struct {
	Type                 []string          `json:"type,omitempty" url:"type,omitempty"`
	Properties           []*SchemaProperty `json:"properties,omitempty" url:"properties,omitempty"`
	Required             []string          `json:"required,omitempty" url:"required,omitempty"`
	Items                *RequestSchema    `json:"items,omitempty" url:"items,omitempty"`
	AdditionalProperties *RequestSchema    `json:"additionalProperties,omitempty" url:"additionalProperties,omitempty"`
	AllOf                []*RequestSchema  `json:"allOf,omitempty" url:"allOf,omitempty"`
	OneOf                []*RequestSchema  `json:"oneOf,omitempty" url:"oneOf,omitempty"`
	AnyOf                []*RequestSchema  `json:"anyOf,omitempty" url:"anyOf,omitempty"`
	Not                  *RequestSchema    `json:"not,omitempty" url:"not,omitempty"`
	Description          *string           `json:"description,omitempty" url:"description,omitempty"`
	Format               *string           `json:"format,omitempty" url:"format,omitempty"`
	Default              *string           `json:"default,omitempty" url:"default,omitempty"`
	Example              interface{}       `json:"example,omitempty" url:"example,omitempty"`
	Enum                 []interface{}     `json:"enum,omitempty" url:"enum,omitempty"`
	MultipleOf           *float64          `json:"multipleOf,omitempty" url:"multipleOf,omitempty"`
	Maximum              *float64          `json:"maximum,omitempty" url:"maximum,omitempty"`
	ExclusiveMaximum     *bool             `json:"exclusiveMaximum,omitempty" url:"exclusiveMaximum,omitempty"`
	Minimum              *float64          `json:"minimum,omitempty" url:"minimum,omitempty"`
	ExclusiveMinimum     *bool             `json:"exclusiveMinimum,omitempty" url:"exclusiveMinimum,omitempty"`
	MaxLength            *int              `json:"maxLength,omitempty" url:"maxLength,omitempty"`
	MinLength            *int              `json:"minLength,omitempty" url:"minLength,omitempty"`
	Pattern              *string           `json:"pattern,omitempty" url:"pattern,omitempty"`
	MaxItems             *int              `json:"maxItems,omitempty" url:"maxItems,omitempty"`
	MinItems             *int              `json:"minItems,omitempty" url:"minItems,omitempty"`
	UniqueItems          *bool             `json:"uniqueItems,omitempty" url:"uniqueItems,omitempty"`
	MaxProperties        *int              `json:"maxProperties,omitempty" url:"maxProperties,omitempty"`
	MinProperties        *int              `json:"minProperties,omitempty" url:"minProperties,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestSchema) GetExtraProperties

func (r *RequestSchema) GetExtraProperties() map[string]interface{}

func (*RequestSchema) String

func (r *RequestSchema) String() string

func (*RequestSchema) UnmarshalJSON

func (r *RequestSchema) UnmarshalJSON(data []byte) error

type Route

type Route struct {
	Path               string               `json:"path" url:"path"`
	QueryParams        []string             `json:"queryParams,omitempty" url:"queryParams,omitempty"`
	Security           *SecurityRequirement `json:"security,omitempty" url:"security,omitempty"`
	Method             string               `json:"method" url:"method"`
	Type               ApiType              `json:"type" url:"type"`
	Description        string               `json:"description" url:"description"`
	ResponseProperties map[string][]string  `json:"responseProperties,omitempty" url:"responseProperties,omitempty"`
	RequestSchema      *RequestSchema       `json:"requestSchema,omitempty" url:"requestSchema,omitempty"`
	// contains filtered or unexported fields
}

func (*Route) GetExtraProperties

func (r *Route) GetExtraProperties() map[string]interface{}

func (*Route) String

func (r *Route) String() string

func (*Route) UnmarshalJSON

func (r *Route) UnmarshalJSON(data []byte) error

type RoutesReport

type RoutesReport struct {
	Target          string                                 `json:"target" url:"target"`
	AppType         ApiType                                `json:"appType" url:"appType"`
	BaseEndpointUrl string                                 `json:"baseEndpointUrl" url:"baseEndpointUrl"`
	Version         *string                                `json:"version,omitempty" url:"version,omitempty"`
	SchemaUrl       *string                                `json:"schemaUrl,omitempty" url:"schemaUrl,omitempty"`
	Routes          []*Route                               `json:"routes,omitempty" url:"routes,omitempty"`
	SecuritySchemes map[SecuritySchemeName]*SecurityScheme `json:"securitySchemes,omitempty" url:"securitySchemes,omitempty"`
	Security        []*SecurityRequirement                 `json:"security,omitempty" url:"security,omitempty"`
	Queries         []*GraphQlQuery                        `json:"queries,omitempty" url:"queries,omitempty"`
	Raw             string                                 `json:"raw" url:"raw"`
	Errors          []string                               `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*RoutesReport) GetExtraProperties

func (r *RoutesReport) GetExtraProperties() map[string]interface{}

func (*RoutesReport) String

func (r *RoutesReport) String() string

func (*RoutesReport) UnmarshalJSON

func (r *RoutesReport) UnmarshalJSON(data []byte) error

type SchemaProperty

type SchemaProperty struct {
	Name                 string            `json:"name" url:"name"`
	Type                 []string          `json:"type,omitempty" url:"type,omitempty"`
	Format               *string           `json:"format,omitempty" url:"format,omitempty"`
	Description          *string           `json:"description,omitempty" url:"description,omitempty"`
	Required             *bool             `json:"required,omitempty" url:"required,omitempty"`
	Items                *RequestSchema    `json:"items,omitempty" url:"items,omitempty"`
	Properties           []*SchemaProperty `json:"properties,omitempty" url:"properties,omitempty"`
	AdditionalProperties *RequestSchema    `json:"additionalProperties,omitempty" url:"additionalProperties,omitempty"`
	Enum                 []string          `json:"enum,omitempty" url:"enum,omitempty"`
	Example              *string           `json:"example,omitempty" url:"example,omitempty"`
	// contains filtered or unexported fields
}

func (*SchemaProperty) GetExtraProperties

func (s *SchemaProperty) GetExtraProperties() map[string]interface{}

func (*SchemaProperty) String

func (s *SchemaProperty) String() string

func (*SchemaProperty) UnmarshalJSON

func (s *SchemaProperty) UnmarshalJSON(data []byte) error

type SecurityRequirement

type SecurityRequirement struct {
	Schemes map[string][]string `json:"schemes,omitempty" url:"schemes,omitempty"`
	// contains filtered or unexported fields
}

func (*SecurityRequirement) GetExtraProperties

func (s *SecurityRequirement) GetExtraProperties() map[string]interface{}

func (*SecurityRequirement) String

func (s *SecurityRequirement) String() string

func (*SecurityRequirement) UnmarshalJSON

func (s *SecurityRequirement) UnmarshalJSON(data []byte) error

type SecurityScheme

type SecurityScheme struct {
	Type             SecuritySchemeType  `json:"type" url:"type"`
	Description      *string             `json:"description,omitempty" url:"description,omitempty"`
	Name             *SecuritySchemeName `json:"name,omitempty" url:"name,omitempty"`
	In               *string             `json:"in,omitempty" url:"in,omitempty"`
	Scheme           *string             `json:"scheme,omitempty" url:"scheme,omitempty"`
	BearerFormat     *string             `json:"bearerFormat,omitempty" url:"bearerFormat,omitempty"`
	Flow             *string             `json:"flow,omitempty" url:"flow,omitempty"`
	AuthorizationUrl *string             `json:"authorizationUrl,omitempty" url:"authorizationUrl,omitempty"`
	TokenUrl         *string             `json:"tokenUrl,omitempty" url:"tokenUrl,omitempty"`
	Scopes           map[string]string   `json:"scopes,omitempty" url:"scopes,omitempty"`
	Flows            *OAuthFlows         `json:"flows,omitempty" url:"flows,omitempty"`
	OpenIdConnectUrl *string             `json:"openIdConnectUrl,omitempty" url:"openIdConnectUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*SecurityScheme) GetExtraProperties

func (s *SecurityScheme) GetExtraProperties() map[string]interface{}

func (*SecurityScheme) String

func (s *SecurityScheme) String() string

func (*SecurityScheme) UnmarshalJSON

func (s *SecurityScheme) UnmarshalJSON(data []byte) error

type SecuritySchemeName

type SecuritySchemeName = string

type SecuritySchemeType

type SecuritySchemeType string
const (
	SecuritySchemeTypeBasic         SecuritySchemeType = "basic"
	SecuritySchemeTypeApiKey        SecuritySchemeType = "apiKey"
	SecuritySchemeTypeHttp          SecuritySchemeType = "http"
	SecuritySchemeTypeOauth2        SecuritySchemeType = "oauth2"
	SecuritySchemeTypeOpenIdConnect SecuritySchemeType = "openIdConnect"
	SecuritySchemeTypeMutualTls     SecuritySchemeType = "mutualTLS"
)

func NewSecuritySchemeTypeFromString

func NewSecuritySchemeTypeFromString(s string) (SecuritySchemeType, error)

func (SecuritySchemeType) Ptr

Jump to

Keyboard shortcuts

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