Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.ibm.com
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.ibm.com
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type AuditServiceSpec
- type AuthServiceSpec
- type Authentication
- func (in *Authentication) DeepCopy() *Authentication
- func (in *Authentication) DeepCopyInto(out *Authentication)
- func (in *Authentication) DeepCopyObject() runtime.Object
- func (a *Authentication) SetRequiredDummyData()
- func (a *Authentication) SetService(ctx context.Context, service ServiceStatus, statusClient client.StatusClient, ...) (err error)
- type AuthenticationList
- type AuthenticationSpec
- type AuthenticationStatus
- type ClientRegistrationSpec
- type ConfigSpec
- type IdentityManagerSpec
- type IdentityProviderSpec
- type InitMongodbSpec
- type ManagedResourceStatus
- type ServiceStatus
Constants ¶
const AuditServiceIgnoreString string = "auditService no longer used - ignore"
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "operator.ibm.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} CertificateSchemeGroupVersion = schema.GroupVersion{Group: "certmanager.k8s.io", Version: "v1alpha1"} CertificateSchemeBuilder = &scheme.Builder{GroupVersion: CertificateSchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type AuditServiceSpec ¶
type AuthServiceSpec ¶
type AuthServiceSpec struct { ImageRegistry string `json:"imageRegistry"` ImageName string `json:"imageName"` ImageTag string `json:"imageTag"` RouterCertSecret string `json:"routerCertSecret"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` LdapsCACert string `json:"ldapsCACert"` }
func (*AuthServiceSpec) DeepCopy ¶
func (in *AuthServiceSpec) DeepCopy() *AuthServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthServiceSpec.
func (*AuthServiceSpec) DeepCopyInto ¶
func (in *AuthServiceSpec) DeepCopyInto(out *AuthServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Authentication ¶
type Authentication struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AuthenticationSpec `json:"spec,omitempty"` Status AuthenticationStatus `json:"status,omitempty"` }
Authentication is the Schema for the authentications API +kubebuilder:subresource:status +kubebuilder:resource:path=authentications,scope=Namespaced
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.
func (*Authentication) DeepCopyObject ¶
func (in *Authentication) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Authentication) SetRequiredDummyData ¶
func (a *Authentication) SetRequiredDummyData()
setRequiredDummyData writes dummy AuditServiceSpec data to an Authentication in order to maintain backwards- and forwards-compatibility with previous Authentication CRD releases. Running this function ensures that, if an earlier version of the Authentication CRD is installed on a cluster where this version's CRD was previously, the CRs created based upon this version's CRD will not break in a multi-tenancy scenario.
func (*Authentication) SetService ¶
func (a *Authentication) SetService(ctx context.Context, service ServiceStatus, statusClient client.StatusClient, mu sync.Locker) (err error)
type AuthenticationList ¶
type AuthenticationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Authentication `json:"items"` }
AuthenticationList contains a list of Authentication
func (*AuthenticationList) DeepCopy ¶
func (in *AuthenticationList) DeepCopy() *AuthenticationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationList.
func (*AuthenticationList) DeepCopyInto ¶
func (in *AuthenticationList) DeepCopyInto(out *AuthenticationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthenticationList) DeepCopyObject ¶
func (in *AuthenticationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthenticationSpec ¶
type AuthenticationSpec 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 OperatorVersion string `json:"operatorVersion"` Replicas int32 `json:"replicas"` Labels map[string]string `json:"labels,omitempty"` AuditService AuditServiceSpec `json:"auditService"` AuthService AuthServiceSpec `json:"authService"` IdentityProvider IdentityProviderSpec `json:"identityProvider"` IdentityManager IdentityManagerSpec `json:"identityManager"` InitMongodb InitMongodbSpec `json:"initMongodb"` ClientRegistration ClientRegistrationSpec `json:"clientRegistration"` Config ConfigSpec `json:"config"` }
AuthenticationSpec defines the desired state of Authentication
func (*AuthenticationSpec) DeepCopy ¶
func (in *AuthenticationSpec) DeepCopy() *AuthenticationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationSpec.
func (*AuthenticationSpec) DeepCopyInto ¶
func (in *AuthenticationSpec) DeepCopyInto(out *AuthenticationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthenticationStatus ¶
type AuthenticationStatus struct { Nodes []string `json:"nodes"` Service ServiceStatus `json:"service,omitempty"` }
AuthenticationStatus defines the observed state of Authentication
func (*AuthenticationStatus) DeepCopy ¶
func (in *AuthenticationStatus) DeepCopy() *AuthenticationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationStatus.
func (*AuthenticationStatus) DeepCopyInto ¶
func (in *AuthenticationStatus) DeepCopyInto(out *AuthenticationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientRegistrationSpec ¶
type ClientRegistrationSpec struct { ImageRegistry string `json:"imageRegistry"` ImageName string `json:"imageName"` ImageTag string `json:"imageTag"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` }
func (*ClientRegistrationSpec) DeepCopy ¶
func (in *ClientRegistrationSpec) DeepCopy() *ClientRegistrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientRegistrationSpec.
func (*ClientRegistrationSpec) DeepCopyInto ¶
func (in *ClientRegistrationSpec) DeepCopyInto(out *ClientRegistrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigSpec ¶
type ConfigSpec struct { ClusterCADomain string `json:"clusterCADomain"` DefaultAdminUser string `json:"defaultAdminUser"` DefaultAdminPassword string `json:"defaultAdminPassword"` ScimAdminUser string `json:"scimAdminUser"` ScimAdminPassword string `json:"scimAdminPassword"` ClusterName string `json:"clusterName"` ClusterInternalAddress string `json:"clusterInternalAddress"` ClusterExternalAddress string `json:"clusterExternalAddress"` WLPClientID string `json:"wlpClientID"` WLPClientSecret string `json:"wlpClientSecret"` AuthUniqueHosts string `json:"authUniqueHosts"` WLPClientRegistrationSecret string `json:"wlpClientRegistrationSecret"` InstallType string `json:"installType"` IsOpenshiftEnv bool `json:"isOpenshiftEnv"` OpenshiftPort int32 `json:"openshiftPort"` ICPPort int32 `json:"icpPort"` FIPSEnabled bool `json:"fipsEnabled"` ROKSEnabled bool `json:"roksEnabled"` IBMCloudSaas bool `json:"ibmCloudSaas,omitempty"` OnPremMultipleDeploy bool `json:"onPremMultipleDeploy,omitempty"` SaasClientRedirectUrl string `json:"saasClientRedirectUrl,omitempty"` NONCEEnabled bool `json:"nonceEnabled"` XFrameDomain string `json:"xframeDomain,omitempty"` PreferredLogin string `json:"preferredLogin,omitempty"` ROKSURL string `json:"roksURL"` ROKSUserPrefix string `json:"roksUserPrefix"` EnableImpersonation bool `json:"enableImpersonation"` BootstrapUserId string `json:"bootstrapUserId,omitempty"` ProviderIssuerURL string `json:"providerIssuerURL,omitempty"` ClaimsSupported string `json:"claimsSupported,omitempty"` ClaimsMap string `json:"claimsMap,omitempty"` ScopeClaim string `json:"scopeClaim,omitempty"` OIDCIssuerURL string `json:"oidcIssuerURL"` AttrMappingFromConfig bool `json:"attrMappingFromConfig,omitempty"` }
func (*ConfigSpec) DeepCopy ¶
func (in *ConfigSpec) DeepCopy() *ConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
func (*ConfigSpec) DeepCopyInto ¶
func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IdentityManagerSpec ¶
type IdentityManagerSpec struct { ImageRegistry string `json:"imageRegistry"` ImageName string `json:"imageName"` ImageTag string `json:"imageTag"` MasterNodesList string `json:"masterNodesList"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` }
func (*IdentityManagerSpec) DeepCopy ¶
func (in *IdentityManagerSpec) DeepCopy() *IdentityManagerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityManagerSpec.
func (*IdentityManagerSpec) DeepCopyInto ¶
func (in *IdentityManagerSpec) DeepCopyInto(out *IdentityManagerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IdentityProviderSpec ¶
type IdentityProviderSpec struct { ImageRegistry string `json:"imageRegistry"` ImageName string `json:"imageName"` ImageTag string `json:"imageTag"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` }
func (*IdentityProviderSpec) DeepCopy ¶
func (in *IdentityProviderSpec) DeepCopy() *IdentityProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderSpec.
func (*IdentityProviderSpec) DeepCopyInto ¶
func (in *IdentityProviderSpec) DeepCopyInto(out *IdentityProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitMongodbSpec ¶
type InitMongodbSpec struct { ImageRegistry string `json:"imageRegistry"` ImageName string `json:"imageName"` ImageTag string `json:"imageTag"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` }
func (*InitMongodbSpec) DeepCopy ¶
func (in *InitMongodbSpec) DeepCopy() *InitMongodbSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitMongodbSpec.
func (*InitMongodbSpec) DeepCopyInto ¶
func (in *InitMongodbSpec) DeepCopyInto(out *InitMongodbSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedResourceStatus ¶
type ServiceStatus ¶
type ServiceStatus struct { ObjectName string `json:"objectName,omitempty"` APIVersion string `json:"apiVersion,omitempty"` Namespace string `json:"namespace,omitempty"` Kind string `json:"kind,omitempty"` Status string `json:"status,omitempty"` ManagedResources []ManagedResourceStatus `json:"managedResources,omitempty"` }