v1alpha1

package
v0.0.0-...-e74272a Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the mobile-security-service v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=mobile-security-service.aerogear.org

Package v1alpha1 contains API Schema definitions for the mobile-security-service v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=mobile-security-service.aerogear.org

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "mobile-security-service.aerogear.org", Version: "v1alpha1"}

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

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

Types

type MobileSecurityService

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

	Spec   MobileSecurityServiceSpec   `json:"spec,omitempty"`
	Status MobileSecurityServiceStatus `json:"status,omitempty"`
}

MobileSecurityService is the Schema for the mobilesecurityservices API +k8s:openapi-gen=true

func (*MobileSecurityService) DeepCopy

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

func (*MobileSecurityService) DeepCopyInto

func (in *MobileSecurityService) DeepCopyInto(out *MobileSecurityService)

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

func (*MobileSecurityService) DeepCopyObject

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

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

type MobileSecurityServiceApp

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

	Spec   MobileSecurityServiceAppSpec   `json:"spec,omitempty"`
	Status MobileSecurityServiceAppStatus `json:"status,omitempty"`
}

MobileSecurityServiceApp is the Schema for the mobilesecurityserviceapps API +k8s:openapi-gen=true

func (*MobileSecurityServiceApp) DeepCopy

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

func (*MobileSecurityServiceApp) DeepCopyInto

func (in *MobileSecurityServiceApp) DeepCopyInto(out *MobileSecurityServiceApp)

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

func (*MobileSecurityServiceApp) DeepCopyObject

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

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

type MobileSecurityServiceAppList

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

MobileSecurityServiceAppList contains a list of MobileSecurityServiceApp

func (*MobileSecurityServiceAppList) DeepCopy

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

func (*MobileSecurityServiceAppList) DeepCopyInto

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

func (*MobileSecurityServiceAppList) DeepCopyObject

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

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

type MobileSecurityServiceAppSpec

type MobileSecurityServiceAppSpec struct {

	// Name of the app which will be created in the Service side
	AppName string `json:"appName"`
	// Unique Identifier for the app which will be created in the Service side
	AppId string `json:"appId"`
}

MobileSecurityServiceAppSpec defines the desired state of MobileSecurityServiceApp +k8s:openapi-gen=true

func (*MobileSecurityServiceAppSpec) DeepCopy

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

func (*MobileSecurityServiceAppSpec) DeepCopyInto

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

type MobileSecurityServiceAppStatus

type MobileSecurityServiceAppStatus struct {

	// Will be as "OK when all objects are created successfully
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	BindStatus string `json:"bindStatus"`
}

MobileSecurityServiceAppStatus defines the observed state of MobileSecurityServiceApp +k8s:openapi-gen=true

func (*MobileSecurityServiceAppStatus) DeepCopy

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

func (*MobileSecurityServiceAppStatus) DeepCopyInto

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

type MobileSecurityServiceBackup

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

	Spec   MobileSecurityServiceBackupSpec   `json:"spec,omitempty"`
	Status MobileSecurityServiceBackupStatus `json:"status,omitempty"`
}

MobileSecurityServiceBackup is the Schema for the mobilesecurityservicedbbackups API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*MobileSecurityServiceBackup) DeepCopy

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

func (*MobileSecurityServiceBackup) DeepCopyInto

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

func (*MobileSecurityServiceBackup) DeepCopyObject

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

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

type MobileSecurityServiceBackupList

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

MobileSecurityServiceBackupList contains a list of MobileSecurityServiceBackup

func (*MobileSecurityServiceBackupList) DeepCopy

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

func (*MobileSecurityServiceBackupList) DeepCopyInto

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

func (*MobileSecurityServiceBackupList) DeepCopyObject

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

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

type MobileSecurityServiceBackupSpec

type MobileSecurityServiceBackupSpec struct {

	// Schedule period for the CronJob  "0 0 * * *" # daily at 00:00.
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	Schedule string `json:"schedule,omitempty"`

	// Image:tag used to do the backup.
	// More Info: https://github.com/integr8ly/backup-container-image
	Image string `json:"image,omitempty"`

	// Database version. (E.g 9.6).
	// IMPORTANT: Just the first 2 digits should be used.
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	DatabaseVersion string `json:"databaseVersion,omitempty"`

	// Used to create the directory where the files will be stored
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	ProductName string `json:"productName,omitempty"`

	// Name of AWS S3 storage.
	// Required to create the Secret with the data to allow send the backup files to AWS S3 storage.
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	AwsS3BucketName string `json:"awsS3BucketName,omitempty"`

	// Key ID of AWS S3 storage.
	// Required to create the Secret with the data to allow send the backup files to AWS S3 storage.
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	AwsAccessKeyId string `json:"awsAccessKeyId,omitempty"`

	// Secret/Token of AWS S3 storage.
	// Required to create the Secret with the data to allow send the backup files to AWS S3 storage.
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	AwsSecretAccessKey string `json:"awsSecretAccessKey,omitempty"`

	// Name of the secret with the AWS data credentials already created in the cluster
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	AwsCredentialsSecretName string `json:"awsCredentialsSecretName,omitempty"`
	// Name of the namespace where the scret with the AWS data credentials is in the cluster
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	AwsCredentialsSecretNamespace string `json:"awsCredentialsSecretNamespace,omitempty"`

	// Name of the secret with the EncryptionKey data already created in the cluster
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	EncryptionKeySecretName string `json:"encryptionKeySecretName,omitempty"`

	// Name of the namespace where the secret with the EncryptionKey data is in the cluster
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	EncryptionKeySecretNamespace string `json:"encryptionKeySecretNamespace,omitempty"`

	// GPG public key to create the EncryptionKeySecret with this data
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	// See here how to create this key : https://help.github.com/en/articles/generating-a-new-gpg-key
	GpgPublicKey string `json:"gpgPublicKey,omitempty"`

	// GPG email to create the EncryptionKeySecret with this data
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	// See here how to create this key : https://help.github.com/en/articles/generating-a-new-gpg-key
	GpgEmail string `json:"gpgEmail,omitempty"`

	// GPG trust model to create the EncryptionKeySecret with this data. the default value is true when it is empty.
	// More info: https://github.com/aerogear/mobile-security-service-operator#configuring-the-backup-service
	// See here how to create this key : https://help.github.com/en/articles/generating-a-new-gpg-key
	GpgTrustModel string `json:"gpgTrustModel,omitempty"`
}

MobileSecurityServiceBackupSpec defines the desired state of MobileSecurityServiceBackup +k8s:openapi-gen=true

func (*MobileSecurityServiceBackupSpec) DeepCopy

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

func (*MobileSecurityServiceBackupSpec) DeepCopyInto

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

type MobileSecurityServiceBackupStatus

type MobileSecurityServiceBackupStatus struct {

	// Will be as "OK when all objects are created successfully
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	BackupStatus string `json:"backupStatus"`
	// Name of the CronJob object created and managed by it to schedule the backup job
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	CronJobName string `json:"cronJobName"`
	// Name of the secret object created with the database data to allow the backup image connect to the database
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	DBSecretName string `json:"dbSecretName"`
	// Data  of the secret object created with the database data to allow the backup image connect to the database
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	DBSecretData map[string]string `json:"dbSecretData"`
	// Name  of the secret object with the Aws data to allow send the backup files to the AWS storage
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	AWSSecretName string `json:"awsSecretName"`
	// Data  of the secret object with the Aws data to allow send the backup files to the AWS storage
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	AWSSecretData map[string]string `json:"awsSecretData"`
	// Namespace  of the secret object with the Aws data to allow send the backup files to the AWS storage
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	AwsCredentialsSecretNamespace string `json:"awsCredentialsSecretNamespace"`
	// Name  of the secret object with the Encryption GPG Key
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-type
	EncryptionKeySecretName string `json:"encryptionKeySecretName"`
	// Namespace of the secret object with the Encryption GPG Key
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	EncryptionKeySecretNamespace string `json:"encryptionKeySecretNamespace"`
	// Data of the secret object with the Encryption GPG Key
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	EncryptionKeySecretData map[string]string `json:"encryptionKeySecretData"`
	// Boolean value which has true when it has an EncryptionKey to be used to send the backup files
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	HasEncryptionKey bool `json:"hasEncryptionKey"`
	// Boolean value which has true when the Database Pod was found in order to create the secret with the database data to allow the backup image connect into it.
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	DatabasePodFound bool `json:"databasePodFound"`
	// Boolean value which has true when the Service Database Pod was found in order to create the secret with the database data to allow the backup image connect into it.
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	DatabaseServiceFound bool `json:"databaseServiceFound"`
	// Status of the CronJob object
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	CronJobStatus v1beta1.CronJobStatus `json:"cronJobStatus"`
}

MobileSecurityServiceBackupStatus defines the observed state of MobileSecurityServiceBackup +k8s:openapi-gen=true

func (*MobileSecurityServiceBackupStatus) DeepCopy

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

func (*MobileSecurityServiceBackupStatus) DeepCopyInto

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

type MobileSecurityServiceDB

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

	Spec   MobileSecurityServiceDBSpec   `json:"spec,omitempty"`
	Status MobileSecurityServiceDBStatus `json:"status,omitempty"`
}

MobileSecurityServiceDB is the Schema for the mobilesecurityservicedbs API +k8s:openapi-gen=true

func (*MobileSecurityServiceDB) DeepCopy

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

func (*MobileSecurityServiceDB) DeepCopyInto

func (in *MobileSecurityServiceDB) DeepCopyInto(out *MobileSecurityServiceDB)

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

func (*MobileSecurityServiceDB) DeepCopyObject

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

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

type MobileSecurityServiceDBList

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

MobileSecurityServiceDBList contains a list of MobileSecurityServiceDB

func (*MobileSecurityServiceDBList) DeepCopy

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

func (*MobileSecurityServiceDBList) DeepCopyInto

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

func (*MobileSecurityServiceDBList) DeepCopyObject

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

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

type MobileSecurityServiceDBSpec

type MobileSecurityServiceDBSpec struct {

	// Value for the Database Environment Variable (Spec.DatabaseNameParam).
	// This value will be used when the ConfigMap created by the MobileSecurityService is not found
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	DatabaseName string `json:"databaseName,omitempty"`

	// Value for the Database Environment Variable (Spec.DatabasePasswordParam).
	// This value will be used when the ConfigMap created by the MobileSecurityService is not found
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	DatabasePassword string `json:"databasePassword,omitempty"`

	// Value for the Database Environment Variable (Spec.DatabaseUser).
	// This value will be used when the ConfigMap created by the MobileSecurityService is not found
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	DatabaseUser string `json:"databaseUser,omitempty"`

	// Key Value for the Database Environment Variable in order to inform the database mame
	// Note that each database version/image can expected a different value for it.
	DatabaseNameParam string `json:"databaseNameParam,omitempty"`

	// Key Value for the Database Environment Variable in order to inform the database password
	// Note that each database version/image can expected a different value for it.
	DatabasePasswordParam string `json:"databasePasswordParam,omitempty"`

	// Key Value for the Database Environment Variable in order to inform the database user
	// Note that each database version/image can expected a different value for it.
	DatabaseUserParam string `json:"databaseUserParam,omitempty"`

	// Value for the Database Environment Variable in order to define the port which it should use. It will be used in its container as well
	DatabasePort int32 `json:"databasePort,omitempty"`

	// Quantity of instances
	Size int32 `json:"size,omitempty"`
	// Database image:tag E.g "centos/postgresql-96-centos7"
	Image string `json:"image,omitempty"`
	// Name to create the Database container
	ContainerName string `json:"containerName,omitempty"`
	// Limit of Memory which will be available for the database container
	DatabaseMemoryLimit string `json:"databaseMemoryLimit,omitempty"`
	// Limit of Memory Request which will be available for the database container
	DatabaseMemoryRequest string `json:"databaseMemoryRequest,omitempty"`
	// Limit of Storage Request which will be available for the database container
	DatabaseStorageRequest string `json:"databaseStorageRequest,omitempty"`

	// Policy definition to pull the Database Image
	// More info: https://kubernetes.io/docs/concepts/containers/images/
	ContainerImagePullPolicy v1.PullPolicy `json:"containerImagePullPolicy,omitempty"`
}

MobileSecurityServiceDBSpec defines the desired state of MobileSecurityServiceDB +k8s:openapi-gen=true

func (*MobileSecurityServiceDBSpec) DeepCopy

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

func (*MobileSecurityServiceDBSpec) DeepCopyInto

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

type MobileSecurityServiceDBStatus

type MobileSecurityServiceDBStatus struct {

	// Name of the PersistentVolumeClaim created and managed by it
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	PersistentVolumeClaimName string `json:"persistentVolumeClaimName"`
	// Name of the Database Deployment created and managed by it
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	DeploymentName string `json:"deploymentName"`
	// Status of the Database Deployment created and managed by it
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	DeploymentStatus appsv1.DeploymentStatus `json:"deploymentStatus"`
	// Name of the Database Service created and managed by it
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	ServiceName string `json:"serviceName"`
	// Status of the Database Service created and managed by it
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	ServiceStatus v1.ServiceStatus `json:"serviceStatus"`
	// Will be as "OK when all objects are created successfully
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	DatabaseStatus string `json:"databaseStatus"`
}

MobileSecurityServiceDBStatus defines the observed state of MobileSecurityServiceDB +k8s:openapi-gen=true

func (*MobileSecurityServiceDBStatus) DeepCopy

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

func (*MobileSecurityServiceDBStatus) DeepCopyInto

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

type MobileSecurityServiceList

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

MobileSecurityServiceList contains a list of MobileSecurityService

func (*MobileSecurityServiceList) DeepCopy

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

func (*MobileSecurityServiceList) DeepCopyInto

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

func (*MobileSecurityServiceList) DeepCopyObject

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

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

type MobileSecurityServiceSpec

type MobileSecurityServiceSpec struct {

	// Value for the Service Environment Variable (PGDATABASE).
	// This value will be shared to create the database managed by the MobileSecurityServiceDB via a configMap.
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	DatabaseName string `json:"databaseName,omitempty"`
	// Value for the Service Environment Variable (PGPASSWORD).
	// This value will be shared to create the database managed by the MobileSecurityServiceDB via a configMap.
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	DatabasePassword string `json:"databasePassword,omitempty"`
	// Value for the Service Environment Variable (PGUSER).
	// This value will be shared to create the database managed by the MobileSecurityServiceDB via a configMap.
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	DatabaseUser string `json:"databaseUser,omitempty"`
	// Value for the Service Environment Variable (PGHOST)
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	DatabaseHost string `json:"databaseHost,omitempty"`
	// Value for the Service Environment Variable (LOG_LEVEL)
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	LogLevel string `json:"logLevel,omitempty"`
	// Value for the Service Environment Variable (LOG_FORMAT)
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	LogFormat string `json:"logFormat,omitempty"`
	// Value for the Service Environment Variable (ACCESS_CONTROL_ALLOW_ORIGIN)
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	AccessControlAllowOrigin string `json:"accessControlAllowOrigin,omitempty"`
	// Value for the Service Environment Variable (ACCESS_CONTROL_ALLOW_CREDENTIALS)
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	AccessControlAllowCredentials string `json:"accessControlAllowCredentials,omitempty"`
	// Value for the Service Environment Variable (PORT)
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	Port int32 `json:"port,omitempty"`

	// Quantity of instances
	Size int32 `json:"size,omitempty"`
	// Service image:tag E.g quay.io/aerogear/mobile-security-service:0.1.0
	Image string `json:"image,omitempty"`
	// Name of the container which will be created for the Service
	ContainerName string `json:"containerName,omitempty"`
	// Used to create the URL to allow public access to the Servic
	// Options [http or https].
	ClusterProtocol string `json:"clusterProtocol,omitempty"`
	// Limit of Memory which will be available for the Service container
	MemoryLimit string `json:"memoryLimit,omitempty"`
	// Limit of Memory Request which will be available for the Service container
	MemoryRequest string `json:"memoryRequest,omitempty"`
	// Limit of CPU which will be available for the Service container
	ResourceCpuLimit string `json:"resourceCpuLimit,omitempty"`
	// CPU resource which will be available for the Service container
	ResourceCpu string `json:"resourceCpu,omitempty"`
	// Limit of Memory which will be available for the OAuth container
	OAuthMemoryLimit string `json:"oAuthMemoryLimit,omitempty"`
	// Limit of Memory Request which will be available for the OAuth container
	OAuthMemoryRequest string `json:"oAuthMemoryRequest,omitempty"`
	// Limit of CPU which will be available for the OAuth container
	OAuthResourceCpuLimit string `json:"oAuthResourceCpuLimit,omitempty"`
	// CPU resource which will be available for the OAuth container
	OAuthResourceCpu string `json:"oAuthResourceCpu,omitempty"`
	// Oauth image:tag E.g quay.io/openshift/origin-oauth-proxy:4.2.0
	// More info: https://github.com/openshift/oauth-proxy
	OAuthImage string `json:"oAuthImage,omitempty"`
	// Name of the container which will be created for the Service pod as sidecar
	OAuthContainerName string `json:"oAuthContainerName,omitempty"`

	// Name of the configMap which will be created to share the data with MobileSecurityServiceDB.
	// Note that by default it is empty and the name will be : MobileSecurityService CR instance Name + -config
	// More info: https://github.com/aerogear/mobile-security-service-operator#changing-the-environment-variables-values
	ConfigMapName string `json:"configMapName,omitempty"`
	// The name of the route which will vbe created to expose the Service
	RouteName string `json:"routeName,omitempty"`
	// Policy definition to pull the Oauth Image
	// More info: https://kubernetes.io/docs/concepts/containers/images/
	OAuthContainerImagePullPolicy v1.PullPolicy `json:"oAuthContainerImagePullPolicy,omitempty"`
	// Policy definition to pull the Service Image
	// More info: https://kubernetes.io/docs/concepts/containers/images/
	ContainerImagePullPolicy v1.PullPolicy `json:"containerImagePullPolicy,omitempty"`
}

MobileSecurityServiceSpec defines the desired state of MobileSecurityService +k8s:openapi-gen=true

func (*MobileSecurityServiceSpec) DeepCopy

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

func (*MobileSecurityServiceSpec) DeepCopyInto

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

type MobileSecurityServiceStatus

type MobileSecurityServiceStatus struct {

	// Name of the ConfigMap created and managed by it with the values used in the Service and Database Environment Variables
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	ConfigMapName string `json:"configMapName"`
	// Name of the Deployment created and managed by it to provided the Service Application
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	DeploymentName string `json:"deploymentName"`
	// Status of the Deployment created and managed by it to provided the Service Application
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	DeploymentStatus appsv1.DeploymentStatus `json:"deploymentStatus"`
	// Name of the Service created and managed by it to expose the Service Application
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	ServiceName string `json:"serviceName"`
	// Status of the Service created and managed by it to expose the Service Application
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	ServiceStatus v1.ServiceStatus `json:"serviceStatus"`
	// Name of the Proxy Service created and managed by it to allow its internal communication with the database. Required because of the Oauth configuration.
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	ProxyServiceName string `json:"proxyServiceName"`
	// Status of the Proxy Service created and managed by it to allow its internal communication with the database. Required because of the Oauth configuration.
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	ProxyServiceStatus v1.ServiceStatus `json:"proxyServiceStatus"`
	// Name of the Route object required to expose public the Service Application
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	RouteName string `json:"routeName"`
	// Status of the Route object required to expose public the Service Application
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-type
	RouteStatus routev1.RouteStatus `json:"routeStatus"`
	// Will be as "OK when all objects are created successfully
	// More info: https://github.com/aerogear/mobile-security-service-operator#status-definition-per-types
	AppStatus string `json:"appStatus"`
}

MobileSecurityServiceStatus defines the observed state of MobileSecurityService +k8s:openapi-gen=true

func (*MobileSecurityServiceStatus) DeepCopy

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

func (*MobileSecurityServiceStatus) DeepCopyInto

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