v1beta1

package
v0.0.0-...-2e6c968 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the wso2 v1beta1 API group +kubebuilder:object:generate=true +groupName=iam.wso2.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "iam.wso2.com", Version: "v1beta1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AdminService

type AdminService struct {
	Wsdl Wsdl `toml:"wsdl,omitempty" json:"wsdl,omitempty"`
}

func (*AdminService) DeepCopy

func (in *AdminService) DeepCopy() *AdminService

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

func (*AdminService) DeepCopyInto

func (in *AdminService) DeepCopyInto(out *AdminService)

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

type Auth

type Auth struct {
	Host     string `json:"host"`
	Username string `json:"username"`
	Password string `json:"password"`
}

func (*Auth) DeepCopy

func (in *Auth) DeepCopy() *Auth

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

func (*Auth) DeepCopyInto

func (in *Auth) DeepCopyInto(out *Auth)

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

type Authentication

type Authentication struct {
	Consent Consent `json:"consent" toml:"consent"`
}

Consent DB configurations

func (*Authentication) DeepCopy

func (in *Authentication) DeepCopy() *Authentication

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

func (*Authentication) DeepCopyInto

func (in *Authentication) DeepCopyInto(out *Authentication)

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

type Authenticator

type Authenticator struct {
	Totp     Totp     `toml:"totp,omitempty" json:"totp,omitempty"`
	EmailOtp EmailOtp `toml:"email_otp,omitempty" json:"email_otp,omitempty"`
	SmsOtp   SmsOtp   `toml:"sms_otp,omitempty" json:"sms_otp,omitempty"`
}

Multi factor authenticators

func (*Authenticator) DeepCopy

func (in *Authenticator) DeepCopy() *Authenticator

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

func (*Authenticator) DeepCopyInto

func (in *Authenticator) DeepCopyInto(out *Authenticator)

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

type BpsDatabase

type BpsDatabase struct {
	Type     string `json:"type,omitempty" toml:"type,omitempty"`
	URL      string `json:"url,omitempty" toml:"url,omitempty"`
	Hostname string `json:"hostname,omitempty" toml:"hostname,omitempty"`
	Username string `json:"username" toml:"username"`
	Password string `json:"password" toml:"password"`
	Driver   string `json:"driver,omitempty" toml:"driver,omitempty"`
	// +kubebuilder:default:={ "validationQuery" : "SELECT 1" }
	PoolOptions PoolOptions `json:"pool_options,omitempty" toml:"pool_options,omitempty"`
}

BPS database

func (*BpsDatabase) DeepCopy

func (in *BpsDatabase) DeepCopy() *BpsDatabase

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

func (*BpsDatabase) DeepCopyInto

func (in *BpsDatabase) DeepCopyInto(out *BpsDatabase)

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

type Clustering

type Clustering struct {
	// +kubebuilder:default:="kubernetes"
	MembershipScheme string `json:"membership_scheme,omitempty" toml:"membership_scheme,omitempty"`
	// +kubebuilder:default:="wso2.is.domain"
	Domain     string               `json:"domain,omitempty" toml:"domain,omitempty"`
	Properties ClusteringProperties `json:"properties" toml:"properties,omitempty"`
}

Clustering configurations

func (*Clustering) DeepCopy

func (in *Clustering) DeepCopy() *Clustering

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

func (*Clustering) DeepCopyInto

func (in *Clustering) DeepCopyInto(out *Clustering)

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

type ClusteringProperties

type ClusteringProperties struct {
	// +kubebuilder:default:="org.wso2.carbon.membership.scheme.kubernetes.KubernetesMembershipScheme"
	PropertiesMembershipSchemeClassName string `json:"membershipSchemeClassName,omitempty" toml:"membershipSchemeClassName,omitempty"`
	// +kubebuilder:default:="default"
	PropertiesKUBERNETESNAMESPACE string `json:"KUBERNETES_NAMESPACE,omitempty" toml:"KUBERNETES_NAMESPACE,omitempty"`
	// +kubebuilder:default:="wso2is-service"
	PropertiesKUBERNETESSERVICES string `json:"KUBERNETES_SERVICES,omitempty" toml:"KUBERNETES_SERVICES,omitempty"`
	// +kubebuilder:default:=true
	PropertiesKUBERNETESMASTERSKIPSSLVERIFICATION bool `json:"KUBERNETES_MASTER_SKIP_SSL_VERIFICATION,omitempty" toml:"KUBERNETES_MASTER_SKIP_SSL_VERIFICATION,omitempty"`
	// +kubebuilder:default:=false
	PropertiesUSEDNS                bool   `json:"USE_DNS,omitempty" toml:"USE_DNS,omitempty"`
	PropertiesKUBERNETES_API_SERVER string `json:"KUBERNETES_API_SERVER" toml:"KUBERNETES_API_SERVER,omitempty"`
}

