Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountIAMReconciler ¶
type AccountIAMReconciler struct {
client.Client
Scheme *runtime.Scheme
Config *rest.Config
Recorder record.EventRecorder
}
AccountIAMReconciler reconciles a AccountIAM object
func (*AccountIAMReconciler) Reconcile ¶
func (r *AccountIAMReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the AccountIAM object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile
func (*AccountIAMReconciler) SetupWithManager ¶
func (r *AccountIAMReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BootstrapSecret ¶
type BootstrapSecret struct {
Realm string
ClientID string
ClientSecret string
PGPassword string
DefaultAUDValue string
DefaultRealmValue string
SREMCSPGroupsToken string
GlobalRealmValue string
GlobalAccountAud string
UserValidationAPIV2 string
}
BootstrapSecret stores all the bootstrap secret data
var BootstrapData BootstrapSecret
type IntegrationConfig ¶
type IntegrationConfig struct {
DiscoveryEndpoint string
DefaultIDPValue string
GlobalAccountIDP string
AccountName string
ServiceName string
ServiceIDName string
SubscriptionName string
IMURL string
AccountIAMURL string
AccountIAMConsoleURL string
AccountIAMNamespace string
EncryptionKeys string
CurrentEncryptionKeyNum string
}
IntegrationConfig stores all the integration data for MCSP secret and IM integration
var IntegrationData IntegrationConfig
type RedisCRParams ¶
RedisCRParams holds the parameters for the Redis CR
var RedisCRData RedisCRParams
type RouteParams ¶
type RouteParams struct {
CAcert string
}
RouteData holds the parameters for the Route CR
var RouteData RouteParams
type UIBootstrapTemplate ¶
type UIBootstrapTemplate struct {
Hostname string
InstanceManagementHostname string
NodeEnv string
CertDir string
ConfigEnv string
RedisHost string
AccountAPI string
ProductAPI string
MeteringAPI string
InstanceAPI string
IssuerBaseURL string
SubscriptionAPI string
APIOAUTHTokenURL string
RedisCA string
ClientID string
ClientSecret string
DisableRedis string
SessionSecret string
DeploymentCloud string
IAMGlobalAPIKey string
APIOAUTHClientID string
APIOAUTHClientSecret string
IAMAPI string
MyIBMURL string
AWSProvisioningURL string
IBMCloudProvisioningURL string
ProductRegistrationUsername string
ProductRegistrationPassword string
IMIDMgmt string
CSIDPURL string
DefaultAccount string
DefaultInstance string
}
var UIBootstrapData UIBootstrapTemplate