Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSecretKey ¶
ParseSecretKey retrieves secret appSetName if different from common ArgoCDSecretName.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewPluginService ¶
func (*Service) List ¶
func (p *Service) List(ctx context.Context, parameters v1alpha1.PluginParameters) (*ServiceResponse, error)
type ServiceRequest ¶
type ServiceRequest struct {
// ApplicationSetName is the appSetName of the ApplicationSet for which we're requesting parameters. Useful for logging in
// the plugin service.
ApplicationSetName string `json:"applicationSetName"`
// Input is the map of parameters set in the ApplicationSet spec for this generator.
Input v1alpha1.PluginInput `json:"input"`
}
ServiceRequest is the request object sent to the plugin service.
type ServiceResponse ¶
type ServiceResponse struct {
// Output is the map of outputs returned by the plugin.
Output Output `json:"output"`
}
ServiceResponse is the response object returned by the plugin service.
Click to show internal directories.
Click to hide internal directories.