mock

package
v0.0.0-...-64e8fac Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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