Class LoggingDestination
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.LoggingDestination
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<LoggingDestinationBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class LoggingDestination extends Object implements io.fabric8.kubernetes.api.builder.Editable<LoggingDestinationBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
LoggingDestination describes a destination for log messages.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoggingDestination()No args constructor for use in serializationLoggingDestination(ContainerLoggingDestinationParameters container, SyslogLoggingDestinationParameters syslog, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingDestinationBuilderedit()Map<String,Object>getAdditionalProperties()ContainerLoggingDestinationParametersgetContainer()LoggingDestination describes a destination for log messages.SyslogLoggingDestinationParametersgetSyslog()LoggingDestination describes a destination for log messages.StringgetType()type is the type of destination for logs.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetContainer(ContainerLoggingDestinationParameters container)LoggingDestination describes a destination for log messages.voidsetSyslog(SyslogLoggingDestinationParameters syslog)LoggingDestination describes a destination for log messages.voidsetType(String type)type is the type of destination for logs.LoggingDestinationBuildertoBuilder()
-
-
-
Constructor Detail
-
LoggingDestination
public LoggingDestination()
No args constructor for use in serialization
-
LoggingDestination
public LoggingDestination(ContainerLoggingDestinationParameters container, SyslogLoggingDestinationParameters syslog, String type)
-
-
Method Detail
-
getContainer
public ContainerLoggingDestinationParameters getContainer()
LoggingDestination describes a destination for log messages.
-
setContainer
public void setContainer(ContainerLoggingDestinationParameters container)
LoggingDestination describes a destination for log messages.
-
getSyslog
public SyslogLoggingDestinationParameters getSyslog()
LoggingDestination describes a destination for log messages.
-
setSyslog
public void setSyslog(SyslogLoggingDestinationParameters syslog)
LoggingDestination describes a destination for log messages.
-
getType
public String getType()
type is the type of destination for logs. It must be one of the following:* Container
The ingress operator configures the sidecar container named "logs" on the ingress controller pod and configures the ingress controller to write logs to the sidecar. The logs are then available as container logs. The expectation is that the administrator configures a custom logging solution that reads logs from this sidecar. Note that using container logs means that logs may be dropped if the rate of logs exceeds the container runtime's or the custom logging solution's capacity.
* Syslog
Logs are sent to a syslog endpoint. The administrator must specify an endpoint that can receive syslog messages. The expectation is that the administrator has configured a custom syslog instance.
-
setType
public void setType(String type)
type is the type of destination for logs. It must be one of the following:* Container
The ingress operator configures the sidecar container named "logs" on the ingress controller pod and configures the ingress controller to write logs to the sidecar. The logs are then available as container logs. The expectation is that the administrator configures a custom logging solution that reads logs from this sidecar. Note that using container logs means that logs may be dropped if the rate of logs exceeds the container runtime's or the custom logging solution's capacity.
* Syslog
Logs are sent to a syslog endpoint. The administrator must specify an endpoint that can receive syslog messages. The expectation is that the administrator has configured a custom syslog instance.
-
edit
public LoggingDestinationBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<LoggingDestinationBuilder>
-
toBuilder
public LoggingDestinationBuilder toBuilder()
-
-