Documentation ¶
Index ¶
- type ArgoCDClient
- func (c *ArgoCDClient) CreateApplication(newApp *application.ApplicationCreateRequest) (*v1alpha1.Application, error)
- func (c *ArgoCDClient) DoRequestWithRetry(requestFunc func(appClient application.ApplicationServiceClient) error) error
- func (c *ArgoCDClient) GetApplication(query application.ApplicationQuery) (*v1alpha1.Application, error)
- func (c *ArgoCDClient) ListApplications() (*v1alpha1.ApplicationList, error)
- type LoginRequest
- type LoginResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgoCDClient ¶
type ArgoCDClient struct {
// contains filtered or unexported fields
}
func NewArgoCDClient ¶
func (*ArgoCDClient) CreateApplication ¶
func (c *ArgoCDClient) CreateApplication(newApp *application.ApplicationCreateRequest) (*v1alpha1.Application, error)
func (*ArgoCDClient) DoRequestWithRetry ¶
func (c *ArgoCDClient) DoRequestWithRetry(requestFunc func(appClient application.ApplicationServiceClient) error) error
func (*ArgoCDClient) GetApplication ¶
func (c *ArgoCDClient) GetApplication(query application.ApplicationQuery) (*v1alpha1.Application, error)
func (*ArgoCDClient) ListApplications ¶
func (c *ArgoCDClient) ListApplications() (*v1alpha1.ApplicationList, error)
type LoginRequest ¶
type LoginResponse ¶
type LoginResponse struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.