v1alpha1

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=core.humio.com

Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=core.humio.com

Index

Constants

View Source
const (
	// HumioClusterStateBoostrapping is the Bootstrapping state of the cluster
	HumioClusterStateBoostrapping = "Bootstrapping"
	// HumioClusterStateRunning is the Running state of the cluster
	HumioClusterStateRunning = "Running"
)
View Source
const (
	// HumioIngestTokenStateUnknown is the Unknown state of the ingest token
	HumioIngestTokenStateUnknown = "Unknown"
	// HumioIngestTokenStateExists is the Exists state of the ingest token
	HumioIngestTokenStateExists = "Exists"
	// HumioIngestTokenStateNotFound is the NotFound state of the ingest token
	HumioIngestTokenStateNotFound = "NotFound"
)
View Source
const (
	// HumioParserStateUnknown is the Unknown state of the parser
	HumioParserStateUnknown = "Unknown"
	// HumioParserStateExists is the Exists state of the parser
	HumioParserStateExists = "Exists"
	// HumioParserStateNotFound is the NotFound state of the parser
	HumioParserStateNotFound = "NotFound"
)
View Source
const (
	// HumioRepositoryStateUnknown is the Unknown state of the repository
	HumioRepositoryStateUnknown = "Unknown"
	// HumioRepositoryStateExists is the Exists state of the repository
	HumioRepositoryStateExists = "Exists"
	// HumioRepositoryStateNotFound is the NotFound state of the repository
	HumioRepositoryStateNotFound = "NotFound"
)

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "core.humio.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type HumioCluster

type HumioCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   HumioClusterSpec   `json:"spec,omitempty"`
	Status HumioClusterStatus `json:"status,omitempty"`
}

HumioCluster is the Schema for the humioclusters API +kubebuilder:subresource:status +kubebuilder:resource:path=humioclusters,scope=Namespaced +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state",description="The state of the cluster" +kubebuilder:printcolumn:name="Nodes",type="string",JSONPath=".status.nodeCount",description="The number of nodes in the cluster" +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".status.version",description="The version of humior" +operator-sdk:gen-csv:customresourcedefinitions.displayName="Humio Cluster"

func (*HumioCluster) DeepCopy

func (in *HumioCluster) DeepCopy() *HumioCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioCluster.

func (*HumioCluster) DeepCopyInto

func (in *HumioCluster) DeepCopyInto(out *HumioCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HumioCluster) DeepCopyObject