Clustering Properties

func (*ClusteringProperties) DeepCopy

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

func (*ClusteringProperties) DeepCopyInto

func (in *ClusteringProperties) DeepCopyInto(out *ClusteringProperties)

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

type Configurations

type Configurations struct {
	Host string `json:"host"`
	// +kubebuilder:default:="NodePort"
	ServiceType string `json:"serviceType,omitempty"`
	// +kubebuilder:default:={ "hostname" : "$env{HOST_NAME}", "nodeIp": "$env{NODE_IP}" }
	Server Server `json:"server,omitempty" toml:"server"`
	// +kubebuilder:default:={ "username" : "admin", "password": "admin", "createAdminAccount": true }
	SuperAdmin SuperAdmin `json:"superAdmin,omitempty" toml:"super_admin"`
	// +kubebuilder:default:={ "type" : "read_write_ldap_unique_id", "connection_url": "ldap://localhost:${Ports.EmbeddedLDAP.LDAPServerPort}", "connection_name" : "uid=admin,ou=system", "connection_password" : "admin", "base_dn" : "dc=wso2,dc=org" }
	UserStore UserStore `json:"userStore,omitempty" toml:"user_store"`
	// +kubebuilder:default:={ "identityDb":{"password":"wso2carbon","type":"h2","url":"jdbc:h2:./repository/database/WSO2IDENTITY_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000","username":"wso2carbon"},"sharedDb":{"password":"wso2carbon","type":"h2","url":"jdbc:h2:./repository/database/WSO2SHARED_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000","username":"wso2carbon"} }
	Database Database `json:"database,omitempty" toml:"database"`
	// +kubebuilder:default:={ "https" : { "properties" : { "proxyPort" : 443 } } }
	Transport Transport `json:"transport,omitempty" toml:"transport,omitempty"`
	// +kubebuilder:default:= { "primary":{"name":"wso2carbon.jks","password":"wso2carbon"} }
	Keystore Keystore `json:"keystore,omitempty" toml:"keystore,omitempty"`
	// +kubebuilder:default:={ "jmx" : { "rmi_server_start" : true } }
	Monitoring Monitoring `json:"monitoring,omitempty" toml:"monitoring,omitempty"`
	// +kubebuilder:default:={ "hazelcastShutdownhookEnabled" : false, "hazelcastLoggingType" : "log4j"  }
	Hazelcast      Hazelcast          `json:"hazelcast,omitempty" toml:"hazelcast,omitempty"`
	Authentication StepAuthentication `json:"authentication,omitempty" toml:"authentication,omitempty"`
	Recaptcha      Recaptcha          `json:"recaptcha,omitempty" toml:"recaptcha,omitempty"`
	OutputAdapter  OutputAdapter      `toml:"output_adapter,omitempty" json:"output_adapter,omitempty"`
	Clustering     Clustering         `json:"clustering,omitempty" toml:"clustering,omitempty"`
	TenantMgt      TenantMgt          `json:"tenant_mgt,omitempty" toml:"tenant_mgt,omitempty"`
	AdminService   AdminService       `json:"admin_service,omitempty" toml:"admin_service,omitempty"`
}

func (*Configurations) DeepCopy

func (in *Configurations) DeepCopy() *Configurations

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

func (*Configurations) DeepCopyInto

func (in *Configurations) DeepCopyInto(out *Configurations)

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

type Consent struct {
	DataSource string `json:"data_source" toml:"data_source"`
}

Consent DB data source

func (*Consent) DeepCopy

func (in *Consent) DeepCopy() *Consent

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

func (*Consent) DeepCopyInto

func (in *Consent) DeepCopyInto(out *Consent)

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

type Database

type Database struct {
	IdentityDb IdentityDb `json:"identityDb" toml:"identity_db"`
	SharedDb   SharedDb   `json:"sharedDb" toml:"shared_db"`
}

Database connections and configs

