Documentation

Overview

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

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

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var (
    	// SchemeGroupVersion is group version used to register these objects
    	SchemeGroupVersion = schema.GroupVersion{Group: "research.ibm.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 CertPoolConfig

    type CertPoolConfig struct {
    	Name             string `json:"name,omitempty"`
    	CreateIfNotExist bool   `json:"createIfNotExist,omitempty"`
    	KeyValue         []byte `json:"keyValue,omitempty"`
    }

    func (*CertPoolConfig) DeepCopy

    func (in *CertPoolConfig) DeepCopy() *CertPoolConfig

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

      func (*CertPoolConfig) DeepCopyInto

      func (in *CertPoolConfig) DeepCopyInto(out *CertPoolConfig)

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

        type EsConfig

        type EsConfig struct {
        	Enabled     bool   `json:"enabled,omitempty"`
        	Scheme      string `json:"scheme,omitempty"`
        	Host        string `json:"host,omitempty"`
        	Port        int32  `json:"port,omitempty"`
        	SslVerify   bool   `json:"sslVerify,omitempty"`
        	IndexPrefix string `json:"indexPrefix,omitempty"`
        	ClientKey   string `json:"clientKey,omitempty"`
        	ClientCert  string `json:"clientCert,omitempty"`
        	CaFile      string `json:"caFile,omitempty"`
        }

        func (*EsConfig) DeepCopy

        func (in *EsConfig) DeepCopy() *EsConfig

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

          func (*EsConfig) DeepCopyInto

          func (in *EsConfig) DeepCopyInto(out *EsConfig)

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

            type GlobalConfig

            type GlobalConfig struct {
            	Arch          []string `json:"arch,omitempty"`
            	NoCertManager bool     `json:"noCertManager,omitempty"`
            	OpenShift     bool     `json:"openShift,omitempty"`
            	Roks          bool     `json:"roks,omitempty"`
            }

            func (*GlobalConfig) DeepCopy

            func (in *GlobalConfig) DeepCopy() *GlobalConfig

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

              func (*GlobalConfig) DeepCopyInto

              func (in *GlobalConfig) DeepCopyInto(out *GlobalConfig)

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

                type HttpConfig

                type HttpConfig struct {
                	Enabled  bool   `json:"enabled,omitempty"`
                	Endpoint string `json:"endpoint,omitempty"`
                }

                func (*HttpConfig) DeepCopy

                func (in *HttpConfig) DeepCopy() *HttpConfig

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

                  func (*HttpConfig) DeepCopyInto

                  func (in *HttpConfig) DeepCopyInto(out *HttpConfig)

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

                    type IntegrityEnforcer

                    type IntegrityEnforcer struct {
                    	metav1.TypeMeta   `json:",inline"`
                    	metav1.ObjectMeta `json:"metadata,omitempty"`
                    
                    	Spec   IntegrityEnforcerSpec   `json:"spec,omitempty"`
                    	Status IntegrityEnforcerStatus `json:"status,omitempty"`
                    }

                      IntegrityEnforcer is the Schema for the integrityenforcers API +kubebuilder:subresource:status +kubebuilder:resource:path=integrityenforcers,scope=Namespaced

                      func (*IntegrityEnforcer) DeepCopy

                      func (in *IntegrityEnforcer) DeepCopy() *IntegrityEnforcer

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

                        func (*IntegrityEnforcer) DeepCopyInto

                        func (in *IntegrityEnforcer) DeepCopyInto(out *IntegrityEnforcer)

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

                          func (*IntegrityEnforcer) DeepCopyObject

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

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

                            type IntegrityEnforcerList

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

                              IntegrityEnforcerList contains a list of IntegrityEnforcer

                              func (*IntegrityEnforcerList) DeepCopy

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

                                func (*IntegrityEnforcerList) DeepCopyInto

                                func (in *IntegrityEnforcerList) DeepCopyInto(out *IntegrityEnforcerList)

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

                                  func (*IntegrityEnforcerList) DeepCopyObject

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

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

                                    type IntegrityEnforcerSpec

                                    type IntegrityEnforcerSpec struct {
                                    	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
                                    	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
                                    	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
                                    	MaxSurge         *intstr.IntOrString       `json:"maxSurge,omitempty"`
                                    	MaxUnavailable   *intstr.IntOrString       `json:"maxUnavailable,omitempty"`
                                    	ReplicaCount     *int32                    `json:"replicaCount,omitempty"`
                                    	MetaLabels       map[string]string         `json:"labels,omitempty"`
                                    	SelectorLabels   map[string]string         `json:"selector,omitempty"`
                                    	NodeSelector     map[string]string         `json:"nodeSelector,omitempty"`
                                    	Affinity         *v1.Affinity              `json:"affinity,omitempty"`
                                    	Tolerations      []v1.Toleration           `json:"tolerations,omitempty"`
                                    	ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
                                    
                                    	Security     SecurityConfig  `json:"security,omitempty"`
                                    	KeyRing      KeyRingConfig   `json:"keyRingConfig,omitempty"`
                                    	CertPool     CertPoolConfig  `json:"certPoolConfig,omitempty"`
                                    	Server       ServerContainer `json:"server,omitempty"`
                                    	Logger       LoggerContainer `json:"logger,omitempty"`
                                    	RegKeySecret RegKeySecret    `json:"regKeySecret,omitempty"`
                                    	GlobalConfig GlobalConfig    `json:"globalConfig,omitempty"`
                                    
                                    	EnforcerConfigCrName string                         `json:"enforcerConfigCrName,omitempty"`
                                    	EnforcerConfig       *iec.EnforcerConfig            `json:"enforcerConfig,omitempty"`
                                    	SignPolicy           *policy.SignPolicy             `json:"signPolicy,omitempty"`
                                    	DefaultRpp           *rpp.ResourceProtectionProfile `json:"defaultResourceProtectionProfile,omitempty"`
                                    
                                    	WebhookServerTlsSecretName string     `json:"webhookServerTlsSecretName,omitempty"`
                                    	WebhookServiceName         string     `json:"webhookServiceName,omitempty"`
                                    	WebhookConfigName          string     `json:"webhookConfigName,omitempty"`
                                    	WebhookNamespacedResource  admv1.Rule `json:"webhookNamespacedResource,omitempty"`
                                    	WebhookClusterResource     admv1.Rule `json:"webhookClusterResource,omitempty"`
                                    }

                                      IntegrityEnforcerSpec defines the desired state of IntegrityEnforcer

                                      func (*IntegrityEnforcerSpec) DeepCopy

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

                                        func (*IntegrityEnforcerSpec) DeepCopyInto

                                        func (in *IntegrityEnforcerSpec) DeepCopyInto(out *IntegrityEnforcerSpec)

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

                                          type IntegrityEnforcerStatus

                                          type IntegrityEnforcerStatus struct {
                                          }

                                            IntegrityEnforcerStatus defines the observed state of IntegrityEnforcer

                                            func (*IntegrityEnforcerStatus) DeepCopy

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

                                              func (*IntegrityEnforcerStatus) DeepCopyInto

                                              func (in *IntegrityEnforcerStatus) DeepCopyInto(out *IntegrityEnforcerStatus)

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

                                                type KeyRingConfig

                                                type KeyRingConfig struct {
                                                	Name             string `json:"name,omitempty"`
                                                	CreateIfNotExist bool   `json:"createIfNotExist,omitempty"`
                                                	KeyValue         []byte `json:"keyValue,omitempty"`
                                                }

                                                func (*KeyRingConfig) DeepCopy

                                                func (in *KeyRingConfig) DeepCopy() *KeyRingConfig

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

                                                  func (*KeyRingConfig) DeepCopyInto

                                                  func (in *KeyRingConfig) DeepCopyInto(out *KeyRingConfig)

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

                                                    type LoggerContainer

                                                    type LoggerContainer struct {
                                                    	Enabled         bool                    `json:"enabled,omitempty"`
                                                    	Name            string                  `json:"name,omitempty"`
                                                    	SecurityContext *v1.SecurityContext     `json:"securityContext,omitempty"`
                                                    	ImagePullPolicy v1.PullPolicy           `json:"imagePullPolicy,omitempty"`
                                                    	Image           string                  `json:"image,omitempty"`
                                                    	StdOutput       bool                    `json:"stdOutput,omitempty"`
                                                    	HttpConfig      *HttpConfig             `json:"http,omitempty"`
                                                    	Resources       v1.ResourceRequirements `json:"resources,omitempty"`
                                                    	EsConfig        *EsConfig               `json:"es,omitempty"`
                                                    	EsSecretName    string                  `json:"esSecretName,omitempty"`
                                                    }

                                                    func (*LoggerContainer) DeepCopy

                                                    func (in *LoggerContainer) DeepCopy() *LoggerContainer

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

                                                      func (*LoggerContainer) DeepCopyInto

                                                      func (in *LoggerContainer) DeepCopyInto(out *LoggerContainer)

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

                                                        type RegKeySecret

                                                        type RegKeySecret struct {
                                                        	Name  string `json:"name,omitempty"`
                                                        	Value []byte `json:"value,omitempty"`
                                                        }

                                                        func (*RegKeySecret) DeepCopy

                                                        func (in *RegKeySecret) DeepCopy() *RegKeySecret

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

                                                          func (*RegKeySecret) DeepCopyInto

                                                          func (in *RegKeySecret) DeepCopyInto(out *RegKeySecret)

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

                                                            type SecurityConfig

                                                            type SecurityConfig struct {
                                                            	ServiceAccountName             string                 `json:"serviceAccountName,omitempty"`
                                                            	SecurityContextConstraintsName string                 `json:"securityContextConstraintsName,omitempty"`
                                                            	ClusterRole                    string                 `json:"clusterRole,omitempty"`
                                                            	ClusterRoleBinding             string                 `json:"clusterRoleBinding,omitempty"`
                                                            	PodSecurityPolicyName          string                 `json:"podSecurityPolicyName,omitempty"`
                                                            	PodSecurityContext             *v1.PodSecurityContext `json:"securityContext,omitempty"`
                                                            	IEAdminSubjects                []rbacv1.Subject       `json:"ieAdminSubjects,omitempty"`
                                                            	AutoIEAdminCreationDisabled    bool                   `json:"autoIEAdminRoleCreationDisabled,omitempty"`
                                                            }

                                                            func (*SecurityConfig) DeepCopy

                                                            func (in *SecurityConfig) DeepCopy() *SecurityConfig

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

                                                              func (*SecurityConfig) DeepCopyInto

                                                              func (in *SecurityConfig) DeepCopyInto(out *SecurityConfig)

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

                                                                type ServerContainer

                                                                type ServerContainer struct {
                                                                	Name                   string                  `json:"name,omitempty"`
                                                                	SecurityContext        *v1.SecurityContext     `json:"securityContext,omitempty"`
                                                                	ImagePullPolicy        v1.PullPolicy           `json:"imagePullPolicy,omitempty"`
                                                                	Image                  string                  `json:"image,omitempty"`
                                                                	Port                   int32                   `json:"port,omitempty"`
                                                                	Resources              v1.ResourceRequirements `json:"resources,omitempty"`
                                                                	ChartBaseUrl           string                  `json:"chartBaseUrl,omitempty"`
                                                                	ContextLogEnabled      bool                    `json:"contextLogEnabled,omitempty"`
                                                                	EnforcerCmReloadSec    int32                   `json:"enforcerCmReloadSec,omitempty"`
                                                                	EnforcePolicyReloadSec int32                   `json:"enforcePolicyReloadSec,omitempty"`
                                                                }

                                                                func (*ServerContainer) DeepCopy

                                                                func (in *ServerContainer) DeepCopy() *ServerContainer

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

                                                                  func (*ServerContainer) DeepCopyInto

                                                                  func (in *ServerContainer) DeepCopyInto(out *ServerContainer)

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