Documentation ¶
Index ¶
- func NewContainer(containerName string, imageName string, pullPolicy core.PullPolicy, ...) core.Container
- func NewDaemonSet(daemonsetName, namespace, loggingComponent, component, impl string, ...) *apps.DaemonSet
- func NewDeployment(namespace, deploymentName, loggingComponent, component, impl string, ...) *apps.Deployment
- func NewService(serviceName string, namespace string, selectorComponent, instanceName string, ...) *core.Service
- type ForwarderResourceNames
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainer ¶
func NewContainer(containerName string, imageName string, pullPolicy core.PullPolicy, resources core.ResourceRequirements) core.Container
NewContainer stubs an instance of a Container for cluster logging. Note the imageName is an alias for a well-known logging image(e.g. fluentd)
func NewDaemonSet ¶
func NewDaemonSet(daemonsetName, namespace, loggingComponent, component, impl string, podSpec core.PodSpec, visitors ...func(o runtime.Object)) *apps.DaemonSet
NewDaemonSet stubs an instance of a daemonset
func NewDeployment ¶
func NewDeployment(namespace, deploymentName, loggingComponent, component, impl string, podSpec core.PodSpec, visitors ...func(o runtime.Object)) *apps.Deployment
NewDeployment stubs an instance of a deployment
Types ¶
type ForwarderResourceNames ¶
type ForwarderResourceNames struct { CommonName string SecretMetrics string ConfigMap string MetadataReaderClusterRoleBinding string CaTrustBundle string ServiceAccount string InternalLogStoreSecret string ServiceAccountTokenSecret string ForwarderName string }
func GenerateResourceNames ¶
func GenerateResourceNames(clf logging.ClusterLogForwarder) *ForwarderResourceNames
GenerateResourceNames is a factory for naming of objects based on ClusterLogForwarder namespace and name
func ResourceNames ¶
func ResourceNames(clf obsv1.ClusterLogForwarder) *ForwarderResourceNames
ResourceNames is a factory for naming of objects based on ClusterLogForwarder namespace and name
func (*ForwarderResourceNames) DaemonSetName ¶
func (f *ForwarderResourceNames) DaemonSetName() string
func (*ForwarderResourceNames) GenerateInputServiceName ¶
func (f *ForwarderResourceNames) GenerateInputServiceName(serviceName string) string
GenerateInputServiceName addresses HTTP input service name uniqueness by concatenating the common name with the input service name
Click to show internal directories.
Click to hide internal directories.