github.com/umeshredd/helm@v3.0.0-alpha.1+incompatible/pkg/release/responses.go (about) 1 /* 2 Copyright The Helm Authors. 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 7 http://www.apache.org/licenses/LICENSE-2.0 8 9 Unless required by applicable law or agreed to in writing, software 10 distributed under the License is distributed on an "AS IS" BASIS, 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 See the License for the specific language governing permissions and 13 limitations under the License. 14 */ 15 16 package release 17 18 // GetReleaseStatusResponse is the response indicating the status of the named release. 19 type GetReleaseStatusResponse struct { 20 // Name is the name of the release. 21 Name string `json:"name,omitempty"` 22 // Info contains information about the release. 23 Info *Info `json:"info,omitempty"` 24 // Namespace the release was released into 25 Namespace string `json:"namespace,omitempty"` 26 } 27 28 // UninstallReleaseResponse represents a successful response to an uninstall request. 29 type UninstallReleaseResponse struct { 30 // Release is the release that was marked deleted. 31 Release *Release `json:"release,omitempty"` 32 // Info is an uninstall message 33 Info string `json:"info,omitempty"` 34 } 35 36 // TestReleaseResponse represents a message from executing a test 37 type TestReleaseResponse struct { 38 Msg string `json:"msg,omitempty"` 39 Status TestRunStatus `json:"status,omitempty"` 40 }