Documentation
¶
Index ¶
- Variables
- func CreateNewApplication(w http.ResponseWriter, r *http.Request)
- func DeleteApplication(w http.ResponseWriter, r *http.Request)
- func Init(listers controller.Listers)
- func ReturnAllApplications(w http.ResponseWriter, r *http.Request)
- func ReturnSingleApplication(w http.ResponseWriter, r *http.Request)
- func UpdateApplication(w http.ResponseWriter, r *http.Request)
- type Application
- type ModelFinder
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Applications []Application
)
Applications is the collection of applications
Functions ¶
func CreateNewApplication ¶
func CreateNewApplication(w http.ResponseWriter, r *http.Request)
CreateNewApplication creates a new application
func DeleteApplication ¶
func DeleteApplication(w http.ResponseWriter, r *http.Request)
DeleteApplication deletes an application
func ReturnAllApplications ¶
func ReturnAllApplications(w http.ResponseWriter, r *http.Request)
ReturnAllApplications returns a list of all of the applications
func ReturnSingleApplication ¶
func ReturnSingleApplication(w http.ResponseWriter, r *http.Request)
ReturnSingleApplication returns a single application
func UpdateApplication ¶
func UpdateApplication(w http.ResponseWriter, r *http.Request)
UpdateApplication updates an existing application
Types ¶
type Application ¶
type Application struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Model string `json:"model"`
Binding string `json:"binding"`
Status string `json:"status"`
}
Application represents an application in Verrazzano
type ModelFinder ¶
type ModelFinder struct {
Model *v1beta1.VerrazzanoModel
BindingMatch bool
}
ModelFinder keeps track of matching models.
Click to show internal directories.
Click to hide internal directories.