Documentation
¶
Index ¶
- type Application
- type ArgoServer
- func (argoServer *ArgoServer) CreateApplication(w http.ResponseWriter, r *http.Request)
- func (argoServer *ArgoServer) DeleteApplication(w http.ResponseWriter, r *http.Request)
- func (argoServer *ArgoServer) DeployApplication(w http.ResponseWriter, r *http.Request)
- func (argoServer *ArgoServer) GetApplication(w http.ResponseWriter, r *http.Request)
- func (argoServer *ArgoServer) GetApplicationResource(w http.ResponseWriter, r *http.Request)
- func (argoServer *ArgoServer) GetApplicationTree(w http.ResponseWriter, r *http.Request)
- func (argoServer *ArgoServer) GetContainerLog(w http.ResponseWriter, r *http.Request)
- func (argoServer *ArgoServer) GetRepository(w http.ResponseWriter, r *http.Request)
- func (argoServer *ArgoServer) ListResourceEvents(w http.ResponseWriter, r *http.Request)
- func (argoServer *ArgoServer) ResumeRollout(w http.ResponseWriter, r *http.Request)
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
type ArgoServer ¶
type ArgoServer struct { R *mux.Router Applications map[string]*Application }
func NewArgoServer ¶
func NewArgoServer() *ArgoServer
func (*ArgoServer) CreateApplication ¶
func (argoServer *ArgoServer) CreateApplication(w http.ResponseWriter, r *http.Request)
func (*ArgoServer) DeleteApplication ¶
func (argoServer *ArgoServer) DeleteApplication(w http.ResponseWriter, r *http.Request)
func (*ArgoServer) DeployApplication ¶
func (argoServer *ArgoServer) DeployApplication(w http.ResponseWriter, r *http.Request)
func (*ArgoServer) GetApplication ¶
func (argoServer *ArgoServer) GetApplication(w http.ResponseWriter, r *http.Request)
func (*ArgoServer) GetApplicationResource ¶
func (argoServer *ArgoServer) GetApplicationResource(w http.ResponseWriter, r *http.Request)
func (*ArgoServer) GetApplicationTree ¶
func (argoServer *ArgoServer) GetApplicationTree(w http.ResponseWriter, r *http.Request)
func (*ArgoServer) GetContainerLog ¶
func (argoServer *ArgoServer) GetContainerLog(w http.ResponseWriter, r *http.Request)
func (*ArgoServer) GetRepository ¶
func (argoServer *ArgoServer) GetRepository(w http.ResponseWriter, r *http.Request)
func (*ArgoServer) ListResourceEvents ¶
func (argoServer *ArgoServer) ListResourceEvents(w http.ResponseWriter, r *http.Request)
func (*ArgoServer) ResumeRollout ¶
func (argoServer *ArgoServer) ResumeRollout(w http.ResponseWriter, r *http.Request)
type Repository ¶
type Repository struct { // Type ssh Type string `json:"type"` // Name application name Name string `json:"name"` // Repo git repository url Repo string `json:"repo"` // SSHPrivateKey SSHPrivateKey string `json:"sshPrivateKey"` }
Repository the credentials for ArgoCD to interact with Git Repository
Click to show internal directories.
Click to hide internal directories.