func (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto

func (in *Database) DeepCopyInto(out *Database)

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

type Datasource

type Datasource struct {
	ID                         string `json:"id" toml:"id"`
	URL                        string `json:"url" toml:"url"`
	Username                   string `json:"username" toml:"username"`
	Password                   string `json:"password" toml:"password"`
	Driver                     string `json:"driver" toml:"driver"`
	PoolOptionsValidationQuery string `json:"pool_options_validationQuery" toml:"pool_options.validationQuery"`
	PoolOptionsMaxActive       int    `json:"pool_options_maxActive" toml:"pool_options.maxActive"`
	PoolOptionsMaxWait         int    `json:"pool_options_maxWait" toml:"pool_options.maxWait"`
	PoolOptionsTestOnBorrow    bool   `json:"pool_options_testOnBorrow" toml:"pool_options.testOnBorrow"`
	PoolOptionsJmxEnabled      bool   `json:"pool_options_jmxEnabled" toml:"pool_options.jmxEnabled"`
}

Single datasource

func (*Datasource) DeepCopy

func (in *Datasource) DeepCopy() *Datasource

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

func (*Datasource) DeepCopyInto

func (in *Datasource) DeepCopyInto(out *Datasource)

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

type Email

type Email struct {
	// +kubebuilder:validation:Required
	FromAddress string `toml:"from_address,omitempty" json:"from_address,omitempty"`
	// +kubebuilder:validation:Required
	Username string `toml:"username,omitempty" json:"username,omitempty"`
	// +kubebuilder:validation:Required
	Password string `toml:"password,omitempty" json:"password,omitempty"`
	// +kubebuilder:validation:Required
	Hostname string `toml:"hostname,omitempty" json:"hostname,omitempty"`
	// +kubebuilder:default:="587"
	Port string `toml:"port,omitempty" json:"port,omitempty"`
	// +kubebuilder:default:=true
	EnableStartTLS bool `toml:"enable_start_tls,omitempty" json:"enable_start_tls,omitempty"`
	// +kubebuilder:default:=true
	EnableAuthentication bool `toml:"enable_authentication,omitempty" json:"enable_authentication,omitempty"`
}

SMTP email configurations

func (*Email) DeepCopy

func (in *Email) DeepCopy() *Email

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

func (*Email) DeepCopyInto

func (in *Email) DeepCopyInto(out *Email)

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

type EmailOtp

type EmailOtp struct {
	// +kubebuilder:default:="EmailOTP"
	Name string `toml:"name,omitempty" json:"name,omitempty"`
	// +kubebuilder:default:=false
	Enable bool `toml:"enable,omitempty" json:"enable,omitempty"`
	// +kubebuilder:default:={"CaptureAndUpdateEmailAddress":true,"EMAILOTPAuthenticationEndpointURL":"/emailotpauthenticationendpoint/emailotp.jsp","EMAILOTPMandatory":false,"EmailAddressRequestPage":"/emailotpauthenticationendpoint/emailAddress.jsp","EmailOTPAuthenticationEndpointErrorPage":"/emailotpauthenticationendpoint/emailotpError.jsp","EmailOTPEnableByUserClaim":true,"federatedEmailAttributeKey":"email","secondaryUserstore":"primary","sendOTPToFederatedEmailAttribute":false,"showEmailAddressInUI":true,"useEventHandlerBasedEmailSender":true,"usecase":"local"}
	Parameters EmailOtpParameters `toml:"parameters,omitempty" json:"parameters,omitempty"`
}

Enable email authentication

func (*EmailOtp) DeepCopy

func (in *EmailOtp) DeepCopy() *EmailOtp

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

func (*EmailOtp) DeepCopyInto

func (in *EmailOtp) DeepCopyInto(out *EmailOtp)

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

type EmailOtpParameters

type EmailOtpParameters struct {
	// +kubebuilder:default:="/emailotpauthenticationendpoint/emailotp.jsp"
	EMAILOTPAuthenticationEndpointURL string `toml:"EMAILOTPAuthenticationEndpointURL,omitempty" json:"EMAILOTPAuthenticationEndpointURL,omitempty"`
	// +kubebuilder:default:="/emailotpauthenticationendpoint/emailotpError.jsp"
	EmailOTPAuthenticationEndpointErrorPage string `toml:"EmailOTPAuthenticationEndpointErrorPage,omitempty" json:"EmailOTPAuthenticationEndpointErrorPage,omitempty"`
	// +kubebuilder:default:="/emailotpauthenticationendpoint/emailAddress.jsp"
	EmailAddressRequestPage string `toml:"EmailAddressRequestPage,omitempty" json:"EmailAddressRequestPage,omitempty"`
	// +kubebuilder:default:="local"
	Usecase string `toml:"usecase,omitempty" json:"usecase,omitempty"`
	// +kubebuilder:default:="primary"
	SecondaryUserstore string `toml:"secondaryUserstore,omitempty" json:"secondaryUserstore,omitempty"`
	// +kubebuilder:default:=false
	EMAILOTPMandatory bool `toml:"EMAILOTPMandatory,omitempty" json:"EMAILOTPMandatory,omitempty"`
	// +kubebuilder:default:=false
	SendOTPToFederatedEmailAttribute bool `toml:"sendOTPToFederatedEmailAttribute,omitempty" json:"sendOTPToFederatedEmailAttribute,omitempty"`
	// +kubebuilder:default:="email"
	FederatedEmailAttributeKey string `toml:"federatedEmailAttributeKey,omitempty" json:"federatedEmailAttributeKey,omitempty"`
	// +kubebuilder:default:=true
	EmailOTPEnableByUserClaim bool `toml:"EmailOTPEnableByUserClaim,omitempty" json:"EmailOTPEnableByUserClaim,omitempty"`
	// +kubebuilder:default:=true
	CaptureAndUpdateEmailAddress bool `toml:"CaptureAndUpdateEmailAddress,omitempty" json:"CaptureAndUpdateEmailAddress,omitempty"`
	// +kubebuilder:default:=true
	ShowEmailAddressInUI bool `toml:"showEmailAddressInUI,omitempty" json:"showEmailAddressInUI,omitempty"`
	// +kubebuilder:default:=true
	UseEventHandlerBasedEmailSender bool `toml:"useEventHandlerBasedEmailSender,omitempty" json:"useEventHandlerBasedEmailSender,omitempty"`
}

Email authentication parameters

func (*EmailOtpParameters) DeepCopy

func (in *EmailOtpParameters) DeepCopy() *EmailOtpParameters

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

func (*EmailOtpParameters) DeepCopyInto

func (in *EmailOtpParameters) DeepCopyInto(out *EmailOtpParameters)

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

type HTTPS

type HTTPS struct {
	Properties Properties `json:"properties" toml:"properties"`
}

Transport protocol HTTP

func (*HTTPS) DeepCopy

func (in *HTTPS) DeepCopy() *HTTPS

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

func (*HTTPS) DeepCopyInto

func (in *HTTPS) DeepCopyInto(out *HTTPS)

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

type Hazelcast

type Hazelcast struct {
	// +kubebuilder:default:=false
	ShutdownHookEnabled bool `json:"hazelcastShutdownhookEnabled,omitempty" toml:"hazelcast.shutdownhook.enabled"`
	// +kubebuilder:default:="log4j"
	LoggingType string `json:"hazelcastLoggingType,omitempty" toml:"hazelcast.logging.type"`
}

Hazelcast clustering configs

func (*Hazelcast) DeepCopy

func (in *Hazelcast) DeepCopy() *Hazelcast

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

func (*Hazelcast) DeepCopyInto

func (in *Hazelcast) DeepCopyInto(out *Hazelcast)

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

type IdentityDb

type IdentityDb struct {
	Type     string `json:"type,omitempty" toml:"type,omitempty"`
	URL      string `json:"url,omitempty" toml:"url,omitempty"`
	Hostname string `json:"hostname,omitempty" toml:"hostname,omitempty"`
	Username string `json:"username" toml:"username"`
	Password string `json:"password" toml:"password"`
	Driver   string `json:"driver,omitempty" toml:"driver,omitempty"`
	// +kubebuilder:default:={ "validationQuery" : "SELECT 1" }
	PoolOptions PoolOptions `json:"pool_options,omitempty" toml:"pool_options,omitempty"`
}

Identity database

func (*IdentityDb) DeepCopy

func (in *IdentityDb) DeepCopy() *IdentityDb

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

func (*IdentityDb) DeepCopyInto

func (in *IdentityDb) DeepCopyInto(out *IdentityDb)

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

type Jmx

type Jmx struct {
	// +kubebuilder:default:=true
	RmiServerStart bool `toml:"rmi_server_start" json:"rmi_server_start,omitempty"`
}

Jmx monitoring configurations

func (*Jmx) DeepCopy

func (in *Jmx) DeepCopy() *Jmx

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

func (*Jmx) DeepCopyInto

func (in *Jmx) DeepCopyInto(out *Jmx)

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

type Keystore

type Keystore struct {
	Primary Primary `json:"primary" toml:"primary"`
}

Keystore configurations

func (*Keystore) DeepCopy

func (in *Keystore) DeepCopy() *Keystore

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

func (*Keystore) DeepCopyInto

func (in *Keystore) DeepCopyInto(out *Keystore)

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

type KeystoreMount

type KeystoreMount struct {
	Name string `json:"name"`
	Data string `json:"data"`
}

func (*KeystoreMount) DeepCopy

func (in *KeystoreMount) DeepCopy() *KeystoreMount

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

func (*KeystoreMount) DeepCopyInto

func (in *KeystoreMount) DeepCopyInto(out *KeystoreMount)

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

type Monitoring

type Monitoring struct {
	Jmx Jmx `toml:"jmx" json:"jmx,omitempty"`
}

Monitoring configurations

func (*Monitoring) DeepCopy

func (in *Monitoring) DeepCopy() *Monitoring

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

func (*Monitoring) DeepCopyInto

func (in *Monitoring) DeepCopyInto(out *Monitoring)

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

type OutputAdapter

type OutputAdapter struct {
	Email Email `toml:"email,omitempty" json:"email,omitempty"`
}

func (*OutputAdapter) DeepCopy

func (in *OutputAdapter) DeepCopy() *OutputAdapter

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

func (*OutputAdapter) DeepCopyInto

func (in *OutputAdapter) DeepCopyInto(out *OutputAdapter)

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

type PoolOptions

type PoolOptions struct {
	// +kubebuilder:default:="SELECT 1"
	ValidationQuery string `json:"validationQuery,omitempty" toml:"validationQuery"`
}

MySQL pool options

func (*PoolOptions) DeepCopy

func (in *PoolOptions) DeepCopy() *PoolOptions

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

func (*PoolOptions) DeepCopyInto

func (in *PoolOptions) DeepCopyInto(out *PoolOptions)

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

type Primary

type Primary struct {
	Name     string `json:"name" toml:"name"`
	Password string `json:"password" toml:"password"`
}

Primary Keystore configurations

func (*Primary) DeepCopy

func (in *Primary) DeepCopy() *Primary

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

func (*Primary) DeepCopyInto

func (in *Primary) DeepCopyInto(out *Primary)

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

type Properties

type Properties struct {
	ProxyPort int `json:"proxyPort" toml:"proxyPort"`
}

Proxyport properties

func (*Properties) DeepCopy

func (in *Properties) DeepCopy() *Properties

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

func (*Properties) DeepCopyInto

func (in *Properties) DeepCopyInto(out *Properties)

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

type Recaptcha

type Recaptcha struct {
	// +kubebuilder:default:=false
	Enabled bool `toml:"enabled,omitempty" json:"enabled,omitempty"`
	// +kubebuilder:default:="https://www.google.com/recaptcha/api.js"
	APIURL string `toml:"api_url,omitempty" json:"api_url,omitempty"`
	// +kubebuilder:default:="https://www.google.com/recaptcha/api/siteverify"
	VerifyURL string `toml:"verify_url,omitempty" json:"verify_url,omitempty"`
	// +kubebuilder:validation:Required
	SiteKey string `toml:"site_key,omitempty" json:"site_key,omitempty"`
	// +kubebuilder:validation:Required
	SecretKey string `toml:"secret_key,omitempty" json:"secret_key,omitempty"`
}

Recaptcha configurations

func (*Recaptcha) DeepCopy

func (in *Recaptcha) DeepCopy() *Recaptcha

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

func (*Recaptcha) DeepCopyInto

func (in *Recaptcha) DeepCopyInto(out *Recaptcha)

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

type Server

type Server struct {
	// +kubebuilder:default:="$env{HOST_NAME}"
	Hostname string `json:"hostname,omitempty" toml:"hostname"`
	// +kubebuilder:default:="$env{NODE_IP}"
	NodeIP string `json:"nodeIp,omitempty" toml:"node_ip"`
}

Primary server configs

func (*Server) DeepCopy

func (in *Server) DeepCopy() *Server

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

func (*Server) DeepCopyInto

func (in *Server) DeepCopyInto(out *Server)

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

type SharedDb

type SharedDb struct {
	Type     string `json:"type,omitempty" toml:"type,omitempty"`
	URL      string `json:"url,omitempty" toml:"url,omitempty"`
	Hostname string `json:"hostname,omitempty" toml:"hostname,omitempty"`
	Username string `json:"username" toml:"username"`
	Password string `json:"password" toml:"password"`
	Driver   string `json:"driver,omitempty" toml:"driver,omitempty"`
	// +kubebuilder:default:={ "validationQuery" : "SELECT 1" }
	PoolOptions PoolOptions `json:"pool_options,omitempty" toml:"pool_options,omitempty"`
}

Shared database

func (*SharedDb) DeepCopy

func (in *SharedDb) DeepCopy() *SharedDb

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

func (*SharedDb) DeepCopyInto

func (in *SharedDb) DeepCopyInto(out *SharedDb)

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

type SmsOtp

type SmsOtp struct {
	// +kubebuilder:default:="SmsOTP"
	Name string `toml:"name,omitempty" json:"name,omitempty"`
	// +kubebuilder:default:={"BackupCode":true,"CaptureAndUpdateMobileNumber":true,"MobileNumberRegPage":"/smsotpauthenticationendpoint/mobile.jsp","ResendEnable":true,"RetryEnable":true,"SMSOTPAuthenticationEndpointErrorPage":"/smsotpauthenticationendpoint/smsotpError.jsp","SMSOTPAuthenticationEndpointURL":"/smsotpauthenticationendpoint/smsotp.jsp","SMSOTPEnableByUserClaim":true,"SMSOTPMandatory":false,"SendOTPDirectlyToMobile":false,"redirectToMultiOptionPageOnFailure":false}
	Parameters SmsOtpParameters `toml:"parameters,omitempty" json:"parameters,omitempty"`
	// +kubebuilder:default:=false
	Enable bool `toml:"enable,omitempty" json:"enable,omitempty"`
}

SMS OTP configurations

func (*SmsOtp) DeepCopy

func (in *SmsOtp) DeepCopy() *SmsOtp

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

func (*SmsOtp) DeepCopyInto

func (in *SmsOtp) DeepCopyInto(out *SmsOtp)

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

type SmsOtpParameters

type SmsOtpParameters struct {
	// +kubebuilder:default:="/smsotpauthenticationendpoint/smsotp.jsp"
	SMSOTPAuthenticationEndpointURL string `toml:"SMSOTPAuthenticationEndpointURL,omitempty" json:"SMSOTPAuthenticationEndpointURL,omitempty"`
	// +kubebuilder:default:="/smsotpauthenticationendpoint/smsotpError.jsp"
	SMSOTPAuthenticationEndpointErrorPage string `toml:"SMSOTPAuthenticationEndpointErrorPage,omitempty" json:"SMSOTPAuthenticationEndpointErrorPage,omitempty"`
	// +kubebuilder:default:="/smsotpauthenticationendpoint/mobile.jsp"
	MobileNumberRegPage string `toml:"MobileNumberRegPage,omitempty" json:"MobileNumberRegPage,omitempty"`
	// +kubebuilder:default:=true
	RetryEnable bool `toml:"RetryEnable,omitempty" json:"RetryEnable,omitempty"`
	// +kubebuilder:default:=true
	ResendEnable bool `toml:"ResendEnable,omitempty" json:"ResendEnable,omitempty"`
	// +kubebuilder:default:=true
	BackupCode bool `toml:"BackupCode,omitempty" json:"BackupCode,omitempty"`
	// +kubebuilder:default:=true
	SMSOTPEnableByUserClaim bool `toml:"SMSOTPEnableByUserClaim,omitempty" json:"SMSOTPEnableByUserClaim,omitempty"`
	// +kubebuilder:default:=false
	SMSOTPMandatory bool `toml:"SMSOTPMandatory,omitempty" json:"SMSOTPMandatory,omitempty"`
	// +kubebuilder:default:=true
	CaptureAndUpdateMobileNumber bool `toml:"CaptureAndUpdateMobileNumber,omitempty" json:"CaptureAndUpdateMobileNumber,omitempty"`
	// +kubebuilder:default:=false
	SendOTPDirectlyToMobile bool `toml:"SendOTPDirectlyToMobile,omitempty" json:"SendOTPDirectlyToMobile,omitempty"`
	// +kubebuilder:default:=false
	RedirectToMultiOptionPageOnFailure bool `toml:"redirectToMultiOptionPageOnFailure,omitempty" json:"redirectToMultiOptionPageOnFailure,omitempty"`
}

SMS OTP parameters

func (*SmsOtpParameters) DeepCopy

func (in *SmsOtpParameters) DeepCopy() *SmsOtpParameters

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

func (*SmsOtpParameters) DeepCopyInto

func (in *SmsOtpParameters) DeepCopyInto(out *SmsOtpParameters)

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

type StepAuthentication

type StepAuthentication struct {
	Authenticator Authenticator `toml:"authenticator,omitempty" json:"authenticator,omitempty"`
}

Second step authentication configurations

func (*StepAuthentication) DeepCopy

func (in *StepAuthentication) DeepCopy() *StepAuthentication

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

func (*StepAuthentication) DeepCopyInto

func (in *StepAuthentication) DeepCopyInto(out *StepAuthentication)

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

type SuperAdmin

type SuperAdmin struct {
	// +kubebuilder:default:="admin"
	Username string `json:"username,omitempty" toml:"username"`
	// +kubebuilder:default:="admin"
	Password string `json:"password,omitempty" toml:"password"`
	// +kubebuilder:default:=true
	CreateAdminAccount bool `json:"createAdminAccount,omitempty" toml:"create_admin_account"`
}

Create admin accounts

func (*SuperAdmin) DeepCopy

func (in *SuperAdmin) DeepCopy() *SuperAdmin

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

func (*SuperAdmin) DeepCopyInto

func (in *SuperAdmin) DeepCopyInto(out *SuperAdmin)

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

type TenantMgt

type TenantMgt struct {
	// +kubebuilder:default:=false
	EnableEmailDomain bool `toml:"enable_email_domain,omitempty" json:"enable_email_domain,omitempty"`
}

func (*TenantMgt) DeepCopy

func (in *TenantMgt) DeepCopy() *TenantMgt

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

func (*TenantMgt) DeepCopyInto

func (in *TenantMgt) DeepCopyInto(out *TenantMgt)

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

type Totp

type Totp struct {
	// +kubebuilder:default:={"Issuer":"WSO2","TOTPAuthenticationEndpointEnableTOTPPage":"/totpauthenticationendpoint/enableTOTP.jsp","TOTPAuthenticationEndpointErrorPage":"/totpauthenticationendpoint/totpError.jsp","TOTPAuthenticationEndpointURL":"/totpauthenticationendpoint/totp.jsp","UseCommonIssuer":true,"authenticationMandatory":true,"encodingMethod":"Base32","enrolUserInAuthenticationFlow":true,"secondaryUserstore":"primary","timeStepSize":"30","usecase":"local","windowSize":"3"}
	Parameters TotpParameters `toml:"parameters,omitempty" json:"parameters,omitempty"`
	// +kubebuilder:default:=false
	Enable bool `toml:"enable,omitempty" json:"enable,omitempty"`
}

TOTP configurations

func (*Totp) DeepCopy

func (in *Totp) DeepCopy() *Totp

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

func (*Totp) DeepCopyInto

func (in *Totp) DeepCopyInto(out *Totp)

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

type TotpParameters

type TotpParameters struct {
	// +kubebuilder:default:="Base32"
	EncodingMethod string `toml:"encodingMethod,omitempty" json:"encodingMethod,omitempty"`
	// +kubebuilder:default:="30"
	TimeStepSize string `toml:"timeStepSize,omitempty" json:"timeStepSize,omitempty"`
	// +kubebuilder:default:="3"
	WindowSize string `toml:"windowSize,omitempty" json:"windowSize,omitempty"`
	// +kubebuilder:default:=true
	AuthenticationMandatory bool `toml:"authenticationMandatory,omitempty" json:"authenticationMandatory,omitempty"`
	// +kubebuilder:default:=true
	EnrolUserInAuthenticationFlow bool `toml:"enrolUserInAuthenticationFlow,omitempty" json:"enrolUserInAuthenticationFlow,omitempty"`
	// +kubebuilder:default:="local"
	Usecase string `toml:"usecase,omitempty" json:"usecase,omitempty"`
	// +kubebuilder:default:="primary"
	SecondaryUserstore string `toml:"secondaryUserstore,omitempty" json:"secondaryUserstore,omitempty"`
	// +kubebuilder:default:="/totpauthenticationendpoint/totp.jsp"
	TOTPAuthenticationEndpointURL string `toml:"TOTPAuthenticationEndpointURL,omitempty" json:"TOTPAuthenticationEndpointURL,omitempty"`
	// +kubebuilder:default:="/totpauthenticationendpoint/totpError.jsp"
	TOTPAuthenticationEndpointErrorPage string `toml:"TOTPAuthenticationEndpointErrorPage,omitempty" json:"TOTPAuthenticationEndpointErrorPage,omitempty"`
	// +kubebuilder:default:="/totpauthenticationendpoint/enableTOTP.jsp"
	TOTPAuthenticationEndpointEnableTOTPPage string `toml:"TOTPAuthenticationEndpointEnableTOTPPage,omitempty" json:"TOTPAuthenticationEndpointEnableTOTPPage,omitempty"`
	// +kubebuilder:default:="WSO2"
	Issuer string `toml:"Issuer,omitempty" json:"Issuer,omitempty"`
	// +kubebuilder:default:=true
	UseCommonIssuer bool `toml:"UseCommonIssuer,omitempty" json:"UseCommonIssuer,omitempty"`
}

TOTP parameters

func (*TotpParameters) DeepCopy

func (in *TotpParameters) DeepCopy() *TotpParameters

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

func (*TotpParameters) DeepCopyInto

func (in *TotpParameters) DeepCopyInto(out *TotpParameters)

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

type Transport

type Transport struct {
	HTTPS HTTPS `json:"https" toml:"https"`
}

Transport protocols

func (*Transport) DeepCopy

func (in *Transport) DeepCopy() *Transport

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

func (*Transport) DeepCopyInto

func (in *Transport) DeepCopyInto(out *Transport)

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

type User

type User struct {
	Type     string `json:"type,omitempty" toml:"type,omitempty"`
	URL      string `json:"url,omitempty" toml:"url,omitempty"`
	Hostname string `json:"hostname,omitempty" toml:"hostname,omitempty"`
	Username string `json:"username" toml:"username"`
	Password string `json:"password" toml:"password"`
	Driver   string `json:"driver,omitempty" toml:"driver,omitempty"`
	// +kubebuilder:default:={ "validationQuery" : "SELECT 1" }
	PoolOptions PoolOptions `json:"pool_options,omitempty" toml:"pool_options,omitempty"`
}

User database

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

type UserStore

type UserStore struct {
	Type               string `json:"type" toml:"type"`
	ConnectionURL      string `json:"connection_url,omitempty" toml:"connection_url,omitempty"`
	ConnectionName     string `json:"connection_name,omitempty" toml:"connection_name,omitempty"`
	ConnectionPassword string `json:"connection_password,omitempty" toml:"connection_password,omitempty"`
	BaseDN             string `json:"base_dn,omitempty" toml:"base_dn,omitempty"`
	UsernameAttrib     string `json:"user_name_attribute,omitempty" toml:"user_name_attribute,omitempty"`
}

UserStore configs

func (*UserStore) DeepCopy

func (in *UserStore) DeepCopy() *UserStore

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

func (*UserStore) DeepCopyInto

func (in *UserStore) DeepCopyInto(out *UserStore)

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

type Userstore

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

	Spec   UserstoreSpec   `json:"spec,omitempty"`
	Status UserstoreStatus `json:"status,omitempty"`

	Auth Auth `json:"auth"`
}

