Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ReasonConflict is the reason used in conditions and events that indicate that a conflict was found while updating a CSQLP instance. ReasonConflict = "Conflict" // ReasonInstanceCreated is the reason used in conditions and events that indicate that a CSQLP instance has been created. ReasonInstanceCreated = "InstanceCreated" // ReasonInstanceNotReady is the reason used in conditions and events that indicate that a CSQLP instance is not ready. ReasonInstanceNotReady = "InstanceNotReady" // v is the reason used in conditions and events that indicate that a CSQLP instance is ready. ReasonInstanceReady = "InstanceReady" // ReasonInstanceUpdated is the reason used in conditions and events that indicate that a CSQLP instance has been updated. ReasonInstanceUpdated = "InstanceUpdated" // ReasonInstanceUpToDate is the reason used in conditions and events that indicate that a CSQLP instance is up-to-date. ReasonInstanceUpToDate = "InstanceUpToDate" // ReasonInvalidSpec is the reason used in conditions and events that indicate that an invalid specification was provided for a CSQLP instance. ReasonInvalidSpec = "InvalidSpec" ReasonNameUnavailable = "NameUnavailable" // ReasonOperationInProgress is the reason used in conditions and events that indicate that an operation is still in progress for a CSQLP instance. ReasonOperationInProgress = "OperationInProgress" // ReasonUnexpectedError is the reason used in conditions and events that indicate that an unexpected error occurred while managing a CSQLP instance. ReasonUnexpectedError = "UnexpectedError" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { // Run instructs the workers to start processing items from the work queue. Run(ctx context.Context) error }
Controller represents a controller that handles Kubernetes resources.
type PostgresqlInstanceController ¶
type PostgresqlInstanceController struct {
// contains filtered or unexported fields
}
PostgresqlInstanceController is the controller for PostgresqlInstance resources.
func NewPostgresqlInstanceController ¶
func NewPostgresqlInstanceController(config configuration.Configuration, kubeClient kubernetes.Interface, selfClient v1alpha1client.Interface, er record.EventRecorder, postgresqlInstanceInformer v1alpha1informers.PostgresqlInstanceInformer, cloudsqlClient *cloudsqladmin.Service) *PostgresqlInstanceController
NewPostgresqlInstance Controller creates a new instance of the controller for PostgresqlInstance resources.
Click to show internal directories.
Click to hide internal directories.