2018-04-20 15:59:46 +08:00
|
|
|
/*
|
2018-08-25 03:03:55 +08:00
|
|
|
Copyright The Helm Authors.
|
2018-04-20 15:59:46 +08:00
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2025-02-26 22:04:32 +08:00
|
|
|
package v1
|
2018-04-19 05:53:38 +08:00
|
|
|
|
2019-10-15 05:31:25 +08:00
|
|
|
import (
|
2025-09-16 02:28:09 +08:00
|
|
|
"time"
|
2022-09-09 16:55:06 +08:00
|
|
|
|
2025-09-16 02:28:09 +08:00
|
|
|
"k8s.io/apimachinery/pkg/runtime"
|
2019-10-15 05:31:25 +08:00
|
|
|
)
|
2018-04-19 05:53:38 +08:00
|
|
|
|
|
|
|
// Info describes release information.
|
|
|
|
type Info struct {
|
2018-05-09 23:37:20 +08:00
|
|
|
// FirstDeployed is when the release was first deployed.
|
2025-09-16 02:28:09 +08:00
|
|
|
FirstDeployed time.Time `json:"first_deployed,omitzero"`
|
2018-05-09 23:37:20 +08:00
|
|
|
// LastDeployed is when the release was last deployed.
|
2025-09-16 02:28:09 +08:00
|
|
|
LastDeployed time.Time `json:"last_deployed,omitzero"`
|
2018-04-19 05:53:38 +08:00
|
|
|
// Deleted tracks when this object was deleted.
|
2025-09-16 02:28:09 +08:00
|
|
|
Deleted time.Time `json:"deleted,omitzero"`
|
2018-04-19 05:53:38 +08:00
|
|
|
// Description is human-friendly "log entry" about this release.
|
2019-10-15 05:31:25 +08:00
|
|
|
Description string `json:"description,omitempty"`
|
2018-04-27 07:52:31 +08:00
|
|
|
// Status is the current state of the release
|
2019-02-13 02:18:33 +08:00
|
|
|
Status Status `json:"status,omitempty"`
|
2018-04-27 07:52:31 +08:00
|
|
|
// Contains the rendered templates/NOTES.txt if available
|
|
|
|
Notes string `json:"notes,omitempty"`
|
2022-04-29 04:59:38 +08:00
|
|
|
// Contains the deployed resources information
|
2022-09-09 16:55:06 +08:00
|
|
|
Resources map[string][]runtime.Object `json:"resources,omitempty"`
|
2018-04-19 05:53:38 +08:00
|
|
|
}
|