func (in *HumioCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HumioClusterIngressSpec

type HumioClusterIngressSpec struct {
	// Enabled enables the logic for the Humio operator to create ingress-related objects
	Enabled bool `json:"enabled,omitempty"`
	// Controller is used to specify the controller used for ingress in the Kubernetes cluster. For now, only nginx is supported.
	Controller string `json:"controller,omitempty"`
	// SecretName is used to specify the Kubernetes secret that contains the TLS certificate that should be used
	SecretName string `json:"secretName,omitempty"`
	// ESSecretName is used to specify the Kubernetes secret that contains the TLS certificate that should be used, specifically for the ESHostname
	ESSecretName string `json:"esSecretName,omitempty"`
	// Annotations can be used to specify annotations appended to the annotations set by the operator when creating ingress-related objects
	Annotations map[string]string `json:"annotations,omitempty"`
}

HumioClusterIngressSpec is used to set up ingress-related objects in order to reach Humio externally from the kubernetes cluster

func (*HumioClusterIngressSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioClusterIngressSpec.

func (*HumioClusterIngressSpec) DeepCopyInto

func (in *HumioClusterIngressSpec) DeepCopyInto(out *HumioClusterIngressSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HumioClusterList

type HumioClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []HumioCluster `json:"items"`
}

HumioClusterList contains a list of HumioCluster

func (*HumioClusterList) DeepCopy

func (in *HumioClusterList) DeepCopy() *HumioClusterList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioClusterList.

func (*HumioClusterList) DeepCopyInto

func (in *HumioClusterList) DeepCopyInto(out *HumioClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HumioClusterList) DeepCopyObject

func (in *HumioClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HumioClusterSpec

type HumioClusterSpec struct {
	// Desired container image including the image tag
	Image string `json:"image,omitempty"`
	// Desired number of replicas of both storage and ingest partitions
	TargetReplicationFactor int `json:"targetReplicationFactor,omitempty"`
	// Desired number of storage partitions
	StoragePartitionsCount int `json:"storagePartitionsCount,omitempty"`
	// Desired number of digest partitions
	DigestPartitionsCount int `json:"digestPartitionsCount,omitempty"`
	// Desired number of nodes
	NodeCount int `json:"nodeCount,omitempty"`
	// Extra environment variables
	EnvironmentVariables []corev1.EnvVar `json:"environmentVariables,omitempty"`
	// DataVolumeSource is the volume that is mounted on the humio pods
	DataVolumeSource corev1.VolumeSource `json:"dataVolumeSource,omitempty"`
	// TODO: Add PersistentVolumeClaimTemplateSpec support
	// PersistentVolumeClaimTemplateSpec corev1.PersistentVolumeClaimSpec
	// ImagePullSecrets defines the imagepullsecrets for the humio pods. These secrets are not created by the operator
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
	// Affinity defines the affinity policies that will be attached to the humio pods
	Affinity corev1.Affinity `json:"affinity,omitempty"`
	// IdpCertificateSecretName is the name of the secret that contains the IDP Certificate when using SAML authentication
	IdpCertificateSecretName string `json:"idpCertificateSecretName,omitempty"`
	// HumioServiceAccountAnnotations is the set of annotations added to the Kubernetes Service Account that will be attached to the Humio pods
	HumioServiceAccountAnnotations map[string]string `json:"humioServiceAccountAnnotations,omitempty"`
	// HumioServiceAccountName is the name of the Kubernetes Service Account that will be attached to the Humio pods
	HumioServiceAccountName string `json:"humioServiceAccountName,omitempty"`
	// InitServiceAccountName is the name of the Kubernetes Service Account that will be attached to the init container in the humio pod
	InitServiceAccountName string `json:"initServiceAccountName,omitempty"`
	// AuthServiceAccountName is the name of the Kubernetes Service Account that will be attached to the auth container in the humio pod
	AuthServiceAccountName string `json:"authServiceAccountName,omitempty"`
	// Resources is the kubernetes resource limits for the humio pod
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	// ExtraKafkaConfigs is a multi-line string containing kafka properties
	ExtraKafkaConfigs string `json:"extraKafkaConfigs,omitempty"`
	// ContainerSecurityContext is the security context applied to the Humio container
	ContainerSecurityContext *corev1.SecurityContext `json:"containerSecurityContext,omitempty"`
	// PodSecurityContext is the security context applied to the Humio pod
	PodSecurityContext *corev1.PodSecurityContext `json:"podSecurityContext,omitempty"`
	// Hostname is the public hostname used by clients to access Humio
	Hostname string `json:"hostname,omitempty"`
	// ESHostname is the public hostname used by log shippers with support for ES bulk API to access Humio
	ESHostname string `json:"esHostname,omitempty"`
	// Ingress is used to set up ingress-related objects in order to reach Humio externally from the kubernetes cluster
	Ingress HumioClusterIngressSpec `json:"ingress,omitempty"`
	// ImagePullPolicy sets the imagePullPolicy for all the containers in the humio pod
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
}

HumioClusterSpec defines the desired state of HumioCluster

func (*HumioClusterSpec) DeepCopy

func (in *HumioClusterSpec) DeepCopy() *HumioClusterSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioClusterSpec.

func (*HumioClusterSpec) DeepCopyInto

func (in *HumioClusterSpec) DeepCopyInto(out *HumioClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HumioClusterStatus

type HumioClusterStatus struct {
	// State will be empty before the cluster is bootstrapped. From there it can be "Bootstrapping" or "Running"
	State string `json:"state,omitempty"`
	// Version is the version of humio running
	Version string `json:"version,omitempty"`
	// NodeCount is the number of nodes of humio running
	NodeCount int `json:"nodeCount,omitempty"`
}

HumioClusterStatus defines the observed state of HumioCluster

func (*HumioClusterStatus) DeepCopy

func (in *HumioClusterStatus) DeepCopy() *HumioClusterStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioClusterStatus.

func (*HumioClusterStatus) DeepCopyInto

func (in *HumioClusterStatus) DeepCopyInto(out *HumioClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HumioExternalCluster

type HumioExternalCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   HumioExternalClusterSpec   `json:"spec,omitempty"`
	Status HumioExternalClusterStatus `json:"status,omitempty"`
}

HumioExternalCluster is the Schema for the humioexternalclusters API +kubebuilder:subresource:status +kubebuilder:resource:path=humioexternalclusters,scope=Namespaced +operator-sdk:gen-csv:customresourcedefinitions.displayName="Humio External Cluster"

func (*HumioExternalCluster) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioExternalCluster.

func (*HumioExternalCluster) DeepCopyInto

func (in *HumioExternalCluster) DeepCopyInto(out *HumioExternalCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HumioExternalCluster) DeepCopyObject

func (in *HumioExternalCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HumioExternalClusterList

type HumioExternalClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []HumioExternalCluster `json:"items"`
}

HumioExternalClusterList contains a list of HumioExternalCluster

func (*HumioExternalClusterList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioExternalClusterList.

func (*HumioExternalClusterList) DeepCopyInto

func (in *HumioExternalClusterList) DeepCopyInto(out *HumioExternalClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HumioExternalClusterList) DeepCopyObject

func (in *HumioExternalClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HumioExternalClusterSpec

type HumioExternalClusterSpec struct {
	Url string `json:"url,omitempty"`
}

HumioExternalClusterSpec defines the desired state of HumioExternalCluster

func (*HumioExternalClusterSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioExternalClusterSpec.

func (*HumioExternalClusterSpec) DeepCopyInto

func (in *HumioExternalClusterSpec) DeepCopyInto(out *HumioExternalClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HumioExternalClusterStatus

type HumioExternalClusterStatus struct {
	Version string `json:"version,omitempty"`
}

HumioExternalClusterStatus defines the observed state of HumioExternalCluster

func (*HumioExternalClusterStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioExternalClusterStatus.

func (*HumioExternalClusterStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HumioIngestToken

type HumioIngestToken struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   HumioIngestTokenSpec   `json:"spec,omitempty"`
	Status HumioIngestTokenStatus `json:"status,omitempty"`
}

HumioIngestToken is the Schema for the humioingesttokens API +kubebuilder:subresource:status +kubebuilder:resource:path=humioingesttokens,scope=Namespaced +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state",description="The state of the ingest token" +operator-sdk:gen-csv:customresourcedefinitions.displayName="Humio Ingest Token"

func (*HumioIngestToken) DeepCopy

func (in *HumioIngestToken) DeepCopy() *HumioIngestToken

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioIngestToken.

func (*HumioIngestToken) DeepCopyInto

func (in *HumioIngestToken) DeepCopyInto(out *HumioIngestToken)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HumioIngestToken) DeepCopyObject

func (in *HumioIngestToken) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HumioIngestTokenList

type HumioIngestTokenList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []HumioIngestToken `json:"items"`
}

HumioIngestTokenList contains a list of HumioIngestToken

func (*HumioIngestTokenList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioIngestTokenList.

func (*HumioIngestTokenList) DeepCopyInto

func (in *HumioIngestTokenList) DeepCopyInto(out *HumioIngestTokenList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HumioIngestTokenList) DeepCopyObject

func (in *HumioIngestTokenList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HumioIngestTokenSpec

type HumioIngestTokenSpec struct {
	// Which cluster
	ManagedClusterName  string `json:"managedClusterName,omitempty"`
	ExternalClusterName string `json:"externalClusterName,omitempty"`

	// Input
	Name           string `json:"name,omitempty"`
	ParserName     string `json:"parserName,omitempty"`
	RepositoryName string `json:"repositoryName,omitempty"`

	// Output
	TokenSecretName string `json:"tokenSecretName,omitempty"`
}

HumioIngestTokenSpec defines the desired state of HumioIngestToken

func (*HumioIngestTokenSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioIngestTokenSpec.

func (*HumioIngestTokenSpec) DeepCopyInto

func (in *HumioIngestTokenSpec) DeepCopyInto(out *HumioIngestTokenSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HumioIngestTokenStatus

type HumioIngestTokenStatus struct {
	State string `json:"state,omitempty"`
}

HumioIngestTokenStatus defines the observed state of HumioIngestToken

func (*HumioIngestTokenStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioIngestTokenStatus.

func (*HumioIngestTokenStatus) DeepCopyInto

func (in *HumioIngestTokenStatus) DeepCopyInto(out *HumioIngestTokenStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HumioParser

type HumioParser struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   HumioParserSpec   `json:"spec,omitempty"`
	Status HumioParserStatus `json:"status,omitempty"`
}

HumioParser is the Schema for the humioparsers API +kubebuilder:subresource:status +kubebuilder:resource:path=humioparsers,scope=Namespaced +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state",description="The state of the parser" +operator-sdk:gen-csv:customresourcedefinitions.displayName="Humio Parser"

func (*HumioParser) DeepCopy

func (in *HumioParser) DeepCopy() *HumioParser

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioParser.

func (*HumioParser) DeepCopyInto

func (in *HumioParser) DeepCopyInto(out *HumioParser)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HumioParser) DeepCopyObject

func (in *HumioParser) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HumioParserList

type HumioParserList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []HumioParser `json:"items"`
}

HumioParserList contains a list of HumioParser

func (*HumioParserList) DeepCopy

func (in *HumioParserList) DeepCopy() *HumioParserList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioParserList.

func (*HumioParserList) DeepCopyInto

func (in *HumioParserList) DeepCopyInto(out *HumioParserList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HumioParserList) DeepCopyObject

func (in *HumioParserList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HumioParserSpec

type HumioParserSpec struct {
	// Which cluster
	ManagedClusterName  string `json:"managedClusterName,omitempty"`
	ExternalClusterName string `json:"externalClusterName,omitempty"`

	// Input
	Name           string   `json:"name,omitempty"`
	ParserScript   string   `json:"parserScript,omitempty"`
	RepositoryName string   `json:"repositoryName,omitempty"`
	TagFields      []string `json:"tagFields,omitempty"`
	TestData       []string `json:"testData,omitempty"`
}

HumioParserSpec defines the desired state of HumioParser

func (*HumioParserSpec) DeepCopy

func (in *HumioParserSpec) DeepCopy() *HumioParserSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioParserSpec.

func (*HumioParserSpec) DeepCopyInto

func (in *HumioParserSpec) DeepCopyInto(out *HumioParserSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HumioParserStatus

type HumioParserStatus struct {
	State string `json:"state,omitempty"`
}

HumioParserStatus defines the observed state of HumioParser

func (*HumioParserStatus) DeepCopy

func (in *HumioParserStatus) DeepCopy() *HumioParserStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioParserStatus.

func (*HumioParserStatus) DeepCopyInto

func (in *HumioParserStatus) DeepCopyInto(out *HumioParserStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HumioRepository

type HumioRepository struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   HumioRepositorySpec   `json:"spec,omitempty"`
	Status HumioRepositoryStatus `json:"status,omitempty"`
}

HumioRepository is the Schema for the humiorepositories API +kubebuilder:subresource:status +kubebuilder:resource:path=humiorepositories,scope=Namespaced +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state",description="The state of the parser" +operator-sdk:gen-csv:customresourcedefinitions.displayName="Humio Repository"

func (*HumioRepository) DeepCopy

func (in *HumioRepository) DeepCopy() *HumioRepository

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioRepository.

func (*HumioRepository) DeepCopyInto

func (in *HumioRepository) DeepCopyInto(out *HumioRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HumioRepository) DeepCopyObject

func (in *HumioRepository) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HumioRepositoryList

type HumioRepositoryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []HumioRepository `json:"items"`
}

HumioRepositoryList contains a list of HumioRepository

func (*HumioRepositoryList) DeepCopy

func (in *HumioRepositoryList) DeepCopy() *HumioRepositoryList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioRepositoryList.

func (*HumioRepositoryList) DeepCopyInto

func (in *HumioRepositoryList) DeepCopyInto(out *HumioRepositoryList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HumioRepositoryList) DeepCopyObject

func (in *HumioRepositoryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HumioRepositorySpec

type HumioRepositorySpec struct {
	// Which cluster
	ManagedClusterName  string `json:"managedClusterName,omitempty"`
	ExternalClusterName string `json:"externalClusterName,omitempty"`

	// Input
	Name              string         `json:"name,omitempty"`
	Description       string         `json:"description,omitempty"`
	Retention         HumioRetention `json:"retention,omitempty"`
	AllowDataDeletion bool           `json:"allowDataDeletion,omitempty"`
}

HumioRepositorySpec defines the desired state of HumioRepository

func (*HumioRepositorySpec) DeepCopy

func (in *HumioRepositorySpec) DeepCopy() *HumioRepositorySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioRepositorySpec.

func (*HumioRepositorySpec) DeepCopyInto

func (in *HumioRepositorySpec) DeepCopyInto(out *HumioRepositorySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HumioRepositoryStatus

type HumioRepositoryStatus struct {
	State string `json:"state,omitempty"`
}

HumioRepositoryStatus defines the observed state of HumioRepository

func (*HumioRepositoryStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioRepositoryStatus.

func (*HumioRepositoryStatus) DeepCopyInto

func (in *HumioRepositoryStatus) DeepCopyInto(out *HumioRepositoryStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HumioRetention

type HumioRetention struct {
	// perhaps we should migrate to resource.Quantity? the Humio API needs float64, but that is not supported here, see more here:
	// https://github.com/kubernetes-sigs/controller-tools/issues/245
	IngestSizeInGB  int32 `json:"ingestSizeInGB,omitempty"`
	StorageSizeInGB int32 `json:"storageSizeInGB,omitempty"`
	TimeInDays      int32 `json:"timeInDays,omitempty"`
}

HumioRetention defines the retention for the repository

func (*HumioRetention) DeepCopy

func (in *HumioRetention) DeepCopy() *HumioRetention

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HumioRetention.

func (*HumioRetention) DeepCopyInto

func (in *HumioRetention) DeepCopyInto(out *HumioRetention)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL