Destination
Last updated
Was this helpful?
Type
Pointer to string
The internal output stream to send logs to
[optional] [default to "loki"]
RetentionInDays
Pointer to int32
defines the number of days a log record should be kept in loki. Works with loki destination type only.
[optional] [default to 30]
func NewDestination() *Destination
NewDestination instantiates a new Destination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDestinationWithDefaults() *Destination
NewDestinationWithDefaults instantiates a new Destination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Destination) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Destination) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Destination) SetType(v string)
SetType sets Type field to given value.
func (o *Destination) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Destination) GetRetentionInDays() int32
GetRetentionInDays returns the RetentionInDays field if non-nil, zero value otherwise.
func (o *Destination) GetRetentionInDaysOk() (*int32, bool)
GetRetentionInDaysOk returns a tuple with the RetentionInDays field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Destination) SetRetentionInDays(v int32)
SetRetentionInDays sets RetentionInDays field to given value.
func (o *Destination) HasRetentionInDays() bool
HasRetentionInDays returns a boolean if a field has been set.
Last updated
Was this helpful?
Was this helpful?