package apis import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" // VolumeSnapshotError describes an error encountered during snapshot creation. type VolumeSnapshotError struct { // time is the timestamp when the error was encountered. // +optional Time *metav1.Time `json:"time,omitempty" protobuf:"bytes,1,opt,name=time"` // message is a string detailing the encountered error during snapshot // creation if specified. // NOTE: message may be logged, and it should not contain sensitive // information. // +optional Message *string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` }