Userstore is the Schema for the userstores API

func (*Userstore) DeepCopy

func (in *Userstore) DeepCopy() *Userstore

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

func (*Userstore) DeepCopyInto

func (in *Userstore) DeepCopyInto(out *Userstore)

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

func (*Userstore) DeepCopyObject

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

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

type UserstoreList

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

UserstoreList contains a list of Userstore

func (*UserstoreList) DeepCopy

func (in *UserstoreList) DeepCopy() *UserstoreList

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

func (*UserstoreList) DeepCopyInto

func (in *UserstoreList) DeepCopyInto(out *UserstoreList)

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

func (*UserstoreList) DeepCopyObject

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

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

type UserstoreProperties

type UserstoreProperties struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

func (*UserstoreProperties) DeepCopy

func (in *UserstoreProperties) DeepCopy() *UserstoreProperties

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

func (*UserstoreProperties) DeepCopyInto

func (in *UserstoreProperties) DeepCopyInto(out *UserstoreProperties)

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

type UserstoreSpec

type UserstoreSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	TypeId      string                `json:"typeId"`
	Description string                `json:"description"`
	Name        string                `json:"name"`
	Properties  []UserstoreProperties `json:"properties"`
	// +kubebuilder:default:=false
	InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty"`
}

EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized. UserstoreSpec defines the desired state of Userstore

