models

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 8 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	GetRoutes() Routes
}

Controller Pattern of an rest/stream controller

type Env

type Env struct {
	UseSwagger                                   bool
	RadixDNSZone                                 string
	RadixContainerRegistry                       string
	RadixClusterName                             string
	RadixActiveClusterEgressIps                  string
	RadixAppName                                 string
	RadixEnvironment                             string
	RadixComponentName                           string
	RadixDeploymentName                          string
	RadixDeploymentNamespace                     string
	RadixJobSchedulersPerEnvironmentHistoryLimit int
	RadixPort                                    string
	RadixDefaultCpuLimit                         string
	RadixDefaultMemoryLimit                      string
	//RadixBatchSchedulerImageFullName The name of the Radix batch cheduler image, including comtainer repository and tag
	RadixBatchSchedulerImageFullName string
}

Env instance variables

func NewEnv

func NewEnv() *Env

NewEnv Constructor

type RadixHandlerFunc

type RadixHandlerFunc func(http.ResponseWriter, *http.Request)

RadixHandlerFunc Pattern for handler functions

type Route

type Route struct {
	Path        string
	Method      string
	HandlerFunc RadixHandlerFunc
}

Route Describe route

type Routes

type Routes []Route

Routes Holder of all routes

Directories

Path Synopsis
Package notifications is a generated GoMock package.
Package notifications is a generated GoMock package.
v1

Jump to

Keyboard shortcuts

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