| 156 | } |
| 157 | |
| 158 | func deleteGithubEndpoint(apiCli *client.GarmAPI, apiAuthToken runtime.ClientAuthInfoWriter, endpointName string) error { |
| 159 | return apiCli.Endpoints.DeleteGithubEndpoint( |
| 160 | clientEndpoints.NewDeleteGithubEndpointParams().WithName(endpointName), |
| 161 | apiAuthToken) |
| 162 | } |
| 163 | |
| 164 | func updateGithubEndpoint(apiCli *client.GarmAPI, apiAuthToken runtime.ClientAuthInfoWriter, endpointName string, endpointParams params.UpdateGithubEndpointParams) (*params.ForgeEndpoint, error) { |
| 165 | updateEndpointResponse, err := apiCli.Endpoints.UpdateGithubEndpoint( |