func (*UserstoreSpec) DeepCopy

func (in *UserstoreSpec) DeepCopy() *UserstoreSpec

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

func (*UserstoreSpec) DeepCopyInto

func (in *UserstoreSpec) DeepCopyInto(out *UserstoreSpec)

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

type UserstoreStatus

type UserstoreStatus struct {
}

UserstoreStatus defines the observed state of Userstore

func (*UserstoreStatus) DeepCopy

func (in *UserstoreStatus) DeepCopy() *UserstoreStatus

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

func (*UserstoreStatus) DeepCopyInto

func (in *UserstoreStatus) DeepCopyInto(out *UserstoreStatus)

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

type Wsdl

type Wsdl struct {
	// +kubebuilder:default:=false
	Enable bool `toml:"enable,omitempty" json:"enable,omitempty"`
}

func (*Wsdl) DeepCopy

func (in *Wsdl) DeepCopy() *Wsdl

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

func (*Wsdl) DeepCopyInto

func (in *Wsdl) DeepCopyInto(out *Wsdl)

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

type Wso2Is

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

	Spec   Wso2IsSpec   `json:"spec,omitempty"`
	Status Wso2IsStatus `json:"status,omitempty"`
}

Wso2Is is the Schema for the wso2is API

func (*Wso2Is) DeepCopy

