Documentation ¶
Index ¶
- Constants
- func GetProxyConfig(r client.Client) (*configv1.Proxy, error)
- func NewContainer(containerName string, imageName string, pullPolicy v1.PullPolicy, ...) v1.Container
- func NewDeployment(deploymentName string, namespace string, loggingComponent string, ...) *apps.Deployment
- func Reconcile(log logr.Logger, requestCluster *kibana.Kibana, requestClient client.Client, ...) error
- type KibanaRequest
- func (clusterRequest *KibanaRequest) Create(object client.Object) error
- func (clusterRequest *KibanaRequest) CreateOrUpdateServiceAccount(name string, annotations map[string]string) error
- func (clusterRequest *KibanaRequest) Delete(object client.Object) error
- func (clusterRequest *KibanaRequest) Get(objectName string, object client.Object) error
- func (clusterRequest *KibanaRequest) GetClusterResource(objectName string, object client.Object) error
- func (clusterRequest *KibanaRequest) GetRouteURL(routeName string) (string, error)
- func (clusterRequest *KibanaRequest) List(selector map[string]string, object client.ObjectList) error
- func (clusterRequest *KibanaRequest) Update(object client.Object) error
- func (clusterRequest *KibanaRequest) UpdateStatus() error
Constants ¶
View Source
const KibanaConsoleLinkName = "kibana-public-url"
Variables ¶
This section is empty.
Functions ¶
func NewContainer ¶
func NewContainer(containerName string, imageName string, pullPolicy v1.PullPolicy, resources v1.ResourceRequirements) v1.Container
Types ¶
type KibanaRequest ¶
type KibanaRequest struct {
// contains filtered or unexported fields
}
func (*KibanaRequest) Create ¶
func (clusterRequest *KibanaRequest) Create(object client.Object) error
func (*KibanaRequest) CreateOrUpdateServiceAccount ¶
func (clusterRequest *KibanaRequest) CreateOrUpdateServiceAccount(name string, annotations map[string]string) error
CreateOrUpdateServiceAccount creates or updates a ServiceAccount for logging with the given name
func (*KibanaRequest) Delete ¶
func (clusterRequest *KibanaRequest) Delete(object client.Object) error
func (*KibanaRequest) Get ¶
func (clusterRequest *KibanaRequest) Get(objectName string, object client.Object) error
func (*KibanaRequest) GetClusterResource ¶
func (clusterRequest *KibanaRequest) GetClusterResource(objectName string, object client.Object) error
func (*KibanaRequest) GetRouteURL ¶
func (clusterRequest *KibanaRequest) GetRouteURL(routeName string) (string, error)
GetRouteURL retrieves the route URL from a given route and namespace
func (*KibanaRequest) List ¶
func (clusterRequest *KibanaRequest) List(selector map[string]string, object client.ObjectList) error
func (*KibanaRequest) Update ¶
func (clusterRequest *KibanaRequest) Update(object client.Object) error
Update the runtime Object or return error
func (*KibanaRequest) UpdateStatus ¶
func (clusterRequest *KibanaRequest) UpdateStatus() error
Click to show internal directories.
Click to hide internal directories.