api

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buildpack

type Buildpack struct {
	Name string `json:"name"`
	ID   string `json:"guid"`
}

Buildpack --

type MessageHandler

type MessageHandler struct {
	UaaCli *core.UaaCli
	Config *core.AppConfig
	// contains filtered or unexported fields
}

MessageHandler --

func NewMessageHandler

func NewMessageHandler(
	pConf *core.AppConfig,
	pRouter *mux.Router,
	pQueue chan *gomail.Message) (*MessageHandler, error)

NewMessageHandler --

type MessageReqCtx

type MessageReqCtx struct {
	CCCli          core.CFClient
	UserMails      map[string]string
	ReqData        MessageRequest
	ResData        MessageResponse
	NbMaxGetParams int
	// contains filtered or unexported fields
}

MessageReqCtx --

type MessageRequest

type MessageRequest struct {
	RecipientsRequest
	Subject string `json:"subject"`
	Message string `json:"message"`
}

MessageRequest --

type MessageResponse

type MessageResponse struct {
	RecipientsResponse
	Subject string `json:"subject"`
	Message string `json:"message"`
	From    string `json:"from"`
}

MessageResponse --

type ObjectHandler

type ObjectHandler struct {
	Config    *core.AppConfig
	CCCreator func(*http.Request) core.CFClient
}

ObjectHandler --

func NewObjectHandler

func NewObjectHandler(pConf *core.AppConfig, pRouter *mux.Router) *ObjectHandler

NewObjectHandler --

type Org

type Org struct {
	Name string `json:"name"`
	ID   string `json:"guid"`
}

Org --

type RecipientsRequest added in v1.1.0

type RecipientsRequest struct {
	Users      []string `json:"users"`
	Spaces     []string `json:"spaces"`
	Orgs       []string `json:"orgs"`
	Services   []string `json:"services"`
	BuildPacks []string `json:"buildpacks"`
	Recipients []string `json:"recipients"`
}

RecipientsRequest --

type RecipientsResponse added in v1.1.0

type RecipientsResponse struct {
	Recipients []string `json:"recipients"`
}

RecipientsResponse --

type Service

type Service struct {
	Name string `json:"name"`
	ID   string `json:"guid"`
}

Service --

type Space

type Space struct {
	Name  string `json:"name"`
	ID    string `json:"guid"`
	OrgID string `json:"org_guid"`
}

Space --

type User

type User struct {
	Name string `json:"name"`
	ID   string `json:"guid"`
}

User --

Jump to

Keyboard shortcuts

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