func (in *Wso2Is) DeepCopy() *Wso2Is

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

func (*Wso2Is) DeepCopyInto

func (in *Wso2Is) DeepCopyInto(out *Wso2Is)

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

func (*Wso2Is) DeepCopyObject

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

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

type Wso2IsList

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

Wso2IsList contains a list of Wso2Is

func (*Wso2IsList) DeepCopy

func (in *Wso2IsList) DeepCopy() *Wso2IsList

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

func (*Wso2IsList) DeepCopyInto

func (in *Wso2IsList) DeepCopyInto(out *Wso2IsList)

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

func (*Wso2IsList) DeepCopyObject

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

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

type Wso2IsSpec

type Wso2IsSpec struct {
	Size int32 `json:"replicas"`
	// +kubebuilder:default:="5.11.0"
	Version        string          `json:"version,omitempty"`
	Configurations Configurations  `json:"configurations"`
	TomlConfig     string          `json:"tomlConfig,omitempty"`
	KeystoreMounts []KeystoreMount `json:"keystoreMounts,omitempty"`
}

Wso2IsSpec defines the desired state of Wso2Is

func (*Wso2IsSpec) DeepCopy

func (in *Wso2IsSpec) DeepCopy() *Wso2IsSpec

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

func (*Wso2IsSpec) DeepCopyInto

func (in *Wso2IsSpec) DeepCopyInto(out *Wso2IsSpec)

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

type Wso2IsStatus

type Wso2IsStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Nodes           []string `json:"nodes" toml:"nodes"`
	ServiceName     string   `json:"serviceName"`
	IngressHostname string   `json:"ingressHostname"`
	Replicas        string   `json:"replicas"`
}

Wso2IsStatus defines the observed state of Wso2Is

func (*Wso2IsStatus) DeepCopy

func (in *Wso2IsStatus) DeepCopy() *Wso2IsStatus

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

func (*Wso2IsStatus) DeepCopyInto

func (in *Wso2IsStatus) DeepCopyInto(out *Wso2IsStatus)

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